Created
July 1, 2015 14:53
-
-
Save seripap/d3bd65b284980cb4783e to your computer and use it in GitHub Desktop.
ffmpeg: get duration of video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i file.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d , |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment