[FFmpeg-devel] [FFmpeg-cvslog] fftools/sync_queue: use timebase from input frames/packets

Anton Khirnov anton at khirnov.net
Wed Apr 12 11:06:19 EEST 2023


Quoting Michael Niedermayer (2023-04-10 21:01:40)
> On Sun, Apr 09, 2023 at 01:50:08PM +0000, Anton Khirnov wrote:
> > ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 21 12:36:03 2023 +0100| [090950f8327c01b1775615b1da723dc6cc8a30a0] | committer: Anton Khirnov
> > 
> > fftools/sync_queue: use timebase from input frames/packets
> > 
> > They are always properly set now. Avoid a separate timebase-setting
> > call, which duplicates the knowledge of the timebase being used.
> 
> This looses bitrate information in some cases
> 
> ./ffmpeg -analyzeduration 1M -y -i ~/videos/mm-short.mpg -vcodec copy -aspect 16:9 -vframes 3 tmp.avi

Cannot reproduce with a random mpeg file. Where can I find this sample?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list