Today I converted all my mp3 files to ogg !
Ogg is an audio format which is superior to mp3 in quality and compression, and most importantly it is open.Visit http://playogg.org for more details on ogg format.
Wrote a small script for doing that :
MP3=$1
OGG=`dirname $MP3`/`basename $MP3 mp3`ogg
if [ $# -lt 1 ]
then
echo "usage: mp3toogg input.mp3";
else
mpg123 -w - $MP3 | oggenc -o $OGG -
fi
though it took a whole day to convert 10 Gb of my music, I saved 2 GB of space when it was finally done.
No comments:
Post a Comment