All Questions
1
question
146
votes
12
answers
304k
views
How to get video duration in seconds?
How can I get video duration in seconds?
What I've tried:
ffmpeg -i file.flv 2>&1 | grep "Duration"
Duration: 00:39:43.08, start: 0.040000, bitrate: 386 kb/s
mediainfo file.flv | grep ...