H264 Video Encoder Settings


Main Settings



The Main Settings tab allows you to configure the video encoder.


Generic area

You can select the settings of the AVC preset. Each Preset is a predefined group of encoding settings, designed to facilitate the user. You can also specify the Profile, Level, and Performance in the corresponding fields. Further down in the Generic area, you can define some additional settings of the video input, like Frame type and Slice count.


Rate Control area

The Rate Control area allows you to modify the input video encoding Mode and the type of encoding from the Pass field. You have three options here:


Single pass – encoding without gathering statistics

Multi-Pass Analyze – encoding and gathering statistics for next pass

Multi-Pass Encode – encoding using the gathered statistics and updating it


Depending on the Mode, you can set different values. For Constant and Variable bit rate mode you can set the minimum Bit-rate speed in kbits/sec, and for Constant quantizer and Target quality mode you can enter different values for the Frame QPs in the respective field. If you check the Use HRD box, the program will optimize the buffering mechanism with a hypothetical reference decoder, so that the video bit stream will not suffer from buffer overflow or underflow.


Once the Use HRD box is checked, you will be able to set the CPB size (the size of coded picture buffer in kbits). If your Rate control Mode is Variable bit rate or Target quality, you can also enter a value for the HSS rate (the hypothetical stream scheduler rate (bits/sec) of the encoded video elementary stream).



NOTE: In Use HRD mode it is advisable that the Rate control Mode is set to Constant bit rate and the CPB size is equal to three times the Bit rate.


GOP Structure area

In the Gop structure area you can set the Maximum GOP length and the Maximum B-frames count. Depending on your needs, enter the following values:


For I-frame set the Max GOP length to [1] and the Max B-frames count to [0]

For PAL set the Max GOP length to [12] and the Max B-frames count to [2]

For NTSC set the Max GOP length to [15] and the Max B-frames count to [3]


Depending on your preferences, you can also check Scene change detection and Adaptive B-frames, if you have entered a value in the Max B frames count spin-box.


The Aspect ratio field allows you to set a Picture AR or a Sample AR mode and select a ratio from the corresponding drop-down menu.

Picture AR fixes the aspect ratio of the whole picture;

Sample AR fixes the aspect ratio of pixels in the output picture.


Check the Extended SAR checkbox to enable extended sample aspect ratio for H.264 encoding.


The bottom fields, Input info and Statistics, show the configurations of the input, as well as statistics about the encoding speed, bitrate, and the number of encoded frames. If you place a check on the Overall PSNR box, you will be able to see also the peak signal-to-noise ratio of your video input.


If you click the Restore default button, your settings will be changed back to the default ones.



Advanced settings


The Advanced Settings tab allows you to change some additional settings. If you want to change a certain setting from the Parameter column, simply double-click on the corresponding Value input, and enter the desired value.



IMPORTANT: Please, do NOT change these settings before consulting with X-Pert support team. You may contact X-Pert Support team for further assistance on chat button https://x-pert.tv/support/, via e-mail at support@x-pert.tv or phone +359 8 77 66 33 51.