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 Decoder Failure on C6678

Hi All,

We are using H264 "Big Endian" Decoder on C6678 and trying to play the attached H264 elementary stream.

Decoding fails for some of frames with return code as shown below set on structure variable decodedBufs.extendedError

[C66xx_0] Failure ... = 0x6d1
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x22d5
[C66xx_0] Failure ... = 0x6d1
[C66xx_0] Failure ... = 0x22eb

Attached H264 Elementary Stream is played successfully using reference decoder. So that proves the sample stream is proper.

Is there anyone, facing similar issue using H264 Decoder on C6678?

Please help us in knowing what are these errors mean and why decoder fails for some of the frames.Sample.zip

  • Hi Keshav,

    The TI H264 Decoder on C6678 supports little-endian implementation only. It does not support the big-endian implementation.

    You can contact the TI third party, www.couthit.com, for a big-endian port.

    Thanks,
    Praveen
  • Hi Keshav,

    Welcome to the TI E2E keystone forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.
     
    Moved this thread over keystone forum. Thank you.
  • Hi Praveen,

    On behalf of Keshav:


    We are using TI H264 Decoder Test Application [ C:\ti\Codecs\C66x_h264hpvdec_01_01_01_04_ELF ] on C6678 and trying to play the attached H264 elementary stream.

    Decoding fails for some of frames with return code as shown below set on structure variable outArgs->viddecOutArgs.decodedBufs.extendedError

    [C66xx_0] Decoded Frame # 146
    [C66xx_0] Process function returned an Error... 0x22eb
    [C66xx_0] Decoded Frame # 147
    [C66xx_0] Process function returned an Error... 0x22d5
    [C66xx_0] Decoded Frame # 148
    [C66xx_0] Process function returned an Error... 0x22d5
    [C66xx_0] Decoded Frame # 149
    [C66xx_0] Process function returned an Error... 0x22d5
    [C66xx_0] Decoded Frame # 150
    [C66xx_0] Process function returned an Error... 0x22d51663.Sample.zip

    H264 Elementary Stream is attached in this post.

    Please help us in knowing what are these errors mean and why decoder fails for some of the frames

    Thank you.

  • Hi Keshav,

    The explanation about thees error codes is given in section 4.1 in the H264_Decoder_C6678_UserGuide, which is available in docs folder as part of the package.

    For example: Error Code : 0x22eb - H264D_ERR_SEM_MBLAYER_QPDELTA
    Description : The decoded value of mb_qp_delta should be in the range of -26 to +25. But, mb_qp_delta = -29, is parsed from the input bit-stream.

    Thanks,

    Praveen