diff options
author | Zachariah Brown <zachariah@renewedvision.com> | 2020-05-14 14:15:33 -0400 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2020-05-15 00:52:14 +0200 |
commit | 393eff8917b0fe1e26667cc4599aeb16ace5728c (patch) | |
tree | 9928898e087176eea11a8b50de95c215a5da4b1c /libavcodec/ralfdata.h | |
parent | 31c523469a290c6a9b6d5c1d9279b4d74e9518f2 (diff) | |
download | ffmpeg-393eff8917b0fe1e26667cc4599aeb16ace5728c.tar.gz |
avcodec/nvenc: use framerate if available
The h264_nvenc and hevc_nvenc encoders aren't respecting the framerate in the codec context.
Instead it was using the timebase which in our use-case was 1/1000 so the encoder was behaving
as if we wanted 1000fps. This resulted in poor encoding results due to an extremely low bitrate.
Both the amf and qsv encoders already contain similar logic to first check the framerate before
falling back to the timebase.
Signed-off-by: Zachariah Brown <zachariah@renewedvision.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/ralfdata.h')
0 files changed, 0 insertions, 0 deletions