大家好,最近在使用dvsdk_4_00_00_17中的codecs-omap3530_1_01_00的h264算法时,发现其压缩比仅有80:1左右,之后我根据H264_Encoder_OMAP3530_UserGuide.pdf中的介绍,提高QP的值,发现压缩比无明显变化,请高手指点,谢谢!
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.
大家好,最近在使用dvsdk_4_00_00_17中的codecs-omap3530_1_01_00的h264算法时,发现其压缩比仅有80:1左右,之后我根据H264_Encoder_OMAP3530_UserGuide.pdf中的介绍,提高QP的值,发现压缩比无明显变化,请高手指点,谢谢!
你好,谢谢你的回复。
视频分辨率为352*288,帧率和码率的设置如下:
params.maxBitRate = 600000;
params.maxFrameRate = 20000;
params.inputChromaFormat = XDM_YUV_422ILE;
params.maxWidth = envp->imageWidth; //352
params.maxHeight = envp->imageHeight;//288
params.encodingPreset = XDM_HIGH_QUALITY;
params.rateControlPreset = IVIDEO_LOW_DELAY;
dynParams.targetBitRate = params.maxBitRate;
dynParams.refFrameRate = params.maxFrameRate;
dynParams.targetFrameRate = params.maxFrameRate;
dynParams.inputWidth = params.maxWidth;
dynParams.inputHeight = params.maxHeight;
dynParams.intraFrameInterval= 100;
hVe1 = Venc1_create(hEngine, H264ENC_NAME, ¶ms, &dynParams);
如上设置过后,每帧大小大概3~4KB左右。
1. CIF的我没具体测试过,1080P30的室内镜头场景在CBR=4Mbps,镜头剧烈晃动应该是无马赛克的,VBR静止场景码率在1Mbps以内