Hi Zcliang,
I will come back on this probably on Monday.
Regards,
Mahantesh
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.
Hi:
I test H264dec with dvsdk_3_10_00_19 and dm6467t.
I run the encodedecode demo and found that the displaying is delay than captureing.
The message the first second output is :
Encode Decode demo ARM Load: 0% DSP Load: 100% Display Type: D1 PAL Video Codec: H.264 BP Video fps: 9 fps Video bit rate: 179 kbps Video resolution: 720x576 Time: 08:00:01
That lost 16frame(the video souce is PAL 25fps).
I saw the datesheet and found that the default displayDelay value is 16,so I want to change it,but found not afect.
Here is my change code:
IH264VDEC_Params extdecParams;
extdecParams.viddecParams = *decParams;
//extdecParams.viddecParams.size = sizeof(IH264VDEC_Params);
extdecParams.displayDelay = 0;//16;
extdecParams.presetLevelIdc = Level4;
extdecParams.presetProfileIdc = Profile_Any;
extdecParams.temporalDirModePred = 1;
hVd2 = Vdec2_create(hEngine, envp->videoDecoder,
(VIDDEC2_Params*)&extdecParams, decDynParams);
What is wrong ?
zcliang
Hi Zcliang,
I will come back on this probably on Monday.
Regards,
Mahantesh
Hi,
I see that using the extern Params must reset extdecParams.viddecParams.size.
I have set that as
extdecParams.viddecParams.size = sizeof(IH264VDEC_Params);//val is 44
and
extdecParams.displayDelay = 0;
But the first second always display only 8fps:
Encode Decode demo ARM Load: 0% DSP Load: 100% Display Type: D1 PAL Video Codec: H.264 BP Video fps: 8 fps Video bit rate: 143 kbps Video resolution: 720x576 Time: 08:00:01
And the image the TV output don't sync with the capture,seem as the delay(about half of second) of the capture.
What should I do for that?
zcliang
Zcliang,
For more information on display delay versus frame resolutions please refere the codec user section 3.2.
Regards,
Mahanteh
Zcliang,
Corrected the previous update....
For more information on display delay versus frame resolutions please refere the codec user guide section 3.2.
Regards,
Mahanteh