--- On Wed, 1/4/09, sanalkumar mr <[email protected]> wrote: > From: sanalkumar mr <[email protected]> > Subject: Re: [ILUG-Cochin.org] bulk_mp3_to_ogg_conversion > To: "Mahesh Aravind" <[email protected]> > Date: Wednesday, 1 April, 2009, 7:52 AM > Dear all.....Here I'm giving how I > solved the problem with "dir2ogg". Its man page > has a > lot of options to convert mp3 to ogg without losing its > quality.I tried > it with success.Here's an example > sa...@debian:~$ dir2ogg --mp3-decoder=mplayer -d -r -t > --delete-input /home/sanal/songs2/classic_kathakali_carnatic/ > > It (dir2ogg) can convert wma and wmv to ogg.There are other > decoder > options also , but mplayer keeps the audio quality (in my > experience)The -d -r options converts the mp3 files of the > directory > recursively. The --delete-input option deletes the input > mp3 files > after conversion. Use this option only after you are > satisfied with the > audio quality. The -t option keeps the same audio quality > of the mp3 > file.Thanks a lot for the support from Jos Collin and > Mahesh Aravind > > > On Tue, Mar 31, 2009 at 8:37 PM, > sanalkumar mr <[email protected]> > wrote: > > Dear sir.....dir2ogg is very > convenient and thanks a lot for your support > > > > On Tue, Mar 31, 2009 at 5:16 PM, > Mahesh Aravind <[email protected]> > wrote: > > > > > > > > > --- On Sun, 15/3/09, sanalkumar mr <[email protected]> > wrote: > > > > > Dear all.....Can anybody suggest, > > > howto convert bulk mp3 files to ogg using ffmpeg, > > > recursively, keeping its old filenames and subfolder > names, > > > just like renaming files as sanal.mp3 to > > > sanal.ogg.........is it possible? Plz help.....THANKS > in > > > advance. > > > > > > > Quite possible. > > > > Suppose "mp3" is the directory where MP3s reside, > and you want to put Ogg files to 'ogg' directory. > Run this is the mp3 directory > > > > for i in * > > do > > ffmpeg -i $i ../ogg/$(basename $i .mp3).ogg > > done > > > > um.. I'm on windows now, can somebody check the script > for typos ;) > > > > Unix filenamings are case sensitive, so it'd be better > if you had ".mp3" instead of ".MP3". Run > this rename-filename-lowercase-script > > > > mkdir ../mp3-lower > > for i in * > > do > > si=`echo $i | tr [[:upper:]] [[:lower:]]` > > mv $i ../mp3-lower/$si #can use cp(1) here if you want > > done > > > > > > > > > > > > Get perfect Email ID for your Resume. Grab now > http://in.promos.yahoo.com/address > > > > > > > -- > പറയാതെ പരിഭവം > നീയൊന്നു മുടി കോതി- > ക്കഴിയുമ്പൊഴായുസ്സു > തീരും > പറയാതെ പരിഭവം > ഞാനൊന്നു > നെടുവീര്പ്പിട്ടു- > കഴിയുമ്പോള് ലോകവും > തീരും.......... > > > > > > -- > പറയാതെ പരിഭവം > നീയൊന്നു മുടി കോതി- > ക്കഴിയുമ്പൊഴായുസ്സു > തീരും > പറയാതെ പരിഭവം > ഞാനൊന്നു > നെടുവീര്പ്പിട്ടു- > കഴിയുമ്പോള് ലോകവും > തീരും.......... > > Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ _______________________________________________ Mailinglist mailing list [email protected] http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
