Re: [FFmpeg-devel] [PATCH] avformat/img2dec: set r_frame_rate in addition to avg_frame_rate

2021-04-11 Thread Jan Ekström
On Sun, Apr 11, 2021 at 1:16 PM Anton Khirnov wrote: > > Quoting Jan Ekström (2021-04-07 20:25:03) > > Apparently for various image sequences libavformat/utils.c can > > calculate rather fancy r_frame_rate values, such as `186/1921`, > > and since ffmpeg.c utilizes r_frame_rate for the filter

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: set r_frame_rate in addition to avg_frame_rate

2021-04-11 Thread Anton Khirnov
Quoting Jan Ekström (2021-04-07 20:25:03) > Apparently for various image sequences libavformat/utils.c can > calculate rather fancy r_frame_rate values, such as `186/1921`, > and since ffmpeg.c utilizes r_frame_rate for the filter chain > time base, this can quite deteriorate the output frame

[FFmpeg-devel] [PATCH] avformat/img2dec: set r_frame_rate in addition to avg_frame_rate

2021-04-07 Thread Jan Ekström
Apparently for various image sequences libavformat/utils.c can calculate rather fancy r_frame_rate values, such as `186/1921`, and since ffmpeg.c utilizes r_frame_rate for the filter chain time base, this can quite deteriorate the output frame timing - even though the user has requested the image