Re: [FFmpeg-devel] [PATCH 04/25] fftools/ffmpeg_enc: always use video frame durations when available

2023-04-24 Thread Nicolas George
Anton Khirnov (12023-04-19): > Previously they would only be used with trivial filtergraphs, because > filters did not handle frame durations. That is no longer true - most > filters process frame durations properly (there may still be some that > don't - this change will help finding and fixing

Re: [FFmpeg-devel] [PATCH 04/25] fftools/ffmpeg_enc: always use video frame durations when available

2023-04-19 Thread Anton Khirnov
Quoting James Almer (2023-04-19 22:42:24) > On 4/19/2023 4:52 PM, Anton Khirnov wrote: > > diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c > > index e3dc858bc3..9aaec277f1 100644 > > --- a/fftools/ffmpeg_enc.c > > +++ b/fftools/ffmpeg_enc.c > > @@ -1005,24 +1005,17 @@ static void

Re: [FFmpeg-devel] [PATCH 04/25] fftools/ffmpeg_enc: always use video frame durations when available

2023-04-19 Thread James Almer
On 4/19/2023 4:52 PM, Anton Khirnov wrote: diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c index e3dc858bc3..9aaec277f1 100644 --- a/fftools/ffmpeg_enc.c +++ b/fftools/ffmpeg_enc.c @@ -1005,24 +1005,17 @@ static void do_video_out(OutputFile *of, AVRational frame_rate;

[FFmpeg-devel] [PATCH 04/25] fftools/ffmpeg_enc: always use video frame durations when available

2023-04-19 Thread Anton Khirnov
Previously they would only be used with trivial filtergraphs, because filters did not handle frame durations. That is no longer true - most filters process frame durations properly (there may still be some that don't - this change will help finding and fixing them). Improves output video frame