Skip to content
Uses handbrake to check if files are corrupt or unplayable
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.gitignore
LICENSE
README.md
scan.ps1

README.md

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:

In Progress

Completed:

Completed

You can’t perform that action at this time.