Convert mov files to mp3

I think MrTopf’s MrTopfTV and now ComloungeTV are very high quality video casts of interest to the Python and more specifically the Plone community. The only problem is that I can’t listen to mov files on my very basic mp3 player.

Here’s a one-line fix thanks to Leeds and Keithlard from #gllug and http://gimpel.gi.funpic.de/wiki/index.php?title=Howto:convert_aac/mp4_to_wav/mp3/ogg_on_Linux

for nam in *.mov; do nice mplayer -ao pcm $nam -ao pcm:file=”$nam.wav” && nice lame -h -b 192 $nam.wav $nam.mp3; rm $nam.wav; done

I had a shot at tagging this onto the end of bashpodder but it wasn’t pulling down the mov files so I’ll have a look at that later.

Advertisements

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