This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

H264 Encoder 0 Bytes Encoded, No Error

Hello,

I am working with the DM368 EVM using the H264 encoder with the DMAI layer. Most of the time it works very well however we have been noticing that sometimes, at higher resolutions - namely 1080P30 and 720P60 the encoder - by way of the VIDENC1_PROCESS function - will return without error but indicating that it has not encoded any bytes.

We have set a bitrate constraint on the codec and I have thus far assumed that the codec behaves this way in order to maintain the average bitrate set to it, as the frame it has just encoded was too high size-wise for the frame-rate etc..

We are running at CBR and using the H264 extended parameters to set the extra parameters.

If someone could shed some light on the actual nature of this behaviour I'd appreciate it,

Regards,

Will.

  • Hi will,

    DM36x H.264 encoder can skip frames in CBR mode if the bitrate crosses a threshold. This will depend on the target bitrate set, complexity of video and maximum delay allowed.

    More information on dm36x rate control modes is available in the link below

    http://processors.wiki.ti.com/index.php/DM36x_Rate_Control_Modes