Get the duration of a audio or video file using ffmpeg / ffprobe
ffprobe -show_streams -select_streams v -v quiet video.mp4 | grep "duration=" | cut -d '=' -f 2
All Examples
-
tags: #mp3
-
tags: #generator #filter #subtitles
-
tags: #canon5d
-
tags: #no-video #audio-extract