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:44:31 +0200 |
commit | b18fd2b95b2fea10f0b5381333a1b4c032f010bc (patch) | |
tree | 5d13edbcb3194b0ac0c655785a588ebc51eff4b6 /tools/normalize.py | |
parent | b7d89963f00bd82f5cf230d7a7c865126fffc5fb (diff) | |
download | ffmpeg-b18fd2b95b2fea10f0b5381333a1b4c032f010bc.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 'tools/normalize.py')
0 files changed, 0 insertions, 0 deletions