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.

dm8168 rdk4.0设置h264编码多slice编码器报错。



h264_params->sliceCodingParams.sliceCodingPreset = IH264_SLICECODING_USERDEFINED;

h264_params->sliceCodingParams.sliceMode = IH264_SLICEMODE_BYTES;

h264_params->sliceCodingParams.sliceUnitSize = 1300;

h264_params->sliceCodingParams.streamFormat = IH264_BYTE_STREAM;

在dm8168板块上做开发,设置h264编码多slice方式编码。base_profile正常,但是high_profile和main_profile编码器都报错挂掉。

参数如上有人知道怎么回事吗?

  • 你好;
        你这里配置的是按字节划分多slice的模式,这里是不支持B帧的;
        你可以查h264编码手册:    
        ti_tools/codecs/REL.500.V.H264AVC.E.IVAHD.02.00.04.01/500.V.H264AVC.E.IVAHD.02.00/IVAHD_001/Docs/H264_Encoder_HDVICP2_UserGuide.pdf