-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Trevor,
Heh...yes, I meant 96kbps there...had a bit of a brainfart, trying to type while holding onto my 16 month old daughter :-) Thanks for the script...now all I have to do is do some batch converting from mp3 to ogg. Off to search freshmeat.... ;-) Regards, Chris On June 11, 2003 6:04 pm, Trevor Lauder wrote: > You mean 96Kbps right? I've never come across a program that specifically > does that however I wrote a quick bash script that might do what you need. > It only checks OGG files in your current working directory, sorry I don't > use mp3 and don't have experience with it's tools. Just copy & paste this > into a file: > > > > #!/bin/bash > > tmplist=/tmp/oggbitratelist > > for file in `ls *.ogg` > do > > bitrate="`ogginfo $file | grep "Average bitrate" | cut -f 3 -d ' > '`" echo "$bitrate Filename: $file" >> $tmplist > > done > > cat $tmplist | sort -n -r > > rm -f $tmplist > > > > > Save the file, make it executable, cd into the directory where the ogg > files are you want to sort by average bitrate and run that script. It > will spit out a list of files with their bitrate, the biggest bitrates at > the top of the list. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+5+ZBAvR8j4tXQKERAgYCAJ492WaZD9yzb/CRX/UZ7SIRS2/32QCcCD70 CvNUQ3QIltlhF+QPccRGlBw= =V1nb -----END PGP SIGNATURE-----
