Hi all,
I send this message because i have a problem with my dm365.
I work with a LepardBoard dm365 and the LI-VI365 card for capturing composite signal (PAL D1 at 720x576). I have built my system base with buildroot and I use the ti sdk ti-dvsdk_dm365-evm_4_02_00_06.
I have developed an application that capture data, compresse in h264 format and send data in IP/UDP,MPEG2 TS.
I have used the dvsdk-demos_4_02_00_01 application for make my application (dmai).
The aim of my application is to generate a stream at low bitrate (500kbit/s) and with low latency ( < 9 images) in CBR.
All work well but I have problem with the quality of the images generated.
I have a pump effect on the images.
I try to modifiy the h264 parameters but I not found good configuration.
It seems that the problem is due at the P frame insertion because when I insert only IDR frame I don't have the effect but the quality of the video is bad.
This is my configuration for the static ans the dynamic parameters.
params->encodingPreset = XDM_USER_DEFINED;
params->rateControlPreset = IVIDEO_USER_DEFINED ;
params->maxInterFrameInterval = 0;
dynParams->interFrameInterval = 0;
h264Param->profileIdc = 77;
h264Param->levelIdc = 30;
h264Param->Log2MaxFrameNumMinus4 = 0;
h264Param->ConstraintSetFlag = 0;
h264Param->seqScalingFlag = 2;
h264Param->entropyMode = 0;
h264Param->transform8x8FlagIntraFrame = 0;
h264Param->transform8x8FlagInterFrame = 0;
h264Param->enableVUIparams = 0;
h264Param->meAlgo = 1;
h264Param->seqScalingFlag = 0;
h264Param->encQuality = 0;
h264Param->enableARM926Tcm = 0;
h264Param->enableDDRbuff = 0;
h264Param->sliceMode = 0;
h264Param->svcSyntaxEnable = 1;
h264Param->EnableLongTermFrame = 0;
h264Param->outputDataMode = 1;
h264Param->sliceFormat = 1;
h264Param->numTemporalLayers = 0;
h264dynParam->idrFrameInterval = 60;
h264dynParam->maxBitrateCVBR = 50000 ;
h264dynParam->rcAlgo = 5 ;
h264dynParam->CVBRsensitivity = 8;
h264dynParam->maxHighCmpxIntCVBR = 0;
h264dynParam->LBRmaxpicsize = 20;
h264dynParam->LBRminpicsize = 10;
h264dynParam->sliceSize = 0 ;
h264dynParam->airRate = 0 ;
h264dynParam->interPFrameQP =28 ; // si rcAlgo = 2 fixeQP
h264dynParam->intraFrameQP =28 ; // si rcAlgo = 2 fixeQP
h264dynParam->initQ = 51 ;
h264dynParam->rcQMax = 51;
h264dynParam->rcQMin = 28;
h264dynParam->rcQMaxI = 51;
h264dynParam->rcQMinI = 28;
h264dynParam->enableROI = 0;
h264dynParam->enableROI = 0;
h264dynParam->aspectRatioX =1 ;
h264dynParam->aspectRatioY =1 ;
h264dynParam->mvSADoutFlag =0;
h264dynParam->metaDataGenerateConsume =0 ;
h264dynParam->maxDelay = 40 ;
h264dynParam->lfDisableIdc =0 ;
h264dynParam->enableBufSEI =0 ;
h264dynParam->enablePicTimSEI =0 ;
h264dynParam->perceptualRC = 1;
h264dynParam->resetHDVICPeveryFrame =0;
h264dynParam->enableGDR=0;
h264dynParam->interlaceRefMode = 0;
h264dynParam->disableMVDCostFactor = 1;
I have also try a prebuild image that I have download from RidgeRun site (Leo365Eval2011Q2_SD.img), but I have same bad effects when I use gstreamer .
Does anyone has had this problem ?
How to remove or reduce this effect ?
Thank you for your help.