我是用的dvsdk的encode例子,idrframeinterval这个参数在dmai中的videnc1_dynamicparams结构体内没有定义,只在ih264venc_dynamicparams内定义了,我该如何设置idr的值?
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的encode例子,idrframeinterval这个参数在dmai中的videnc1_dynamicparams结构体内没有定义,只在ih264venc_dynamicparams内定义了,我该如何设置idr的值?
dvsdk-demos_4_02_00_01/dm365/encode/video.c 中 144 行下面添加一行;修改编码动态参数
dynParams->intraFrameInterval = 30; // 系统默认是30行;
XDAS_Int32 intraFrameInterval;/**< The number of frames between two I
* frames. For example, 30.
*
* @remarks For example, this field will be:
* - 0 - Only first frame to be intra
* coded. e.g. IPPPPPP...
* - 1 - No inter frames (all intra
* frames).
* - 2 - Consecutive IPIPIP... sequence (if
* no B frames).
* - 3 - IPPIPP... or IPBIPBI... and so on.
*/
你好,我是想设置idr帧的间隔,需要这个参数idrframeinterval,这个参数在结构体内,不知道该怎么设置?
XDAS_Int32 intraFrameInterval;/**< The number of frames between two I
* frames. For example, 30.
*
* @remarks For example, this field will be:
* - 0 - Only first frame to be intra
* coded. e.g. IPPPPPP...
* - 1 - No inter frames (all intra
* frames).
* - 2 - Consecutive IPIPIP... sequence (if
* no B frames).
* - 3 - IPPIPP... or IPBIPBI... and so on.
*/
请问 idrframeinterval 参数 ,你是在什么地方看到设置的 ? 代码里面应当没有这个,实际有效值是 intraFrameInterval ;