[FFmpeg-devel] How to force key frame for h264_qsv encoder?

Michael Niedermayer michael at niedermayer.cc
Wed Aug 3 03:50:23 EEST 2016


On Tue, Aug 02, 2016 at 03:46:15PM -0700, Chao Liu wrote:
> Need to add some code like following here
> <https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/qsvenc.c#L941>
> if (frame->pict_type == AV_PICTURE_TYPE_I) {
>             enc_ctrl->FrameType = MFX_FRAMETYPE_I | MFX_FRAMETYPE_IDR |
> MFX_FRAMETYPE_REF;
>  }

please send a proper git patch

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160803/6d5b4794/attachment.sig>


More information about the ffmpeg-devel mailing list