ogg to mp3 conversion

Dawes, Stephen Stephen.Dawes at calgary.ca
Thu Jun 17 09:34:10 EDT 2004


Hold on here, this would only do have of what is asked. That is you are only converting the .ogg file to a .wav file with your suggested command.

I don't know the command for converting wav to mp3, but I do know that is what is missing from the last response.

Also missing would be a loop so that the whole directory of files could be done in one sweep.

So what I would do is:
Change into the directory where the files are located that you want to convert.
Then do a for loop that might look like:
For F in *.ogg ; do
Then the command to do the conversion from ogg to wav that was previously posted.
Then the command to convert wav to mp3
Then remove the wav file, because it eats up a tun of space
Then end the for loop with the command:
Done

If I knew the wav to mp3 command, I would have just written the for loop for you, but as I mentioned earlier, I don't so you will need to figure that part out.

HTH


Steve Dawes
Phone: (403) 268-5527
Email: SDawes at calgary.ca



NOTICE::
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: speakup-bounces at braille.uwo.ca 
> [mailto:speakup-bounces at braille.uwo.ca] On Behalf Of Sandi Sørensen
> Sent: 2004 June 17 7:03 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: ogg to mp3 conversion
> 
> 
> On Thu, 17 Jun 2004, Jack Mendez wrote:
> 
> > Date: Thu, 17 Jun 2004 08:09:00 -0400
> > From: Jack Mendez <wiler1 at earthlink.net>
> > Reply-To: Speakup is a screen review system for Linux.
> >     <speakup at braille.uwo.ca>
> > To: Speakup is a screen review system for Linux. 
> > <speakup at braille.uwo.ca>
> > Subject: ogg to mp3 conversion
> >
> > 	any good solutions for converting gobs of ogg files to 
> mp3 with out 
> > loss of audio quality?
> >
> ogg123 -d wav -f filename.wav filenme.ogg
> there ya go
> 
> /Sandi
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca 
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> -- 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca 
> http://speech.braille.uwo.ca/mailman/listinfo/> speakup
> 




More information about the Speakup mailing list