Conversor de APE/FLAC a MP3 (script)

( desarrollo / bash )

Script para convertir de forma cómoda y automática CDs completos en formatos LOSSLESS (sin perdida) a MP3 para poder reproducirlos en reproductores tipo IPOD. Dejo este script con fines históricos ya que ahora hay herramientas mucho mejores y más potentes.

La ayuda es la siguiente y puede verse ejecutando el script sin parámetros:

Usage:
./te2mp3_v0.6.1.sh -c CUE_file -f sound_file [-y YEAR] [-g genre] [-o output_directory] [-u] [-r] [-l]
./te2mp3_v0.6.1.sh [-l] [-o output_directory] -b batch_file
./te2mp3_v0.6.1.sh -c Marduk_-_Nightwing.cue -f Marduk_-_Nightwing.flac
./te2mp3_v0.6.1.sh -c Marduk_-_Nightwing.cue -f Marduk_-_Nightwing.flac -y 1998
./te2mp3_v0.6.1.sh -c Marduk_-_Nightwing.cue -f Marduk_-_Nightwing.flac -y 1998 -g 138
./te2mp3_v0.6.1.sh -c Marduk_-_Nightwing.cue -f Marduk_-_Nightwing.flac -y 1998 -o /home/the_evangelist/music -g 138 -u
./te2mp3_v0.6.1.sh -b batch_file
NOTE: -u = change espaces for underscores (Optional)
NOTE: -g = Genre, to see list 'id3v2 -L' (Optional)
NOTE: -r = do not remove temporaly CUE and WAV files (default is remove)
NOTE: -l = create a letter (first letter of band name) directory before band name directory:
NOTE: in Batch mode -l and -o MUST be before -b option)
NOTE: -b = Batch mode has this format (for each file to process):
AUDIO file (including path to)
CUE file (including path to)
YEAR
GENRE (to see list 'id3v2 -L')
UNDERSCORE (1 = yes, any other = no)
---------------------------------------------------------------------
bash       -> Necessary to run this script (Mandatory)
cueprint   -> get info from CUE files (Mandatory)
lame       -> for compressing MP3 files (Mandatory)
shntool    -> for xtracting WAV from compress files (Mandatory)
perl       -> For renaming white spaces to underscores (Mandatory)
mac        -> for decompressing  APE files (Optional)
flac       -> for decompressing FLAC files (Optional)
wavpack    -> for decompressing   WV files (Optional)
hope in future versions will not be necessary
---------------------------------------------------------------------

CHANGELOG

Descargar el script te2mp3_v0.6.1.sh

Modificado el 7 de febrero de 2013
Creado el 10 de abril de 2008
   

Compartiendo conocimiento desde 1995 - I.M.D. I.M.D.