Re: MP3 Encoding Scripts
Sean Jewett <sean-87STC2J/[email protected]>
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Feb 2006, Chris Willard wrote: > I have a small cluster and want to use it to encode MP3's. Welcome to the club, though I must admit my cluster is offline these days do to a move and computer hardware downsizing. > I have found various scripts on the Internet that will get info from a > CDDB database, use cdparanoia to rip the cd, save it as wav files and > then encode it to mp3's. Unfortunately these encode as they rip so it > does not make the best use of the cluster. True. > Does anyone know of a script that does the same job except that it will > encode the files after ripping them? My solution for the Electric Meyhem was more or less as follows: CD Ripping towers --> File Server <---> Cluster My CDRom towers were setup to rip the CD's into wav's and store them on the file server. In addition to ripping them into wav format, I found a small c program called cdid (I think it's on Freshmeat) that would spit out the CDID info needed to query freedb. I wrote that to a text file that could be read back later. Each CD got their own directory (since I did not know names it was some combo of what CD drive they were in and timestamp) where the wav files and cdid text file were stored. I also had a file which indicated the status of the files in the directory. When a CD was fully ripped the file was updated accordingly... and a finished file indicated to the cluster it could start converting the wavs to mp3's. Once the cluster converted the files to mp3 (and saving them back onto the file server in the same directory their wav file counter parts were in) then I'd run a script that would read in the cdid info file and then query freedb (this script in all honesty was pretty nasty mainly because I did not want to use perl modules... big mistake). From there it was a matter of renaming the files and writing the id3 tags. Hopefully this helps a bit. Sean... -- The punk rock will get you if the government don't get you first. --Old 97's _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ KG4NRC http://www.rimboy.com Your source for the crap you know you need. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642