====== Ubuntu - Sound - mp3check ====== mp3check can check MP3 files for consistency and print several errors and warnings, list stream attributes (in color). Layer 1, 2, 3, MPEG1.0+2.0 are currently supported. CRC check for layer 3. It can process directories recursively and also fix certain errors. ---- ===== Install mp3check ===== sudo aptitude update sudo apt-get install mp3check ---- ===== To check a file ===== mp3check -e file ---- ===== Fix a file ===== mp3check --cut-junk-start --cut-junk-end --cut-tag-end --fix-headers input.mp3 To repair: mp3check options file, where options is one of these : * --cut-junk-start remove junk before first frame * --cut-junk-end remove junk after last frame * --cut-tag-end remove trailing tag * --fix-headers fix invalid headers (prevent constant parameter switching), implies -e, use with care * --fix-crc fix crc (set crc to the calculated one), implies -e, use with care) ---- ===== Full optionlist ===== mp3check --help