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.

How to support NALU without start code identifier in H.264 Encode

Dear Experts,

We are using DVR_RDK 3.5.  Codec is REL. 500.V.H264AVC.E.IVAHD.02.00.04.01.
(We can also support REL. 500.V.H264AVC.E.IVAHD.02.00.08.00.)

Currently, our codec outputDataMode is – IVIDEO_ENTIREFRAME.
encoded bitstream is IH264_BYTE_STREAM that should contain NALU information with start code.

But we want to support NALU output without start code identifier.
This should be NALU specification.

In H264_Encoder_HDVICP2_UserGuide.pdf page 4-87, 4-94, 4-20,
only  IVIDEO_SLICEMODE/IH264_NALU_STREAM can support NALU without start code.

But our system can only support frame based, it is difficult to support IVIDEO_SLICEMODE for us.

My question is:

1) Can we support IH264_BYTE_STREAM that contain NALU information but without start code?

2) Can IVIDEO_SLICEMODE support frame based encode?
How to achieve that?
Will it be similar to IH264_BYTE_STREAM/IVIDEO_ENTIREFRAME to get the encoded data?

HB