SightLine Applications Inc.
SightLine Applications Command, Control, and Script API  v3.7
List of all members
SLASetH264Parameters_t Struct Reference

Description

Modify H264, H265 and MPEG4 encoding behavior.

typedef struct {
u32 targetBitRate;
u8 intraFrameInterval;
u8 lfDisableIdc;
u8 airMbPeriod;
u8 sliceRefreshRowNumber;
u8 flags;
u16 displayId;
u8 minQp;
u8 maxQp;

SightLine's H264 (AVC), H265 (HEVC) and MPEG4 compression encodes the video stream into I-frames and P-frames. I-Frames are a compression of the entire video frame, while P-Frames only include the delta between the video frame that was compressed in the last I-frame and the current video frame.
H264 and H265 compression can also use Intra Refresh mode to put blocks of I data in every frame.

See also
SLASetEthernetDisplayParameters_t to set the receiver IP address.
SLASetKlvData_t to set KLV metadata.
SLASetEthernetVideoParameters_t to change Down Sample and Frame Step.
SLAStreamingControl_t for starting and stopping video.
EAN-Encoding.pdf for additional details on SightLine Ethernet encoding.

Message ID 0x23

Byte Offset Name Description
4-7targetBitRateTarget bit rate, bits per second (default 3000000). Actual bit rate will vary (see flags below).
NOTE: Maximum bitrates are:
17XX/4000 - 30 Mbps
8intraFrameInterval1-90 = Intra Frame (I-frame) interval (default 30). The rate at which I-frames are produced.
0 = Intra Refresh mode where there are blocks of I data in every frame resulting in a smoother overall bitrate.
NOTE: Not all decoders can connect to an intra refresh stream. Intra refresh is only support with H264 on the 17XX/4000, and H265 on the 17XX/4000.
9lfDisableIdcH264 in-loop filter control
Bits Description
0-3 0 = filter all edges (default), 1 = disable all filtering, 2 = disable slice edge filter, other values = Reserved
4-7 Reserved set to 0
10airMbPeriodOnly used if intraFrameInterval is 0 (Intra Refresh mode)
17XX/4000 - Cyclic Intra Refresh (CIR) mega-block period, if 0 a default value of 20 will be used
11sliceRefreshRowNumberOnly used if intraFrameInterval is 0 (Intra Refresh mode)
17XX/4000 - Not available
12flags
Bits Description
0-1 Profile (H.264)
0Baseline profile
1Main profile
2High profile (default)
2-3 Reserved set to 0
4-5 Bit Rate Mode (H.264/H.265 only, set to 0 otherwise)
0Legacy Approximates Variable Bit Rate (VBR) with loose constraints but a fairly short time constant.
1Variable Bit Rate (VBR) (default). Bit rate dynamically changes based on the video content and motion in order to acheive high quality video.
2Constrained Bit Rate Mode. Encoder parameters are tuned to achieve approximate target bit rate. (Not available on 17XX/4000, try Intra Refresh mode)
6-7 Reserved set to 0
13-14displayIdNetwork Display ID
4000/17XX: (0x0002 = Net0, 0x0080 = Net1, 0x0082 = both)
15minQpMinumum Quantization Parameter for I and P frames on H264. Should be between 1 and 30.
0 = default, minimum will be set based on platform and other encoding parameters.(H.264 only)
New 3.7: Now supported for 1750 and 4100.
16maxQpMaximum Quantization Parameter for I and P frames on H264. The maximum allowed value is 51 and it must be larger than minimum QP.
0 = default, maximum will be set based on platform and other encoding parameters.(H.264 only)
New 3.7: Now supported for 1750 and 4100.