set the framerate by:
tPortDef.format.video.xFramerate = (pAppData->nFrameRate << 16);
tVideoParams.xFramerate = (pAppData->nFrameRate << 16);
but it seems that this parameter dose not work. who can tell me the reason?
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.
set the framerate by:
tPortDef.format.video.xFramerate = (pAppData->nFrameRate << 16);
tVideoParams.xFramerate = (pAppData->nFrameRate << 16);
but it seems that this parameter dose not work. who can tell me the reason?
Hi,
Which device/platform and SDK version is this ? When you say, it does not work, what does it mean. Can you pls elaborate.
regards
Yashwant
Hi,
For video codec view, frame rate information is only used by rate control. It doen't control the encode frame rate.
The real frame rate is done/controled by application. The rate with which the application calls codec process call is the rate of frame for encoding.
Hi Chris,
I am on the dm365 platform, I want to decrease the H.264 real frame rate to adapt the real 3G wireless transmission. What you say means the dynParams->relframerate and dynParams->targetframerate can't have the ability to dynamic change the frame rate. It needs to be changed by the code we write. select or usleep function to decrease the frame rate before the Videnc_process API?
Hi,
If the input vidoe is 30f/s and you want to encoded 15f/s, you can process frame alternatively. That is, process one frame, then not process one frame and return, then process one, then not process one. This is done by your own app code.
If no requirment for 30f/s in your system, it is better to drop the frame in resizer output.