Azitech

Azimout's Linux weblog

mp4 to mp3

leave a comment »

To convert a file from mp4 video to mp3 audio, use the following 3 commands:

mplayer <mp4 file> -ao pcm:file=<temporary wav file>
lame -b 128 - q 2 <temporary wav file> <mp3 file>
rm <temporary wav file>

Reference: http://gimpel.gi.funpic.de/wiki/index.php?title=Howto:convert_aac/mp4_to_wav/mp3/ogg_on_Linux

Advertisements

Written by azimout

30/01/2010 at 14:41

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: