... using Blosxom to retrace my steps

tstigers.net - Home :: Entries :: Feeds :: Photos
June 2017
Sun Mon Tue Wed Thu Fri Sat

Mon, 08 Jun 2009

How to extract audio from an mp4 video file

for nam in filename.mp4; do nice mplayer -ao pcm "$nam" -ao pcm:file="$nam.wav"; done

Then, for example:

lame -b 192 -h filename.wav filename.mp3


nice oggenc -q5 filename.wav -o filename.ogg

Conversion to mp3 or ogg can also be integrated in the "for" loop above. See here: Howto: convert aac/mp4 to wav/mp3/ogg on Linux.

Posted on 08 Jun 2009 at 01:21 in /technology. -- Permalink

How to mount an ISO as CD

sudo mount -o loop ~/Desktop/filename.iso /media/cdrom0

Posted on 08 Jun 2009 at 01:16 in /technology. -- Permalink

Powered by Blosxom RSS feed: /index.rss