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-06-12)

***443.   Who is Tila Tequila?   [n0b0dy/2008-06-12]
442.   What is erlang (and why should I care?)   [aestetix/2008-06-01]
403.   What is warviewing / warspying?   [jake/2004-01-28]
382.   What is the best combination Sushi Bar / Internet Cafe in Berlin?   [jake/2003-09-25]
374.   How can I make Gnu/Linux behave like a Real Unix (TM)?   [jake/2003-09-22]
372.   What is the offical 'insta-gay' drink™ of #temp?   [ross/2003-09-16]
366.   What is a really good german street map website?   [jake/2003-07-10]
350.   How can I learn how to fake any number of polygraphs?   [jake/2003-02-25]
328.   What the hell is zen nihlism (how can I sign up my neighbor)?   [jake/2002-10-05]
293.   where can i find data about the most common names in the USA?   [jesse/2001-12-05]
279.   How do I get my USB digital camera to work under Linux?   [rupe/2001-10-29]
246.   why am i getting errors with when reflashing my TINI from a linux box?   [jesse/2001-06-09]
244.   Does Jeffrey read too many web comics each day?   [strick/2001-06-06]
239.   What's the Grubstake?   [rupe/2001-06-05]
237.   how do i setup lm_sensors on an abit vp6 mobo?   [jesse/2001-07-08]
226.   How do you eat vegetarian in central Texas?   [combee/2005-04-08]
132.   What is the official scale for grading Yak parties?   [rupe/2000-10-08]
127.   How can I make the "whois" command work like before?   [robey/2000-09-28]
100.   What is WAX?   [rupe/2000-06-10]
76.   How can I run my 486 25 at 247 mhz?   [jj/2000-04-16]
46.   What is Ross' natural hair color?   [macki/2000-02-03]
43.   How much coffee/Mountain Dew can you drink before dying?   [robey/2002-12-06]