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.

A question about H264 codec in DVRRDK

I`m working with DM8168 and DVRRDK.

I want H.264 codec to skip 1st frame and start decoding at 2nd frame. The decoded YUV data of 1st frame is also available.

How to make the codec recognize the 1st frame YUV data as the reference frame?

This situation may look strange but it`s what I need now.

Regards,

Xiaotao

  • Do you mean application will pass the YUV frame as reference buffer for the first frame and RDK should not decode the first frame.Instead RDK should start decoding from the second frame. This is not supported. Since the internal state of the decoder is not updated (since we did not decode the first frame) decoding the second frame will result in errors. The decoder will have to support a "on demand decode" mode where the reference buffer is managed by the application and this is not currently implemented.Do you require this feature to implement reverse or step reverse decode mode ?