Check and clean mp3 streams
qmp3check [option]...file...
qmp3check reads mp3 streams looking for invalid frames or, simply, garbage. it can be used as a mp3 file checker but also as a mp3 file cleaner because it is able to strip garbage bits from the streams.
-D,--delete
delete invalid frames and garbage. use with care
-h,--help
show a brief help and exit
-q,--quiet
no output messages
-T,--delete-tag
delete tag (if exists). option --delete must be set.
-v,--verbose
show more detailed info
-V,--version
show version and exit
tests have been done only with mpeg version 1 layer iii streams, though it may (or not) work with other versions/layers.
http://www.etse.urv.es/~dmanye/quelcom/quelcom.html