by jesse

whats the best way to encode MP3s on linux?

There are lots of good tools for linux for encoding MP3s, the problem is, they are unix tools, they do one thing, and they do it well. There are good encoders, good cd rippers, cddb lookup tools, ID3 editors, the problem is, it is a PITA to use them all seperatly. This is were abcde comes in. abcde(A Better CD Encoder) is a very usefull script written by Robert Woodcock that automates the proccess of ripping, encoding, and cataloging mp3s using command line tools. It supports multiple rippers, multiple encoders(for both MP3 and ogg), several ID3 tools, and lots of customization for filenames.
I have it setup to use cdparanoia to rip, and lame to encode. here is my ~/.abcde.conf file:
OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM}-${TRACKFILE}.${OUTPUTTYPE}'CDROM=/dev/cdroms/cdrom0
OUTPUTTYPE=mp3
VAOUTPUTFORMAT='${ALBUM}/${TRACKNUM}-${TRACKFILE}.${OUTPUTTYPE}'
MAXPROCS=2
EJECTCD=y
ENCODERSYNTAX=lame
LAMEOPTS="-h -b256"
CDROMREADERSYNTAX=cdparanoia
#OUTPUTDIR=/mp3
mungefilename ()
{
 echo "$@" | sed s,:,\ -,g | tr \ / __ | tr -d \'\? | tr -d \[:cntrl:\]|tr \[:upper:\] \[:lower:\]
}

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-11-08)

***445.   How do I extract tcpdump / wireshark / lib pcap formatted data from snort unified logs using barnyard?   [n0b0dy/2008-11-08]
354.   What is a secure alternative to irc that doesn't suck like irc over ssl?   [jake/2003-03-02]
333.   what is the orgin of the word family?   [jesse/2002-10-25]
326.   How do I make an RJ-45 connector into a hardware loop back device (is that an ethernet jammer in your pocket) ? (or how the hell do you boot an Indy with out an ethernet cable)   [jake/2002-10-05]
252.   How can I turn an Indigo into an apache based webcam?   [vonguard/2001-06-29]
232.   Where can i find a stamp sized ethernet web server for (barely)less than $100?   [sidd/2001-05-30]
230.   What is a good book to get started with Python?   [rupe/2001-05-30]
224.   Which Yak people have been in the news recently?   [rupe/2001-05-24] ( macki/2001-05-29 )
204.   Now that Mir's gone, where can I find images and information about the station and its reentry?   [rupe/2001-03-22]
165.   What's the story with NTSC, PAL, SECAM?   [jss/2001-01-22]
100.   What is WAX?   [rupe/2000-06-10]
87.   How do i OPT OUT of doubleclick's user-tracking cookies?   [strick/2000-05-11]
50.   If the mass number of an isotope is much greater than twice the atomic number, what type of radioactive decay might you expect?   [kurt/2000-02-06]