I just crufted up a python script that uses mpg123 
to return a report on total samples clipped from 
tracks in an mp3 playlist, i.e.,

Search_And_Destroy.mp3 ... 0 samples clipped.
Gimme_Danger.mp3 ... 0 samples clipped.
Your_Pretty_Face_Is_Going_To_Hell.mp3 ... 1 samples clipped.
Penetration.mp3 ... 0 samples clipped.
Raw_Power.mp3 ... 7 samples clipped.
I_Need_Somebody.mp3 ... 0 samples clipped.
Shake_Appeal.mp3 ... 0 samples clipped.
Death_Trip.mp3 ... 1 samples clipped.

Putting the results in a little easier format
to evaluate which files could use reencoding.

Wrote it using python 1.5.2 (kinda stuck with that on
a Red Hat machine), and before making it generally
available, I'd appreciate some source review, testing
to see if it behaves itself with python 2.0.  

So, if you have python and mpg123 on board, and can
handle the "if it don't work, don't look pretty, fix
it and get back to me" warranty, drop me an email,
and I'll send you clippage.py 0.0.000001.

Reply via email to