Re: [FFmpeg-devel] [PATCH 04/18] fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy()

2023-08-26 Thread Michael Niedermayer
On Sat, Aug 26, 2023 at 05:11:30PM +0200, Anton Khirnov wrote: > This function converts packet timestamps from the input stream timebase > to OutputStream.mux_timebase, which may or may not be equal to the > actual output AVStream timebase (and even when it is, this may not > always be the optimal

[FFmpeg-devel] [PATCH 04/18] fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy()

2023-08-26 Thread Anton Khirnov
This function converts packet timestamps from the input stream timebase to OutputStream.mux_timebase, which may or may not be equal to the actual output AVStream timebase (and even when it is, this may not always be the optimal choice due to bitstream filtering). Just keep the timestamps in input