Skip to content

Instantly share code, notes, and snippets.

@frankIT
Created November 23, 2017 01:15
Show Gist options
  • Save frankIT/ec6ed7380bc94f07e6f6e45af0eb0a85 to your computer and use it in GitHub Desktop.
Save frankIT/ec6ed7380bc94f07e6f6e45af0eb0a85 to your computer and use it in GitHub Desktop.
loop avprobe on a folder to check for potentially corrupted video
#!/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