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 insert SEI message info into H264 stream?

HW:Dm8168

SW:EZSDK 5.05.1.4

We use omx component to encode H264 stream.How to insert SEI message info into teh  H264 stream?

  • Hello,

    You could check the h264enc user guide. You could find it here:

    ezsdk/component-sources/omx_05_02_00_48/src/ti/omx/docs

    Control for Configurable NALU

    SEI (bit 6): This bit control the insertion of following SEI messages in video sequence. For details of these SEI messages refer Appendix D of H.264 standard
    -timing_info_sei
    - buffering_period_sei: This SEI is put only at IDR frames even if it is enabled for other positions in video sequence
    -stereo_video_info_sei :This SEI is put only when stereoInfoPreset is enabled
    If you want to encode with rateControlPreset == IVIDEO_NONE then nal_hrd_parameters_present_flag and vcl_hrd_parameters_present_flag will be false. Hence, buffering period SEI message will not be present.

    The tStaticParam.videoStaticParams.h264EncStaticParams.nalUnitControlParams.naluControlPreset  should be set as IH264_NALU_CONTROL_USERDEFINED.

    Best Regards,

    Margarita