How to create the keyframe forcibly.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create the keyframe forcibly.

481 Views
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 Kudos
1 Reply

453 Views
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 Kudos