Created
November 23, 2017 01:15
-
-
Save frankIT/ec6ed7380bc94f07e6f6e45af0eb0a85 to your computer and use it in GitHub Desktop.
loop avprobe on a folder to check for potentially corrupted 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
#!/bin/bash | |
# ...let's say you just copied tons of your gopro video from a faulty sd :) | |
for f in `ls *.MP4`; do | |
avprobe -loglevel error "$f" | |
#ffprobe -loglevel error "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment