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.

Decoding with close captioning

I'm having trouble with the decoder when I pass frames to it with closed captioning (CC). The CC is part of the video frame in a SEI message.  

The VIDDEC3_process() call returns 0x401, which is IH264VDEC_ERR_NOSLICE and XDM_INSUFFICIENTDATA. The decoded video is recognizable, but full of artifacts. VLC plays the stream OK.

I'm using ivahd_h264dec_01_00_00_04_production version of the h264 decoder as part of ti-ezsdk_dm816x-evm_5_03_01_15.

Does the decoder support this? I don't expect it to display the CC, but it should decode the video without errors.

  • GD,

    this could be issue with the parser used in ezsdk. Can you try parsing it with external tool and giving frames to decoder ?

    Regards

    Vimal

  • Thanks for the response.

    I'm not exactly sure what you're asking me to try.  I have stripped the CC SEI data from the frame and passed those stripped frames to the decoder.  This works without any problems.

    VLC can play the stream and display the CC data OK.

    Is there a particular external parsing tool you know of?