lunes, noviembre 02, 2009

Convertir ficheros de audio WAV a MP3 en ubuntu

Convertir ficheros de audio WAV a MP3 en ubuntu

Para convertir ficheros de audio wav a mp3 en ubuntu (o en cualquier distro derivada de Debian), simplemente tenemos que tener instalado el paquete “lame”:


sudo apt-get install lame

Y hacer lo siguiente:


 lame -m s Track\ 3.wav 

Automáticamente comenzará a convertir el fichero a formato MP3:

LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE, SSE2
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding Track 3.wav to Track 3.wav.mp3
Encoding as 44.1 kHz 128 kbps stereo MPEG-1 Layer III (11x) qval=3
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
6794/6794 (100%)| 0:34/ 0:34| 0:34/ 0:34| 5.1667x| 0:00
-------------------------------------------------------------------------------------------------------------------------------
kbps LR % long switch short %
128.0 100.0 96.4 2.1 1.5
Writing LAME Tag...done
ReplayGain: -6.7dB

Eso es todo.