Corrupted Media Scanner
Uses handbrake to check if files are corrupt or unplayable
Instructions
Clone or download project
Download HandBrakeCLI.exe for Windows from https://handbrake.fr/downloads2.php and place it in same directory as scan.ps1
Right-click scan.ps1
then press 'run with powershell' or run from powershell window
Example run: .\scan.ps1 -dir 'c:\media\directory' -threads 4
Required
-dir This is your media directory
-threads This is how many handbrake instances will run at once, I recommend running less than 4 unless you have a really good CPU
Optional
-min Minimum size of files to scan in MegaBytes (default=5) set to 0 to scan pictures, nfo files, etc
good(yyyyMMddmmss).log
will be generated in the root directory with files that are OK
error(yyyyMMddmmss).log
will be generated in the root directory with information about corrupted files
(yyyyMMddmmss).csv
will be generated in the root directory with information about all files in a csv
- EBML header parsing failed: highly likely this file won't play
- Read error: there are problems in the file but it usually can still play
Screenshots:
In progress:
Completed: