ogg to mp3 conversion

Steve Holmes steve at holmesgrown.com
Thu Jun 17 15:37:59 EDT 2004

Hash: SHA1

Actually, I think there's a way to get ogg123 to send .wav format to
the stdout pipe.  Yes, for sure to look at the man page for latest
correct details.  I do just that with a script I use to convert flac
to ogg and to mp3.  In that case, the intermediate format is
definitely .wav though.

Jack was looking for a "direct" path with no intermediate holding
area, pipe, etc. and AFAIK that is probably impossible.

On Thu, Jun 17, 2004 at 12:51:27PM -0500, Thomas Stivers wrote:
> On Jun 17 2004  9:16 AM, Steve Holmes wrote:
> > I don't think you can... I think each of these compression schemes
> > have a decode path to the common .wav format but I don't see any way
> > to go directly.  Ogg doesn't know about mp3 and mp3 don't know
> > anything about ogg if ya know what I mean.
> The best you can do is to pipe ogg123 or oggdec to standard output and
> then have lame read from standard input. This takes a bit of fiddling
> because you have to use raw pcm data on the pipe and you have to give
> both programs the right options to handle the raw samples. You'll have
> to look at the relevent man pages for the details, but it should be
> pretty easy to script.
> -- 
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
> Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

- -- 
HolmesGrown Solutions
The best solutions for the best price!
Version: GnuPG v1.2.3 (GNU/Linux)


More information about the Speakup mailing list