Export to GitHub

mp3check - issue #3

mp3check: --show-valid doesn't work properly


Posted on Jun 9, 2012 by Grumpy Lion

Hello, I'm forwarding Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600725

>>> I'm trying to use mp3check to find corrupt MP3 files, but I want to ignore certain errors, e.g. the one about a truncated last frame.

The --show-valid options doesn't seem to behave like the man page description.

I have a file 01.mp3 with a truncated last frame:

mp3check --show-valid -e 01.mp3 01.mp3: valid id3 tag trailer v1.1 found frame 24118/10:28: file truncated, 130 bytes missing for last frame

Adding the option -T gives no error reports (as expected):

mp3check --show-valid -Te 01.mp3 01.mp3: valid id3 tag trailer v1.1 found

According to the man page description of --show-valid, the following command should print 'valid audio mpeg stream' since I'm using the -T option to ignore the truncated last frame error:

mp3check -Te --show-valid 01.mp3 01.mp3: valid id3 tag trailer v1.1 found

However, as seen above it prints no such thing. Am I misunderstanding the man page? If it would behave as in the manual, this would give me a method of determining which files are corrupt, while ignoring those with a truncated last frame.

There is a similar problem with the -g option. I wouldn't expect the filename 01.mp3 to be printed by the -g option when I'm specifying the -T option, right? But unfortunately it is, so I don't yet know how to use mp3check to differentiate between the seriously corrupt files and those with only a truncated last frame. <<<

Status: Accepted

Labels:
Type-Defect Priority-Medium