[FFmpeg-devel] nvenc/cuda force IDR
timo at rothenpieler.org
Wed Oct 12 22:45:10 EEST 2016
> I'm trying to put together a patch, but I'm struggling a bit setting up to build.
I just pushed the neccesary changes.
Works slightly diffrent than on x264, as the option it has seems a bit
broken, seeing that both 0 and 1 force IDR frames:
x4->forced_idr >= 0 ? X264_TYPE_IDR : X264_TYPE_KEYFRAME
For nvenc -1, the default, does not forward the flag, 0 forces
keyframes, 1 forces idr frames.
More information about the ffmpeg-devel