Program(s) to detect corrupted JPG and MP3 files?
February 2, 2007 3:21 PM   Subscribe

Corrupted Files Filter: Program(s) to detect corrupted JPG and MP3 files? (More inside)

Back in the day when I didn't have money for a decent backup system, some backed up files themslves were corrupted. Most were fine but some JPGs exhibited regions of solid color and some MP3s developed glitches/blips/bloops or got truncated. Without having a reliable second file to which to compare it with, and without looking though all the JPGs/listening to each and every MP3, are there programs that will detect which files were corrupted once they are on a new hard drive?
posted by chalupa to Computers & Internet (5 answers total) 1 user marked this as a favorite
for mp3s: mp3check
posted by neustile at 3:36 PM on February 2, 2007

Sometimes ID3check works to find corrupted MP3s...
posted by noahv at 5:55 PM on February 2, 2007

Image::TestJPG in Perl will do what you need for images...if you don't know Perl, I'll put together a quick wrapper for it that'll validate a directory.
posted by effugas at 11:11 PM on February 2, 2007

effugas, would you mind creating the wrapper for me? Thanks!

Also, Googling some key words I found at the above mentioned links yielded me this program for jpg testing: IT-JPEG Tester

After trying the trial version, I've found that IT-JPEG Tester is not very intuitive but it will find and copy or move damaged .jpg's to a specified directory.
posted by chalupa at 9:19 AM on February 3, 2007


It's a command line app; copy the executable and the support dll to c:\windows\system32, then make your way to each directory that contains broken images. Then just type:

pegleg .

...anything bad should get moved to a folder called bad.
posted by effugas at 6:54 PM on February 3, 2007

« Older Could non Mormons enjoy living in SLC?   |   Being a team player on the short bus ... or how to... Newer »
This thread is closed to new comments.