you need:
1) mplayer with all its plugins
2) oggenc (i.e. ogg support - comes default in most distros, i use FC5)
3) use the following script (toogg.csh) to convert the files
------------------------------------------
#~/bin/csh
mplayer -ao pcm "$1"
set quality = $2
if (null$quality == null) set quality = hi
if ($quality == lo) then
# useful for your mono phones (like 6600)
oggenc --downmix --resample 8000 -q 1 audiodump.wav
else
oggenc audiodump.wav
endif
mv audiodump.ogg "$1:t:r".ogg
rm -f audiodump.*
------------------------------------------
and enjoy the freedom in music (or videos) :)
1 comment:
Thanks for the post..
Here is online free mp3 to ogg converter
convert mp3 to ogg
Post a Comment