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.

DVRRDK 4.0 支持还是不支持sliceMode,编码后的每个NAL能控制在MTC大小吗?



EncLink_ChSliceCodingParams *sliceCodingParams = &encPrm.chCreateParams[i].defaultDynamicParams.sliceCodingParams;
sliceCodingParams->sliceCodingPreset = IH264_SLICECODING_USERDEFINED;
sliceCodingParams->streamFormat = IH264_BYTE_STREAM;
sliceCodingParams->sliceMode = IH264_SLICEMODE_MBUNIT;
sliceCodingParams->sliceUnitSize = 450;

我在/opt/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/mcfw/src_bios6/links_m3video/iva_enc/encLink_h264.c已经设置了,但还是不管用,每个NAL出来还是非常大。

希望高手能指点一下,这样做行还是不行。万分感谢!

  • EncLink_ChSliceCodingParams *sliceCodingParams = &encPrm.chCreateParams[i].defaultDynamicParams.sliceCodingParams;
    sliceCodingParams->sliceCodingPreset = IH264_SLICECODING_USERDEFINED;
    sliceCodingParams->streamFormat = IH264_BYTE_STREAM;
    sliceCodingParams->sliceMode = IH264_SLICEMODE_MBUNIT;
    sliceCodingParams->sliceUnitSize = 450;

    我在/opt/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/mcfw/src_bios6/links_m3video/iva_enc/encLink_h264.c已经设置了,但还是不管用,每个NAL出来还是非常大。

    希望高手能指点一下,这样做行还是不行。万分感谢!