[FFmpeg-user] ffprobe duration difference between 5.1.3 and 6.0.

Yasuo Honda yasuo.honda at gmail.com
Sat Oct 28 09:37:30 EEST 2023


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.000000
... 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.000000

```
$ ffprobe -v error -show_format -show_streams
activestorage/test/fixtures/files/video_without_video_stream.mp4
[STREAM]
... snip ...
duration=1.000000
... snip ...
[/STREAM]
[FORMAT]
... snip ...
duration=1.000000
... snip ...
[/FORMAT]
$
```

Please advise.
--
Yasuo Honda


More information about the ffmpeg-user mailing list