rm_to_wav.sh
--------------------
basename=`echo $1 |awk -F. '{print $1}'`
mplayer -cache 32 -ao pcm -ao pcm:file=$basename.wav $1
wav_to_mp3.sh
----------------------
basename=`echo $1 |awk -F. '{print $1}'`
lame -V2 $1 $basename.mp3
Usage:
-----------
rm_to_wav.sh
wav_to_mp3.sh filename.wav
I just use grip :-)
ReplyDeleteWow, I thought you were against using GUI ;-)
ReplyDeleteHave you a tool to convert visual media files to a common format, say DivX?
ReplyDeleteMany a times, I would want to watch a movie/video sometime later which is available in physical media like CD/DVD, but carrying it around everywhere is impracticable. If only they could be copied (legally for personal use) as a single file for viewing later by a tool, I'd just be one of its frequent users!