ogg to mp3 conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA0dof5JK61UXLur0RAvz8AJwIgdXxOwv0K2qKuyfw57x5qx+oPQCZAWpu
exAXKnvXFhac3JNEzzv65ok=
=T4S1
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux