On 14/05/2020 19:15, Zachariah Brown wrote: > 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 <zachar...@renewedvision.com> > --- > libavcodec/nvenc.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-)
Every other encoder does this, so looks OK. - Derek _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".