ffmpeg shows an video duration is 00:05:25.80
, what does ".80" mean in ffmpeg ?
Is it possible for ffmpeg to return the video duration in seconds rather than this format ?
What does ".80" mean in ffmpeg?
Same as it does everywhere else, eight tenths and zero hundredths. That is, the full duration is five minutes and twenty-five point eight seconds.
Is it possible for ffmpeg to return the video duration in seconds?
ffprobe
uses seconds by default. What you're looking at in there in ffmpeg
is just information for human convenience.
$ ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4
325.800000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With