[FFmpeg-devel] nvenc/cuda force IDR

Timo Rothenpieler timo at rothenpieler.org
Wed Oct 12 20:04:57 EEST 2016

On 10/12/2016 4:15 PM, Grant Brownewell wrote:
> Hello,
> I've been experimenting with encoding with a  cuda card, and I noticed that setting the pict_type member of the AVFrame structure to AV_PICTURE_TYPE_I does not trigger it to encode the next frame as an IDR frame as libx264 does. I looked at the nvidia docs and it appears there is a mechanism for this behavior.

Is that behaviour documented anywhere?

There should not be any technical issue with triggering a forced iframe,
the encoder might just choose to ignore it.

More information about the ffmpeg-devel mailing list