[FFmpeg-devel] [FFmpeg-cvslog] fftools/sync_queue: use timebase from input frames/packets
Michael Niedermayer
michael at niedermayer.cc
Mon Apr 10 22:01:40 EEST 2023
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
./ffprobe tmp.avi
Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, bt470bg/bt470m/bt470m, bottom first), 720x576 [SAR 16:15 DAR 4:3], 8061 kb/s, SAR 64:45 DAR 16:9, 50 fps, 50 tbr, 50 tbn
vs.
Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, bt470bg/bt470m/bt470m, bottom first), 720x576 [SAR 16:15 DAR 4:3], SAR 64:45 DAR 16:9, 50 fps, 50 tbr, 50 tbn
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 1
"Used only once" - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20230410/ccd39116/attachment.sig>
More information about the ffmpeg-devel
mailing list