[FFmpeg-devel] How to force key frame for h264_qsv encoder?
yijinliu at gmail.com
Mon Aug 1 23:20:50 EEST 2016
Looks like h264_qsv doesn't respect AVFrame.pict_type now.
It always encodes to non-key frames except for the first frame.
Is this a bug of ffmpeg or QSV doesn't support key frames?
Command I use:
ffmpeg -debug_ts -i orig.mp4 -force_key_frames 'expr:gte(t,n_forced)'
-look_ahead 0 -c:v h264_qsv -b:v 800k -maxrate 1600k -preset faster test.mp4
More information about the ffmpeg-devel