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

Michael Niedermayer michael at niedermayer.cc
Wed Apr 12 11:44:08 EEST 2023


On Wed, Apr 12, 2023 at 10:41:50AM +0200, Michael Niedermayer wrote:
> On Wed, Apr 12, 2023 at 10:06:19AM +0200, Anton Khirnov wrote:
> > 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?
> 
> sorry, its here:
> https://samples.ffmpeg.org/MPEG2/mm-short.mpg

btw in case anyone wonders, this is just the first 2MB of matrixbench

cmp matrixbench_mpeg2.mpg mm-short.mpg
cmp: EOF on mm-short.mpg after byte 2048000, in line 9048

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Elect your leaders based on what they did after the last election, not
based on what they say before an election.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230412/cba3427a/attachment.sig>


More information about the ffmpeg-devel mailing list