How to create the keyframe forcibly.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to create the keyframe forcibly.

989 次查看
toshinariagata
Contributor III

I cannot create the keyframe(I-Frame) of h264 forcibly.
Would you please let me know how I can do it?
I use 5.4.70-2.3.0 bsp with i.MX8X C0 board.

I tried the following command, but I cannot create the I-Frame.

v4l2-ctl --device=/dev/video13 --set-ctrl=force_key_frame=
0 项奖励
回复
1 回复

961 次查看
joanxie
NXP TechSupport
NXP TechSupport

for i.mx8x, you can use "V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME" to force the key frame, see the source code:

"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mxc/vpu_windsor/vpu_encoder_ctrl.c..."

 

 

0 项奖励
回复