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.

IVAHD h264enc: Can it support AVCC format

Hi,

My customer wants to support AVCC format in h264enc as below.

avcc format:

| ([length of sps] NALU) | ([length of pps] NALU) | ([length of frame] NALU) |

I think IVAHD h264enc  can support annexb format as below.

([start code] NALU) | ( [start code] NALU) |

I found in h264enc user guide, that we can set IH264ENC_SliceCodingParams.streamFormat= IH264_NALU_STREAM  to let Bit-stream not contain the start code identifier. But how to add the length of sps/pps/frame?

Would you pls kindly advise if IVAHD h264enc supports AVCC format? If yes, how?

  • Hi Chris,

    IVAHD H264 Enc does not support AVCC Format as per mentioned definition by you. In case of streamFormat= IH264_NALU_STREAM, bit-stream will not have start code identifier as you mentioned.

    I per I know the use case of this streamFormat= IH264_NALU_STREAM is used in packet Transport protocol. So each NAL packet send separately & receiver will come to know based on the size of the packet. This way no need to have separate length.

    Regards
    Gajanan
  • Hi Chris,

    IVAHD H264 Encoder directly does not support this but application can use the NALSIZE provided by Encoder and Transmit the packet with size of the packet.

    Regards
    Gajanan