[Flac-dev] converting flac to ogg/flac?

Erik Hovland erik at hovland.org
Mon Jun 21 09:43:03 PDT 2004


On Mon, Jun 21, 2004 at 08:47:07AM -0700, Erik Hovland wrote:
> On Mon, Jun 21, 2004 at 04:31:02PM +0200, smoerk wrote:
> > how can i convert a flac file to an ogg/flac file without decoding/encoding?
> 
> You can't. They are two different sound formats. So different that one
> is lossless while the other is lossy. You can decode/encode on the fly:
> flac -d -c <flacfile> | oggenc -q 6 -o <oggfile> -

Dang, didn't read the /flac on the end of that ogg. Sorry. Two different
containers. Not different encodings. My mistake.

Not sure if you can switch containers w/out re-encoding. But you can
also do this one on the fly too:
flac -d -c <filename>.flac | flac --ogg -o <filename>.ogg -

E

-- 
Erik Hovland
mail: erik at hovland.org
web: http://hovland.org/
PGP/GPG public key available on request




More information about the Flac-dev mailing list