Created
June 14, 2016 17:01
-
-
Save patrickgill/1392c0b9e6d28e7a98a4b1ff017326eb to your computer and use it in GitHub Desktop.
count a video frames. requires ffprobe
This file contains hidden or 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
#!/bin/bash | |
ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment