As promised, here are my current stack of improvements over the base implementation. The interlacing one is probably pointless as the hardware doesn't seem to support it, but you'll know better than me.
And hopefully you can explain the black magic in the DAR calculation. Philip Langdale (4): Correctly set Display Aspect Ratio in nvenc. Set bdirect mode Implement b frame support. nvenc: Try and do interlaced encoding. libavcodec/libnvenc.c | 26 +++++++++++++ libavcodec/libnvenc.h | 5 +++ libavcodec/nvencoder.c | 100 ++++++++++++++++++++++++++----------------------- libavcodec/nvencoder.h | 9 ++++- 4 files changed, 92 insertions(+), 48 deletions(-) -- 2.1.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel