Created
July 3, 2026 12:03
-
-
Save instantiator/d24ecee0138051cb21347bb7bc07a28c to your computer and use it in GitHub Desktop.
Check video files for corruption
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 | |
| # usage: ./check-video.sh <filename> | |
| # uses ffmpeg to run through the file, reports errors as it finds them | |
| ffmpeg -i $1 -vcodec copy -acodec copy -f null - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment