Re: [FFmpeg-user] ffprobe duration difference between 5.1.3 and 6.0.
Thanks for the very helpful information. Understood that this change is expected. -- Yasuo Honda On Tue, Oct 31, 2023 at 2:01 AM Nicolas Gaullier wrote: > > >ffprobe duration difference between 5.1.3 and 6.0. > > > >I'd like to know if this is an expected behavior change > > Yes, this is an expected change, > take a look at this unambiguous commit: > https://github.com/FFmpeg/FFmpeg/commit/836b8001c924deb9263b0f5b7c74ccfaab1f4fdc > > Note that your sample has an edit list which truncates the available (stts) > duration to 1s, > but other durations in the file (mvhd/mdhd/tkhd) are set to longer values - > which is wrong (according to 14496-12). > > Nicolas > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] ffprobe duration difference between 5.1.3 and 6.0.
ffprobe duration difference between 5.1.3 and 6.0. Hi, This is my first email to ffmpeg-user mailing list. I'd like to know if this is an expected behavior change between 5.1.4 This question is originally raised as Ruby on Rails issue https://github.com/rails/rails/issues/49650 - Steps to reproduce https://github.com/rails/rails/ cd rails ffprobe -v error -show_format -show_streams activestorage/test/fixtures/files/video_without_video_stream.mp4 - Expected result as ffprobe version 5.1.3 ffprobe version 5.1.3 installed at Red Hat Enterprise Linux release 9.2 (Plow), duration in [FORMAT] section is 1.022000. ``` $ ffprobe -v error -show_format -show_streams activestorage/test/fixtures/files/video_without_video_stream.mp4 [STREAM] ... snip ... duration=1.00 ... snip ... [/STREAM] [FORMAT] ... snip ... duration=1.022000 ... snip ... [/FORMAT] $ ``` - Actual behavior as `ffprobe version 6.0-6ubuntu1 installed at Ubuntu 23.10`, both duration are 1.00 ``` $ ffprobe -v error -show_format -show_streams activestorage/test/fixtures/files/video_without_video_stream.mp4 [STREAM] ... snip ... duration=1.00 ... snip ... [/STREAM] [FORMAT] ... snip ... duration=1.00 ... snip ... [/FORMAT] $ ``` Please advise. -- Yasuo Honda ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".