[FFmpeg-devel] [PATCH] nvenc: FIX wrong forced keyframe behavior

Timo Rothenpieler timo at rothenpieler.org
Sun Feb 12 22:01:50 EET 2017


On 2/12/2017 8:56 PM, Miroslav Slugeň wrote:
>>> 2. We should change it in libx264 and libx265
>> Changing it in nvenc now would be kind of an API break, as the behaviour
>> might change without someone expecting it.
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> I don't think so, onlything is changed is when you forcing keyframes
> with -forced_keyframes option it was not working in NVENC without
> specifiing -force_idr 0 or 1, is there any other situation when some
> parts of ffmpeg will force key frames and NVENC naturaly ignore them?

It's primarily a concern with API users which might set the pict_type.
Probably does not affect any notable amount of users.
Might as well remove -1 as a supported value from the option then.


More information about the ffmpeg-devel mailing list