>>
Hi,
i've found this script in my script collection, hope it will help you ;=)
#!/bin/sh
# ------------------------------------
# ogg to mp3 converter script
# Requirements:
# - ogg123 (the command!)
# - lame
# ------------------------------------
# step1: ogg to wav
#
for i in *.ogg; do
input=$(ls $i | sed -e 's/ /_/g')
out=$(ls $input | sed -e 's/.ogg//g')
ogg123 -d wav -f "$out.wav" $input
done
#
# step2: wav to mp3
#
for i in *.wav; do
out=$(ls $i | sed -e 's/.wav//g')
lame -v -h -b 192 "$i" "$out.mp3"
done
rm *.wav
echo "Conversion done! :)"
#
# end
>I have googled and I must be using the wrong search as all I can find is Win32 apps. Whats the best way to convert a ogg file to an mp3 file?
>>The nearest I can find is mp32ogg but no ogg2mp3 script
>Thanks
>Jason
>--
>Jason.
>>Fortune :
>hardware stress fractures
>--
>Irish Linux Users' Group mailing list
>About this list : http://mail.linux.ie/mailman/listinfo/ilug>Who we are : http://www.linux.ie/>Where we are : http://www.linux.ie/map/--
Pawel Slabiak
Linux Services
Systemingenieur
http://www.linux-services.org
mail: p.slabiak at linux-services.org
Linux Services - Dienste rund um Linux...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!