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 | 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 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.