Subject: Re: [ecasound] FLAC
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Fri Jul 09 2004 - 17:53:38 EEST
I've just commited basic FLAC support, implementation based on forking
'flac' command-line tool, to Ecasound CVS. This closes 'edi-32' which was
originally opened on 17.10.2004 (see msg below).
Now while this implementation works for many uses, this has the same
problems as do other "fork-based" audio format modules (mp3, ogg,
timidity, mikmod). Probably the most serious is that Ecasound does not
know what format the decoders will produce. This means that you might need
to manually set correct format parameters with ecasound's -f option for
decoding to work properly.
With mp3s the situation is a little better as we have separate code for
mp3 header parsing. This allows us to query channel-count, srate, and
other params from the mp3 header but even this is not perfect. The same
good be done for FLAC (and for Ogg Vorbis), but this is not high on my
priority list... MikMod and Timidity are little easier as the
decoders/renderers allow to set the output format explicitly.
Anyways, I needed FLAC support for my own uses, so I added this simple
implementation now. Hopefully we'll later get better FLAC support via
On Tue, 29 Oct 2002, Kai Vehmanen wrote:
> On 17 Oct 2002, Nolan J. Darilek wrote:
> > I currently use FLAC (http://flac.sourceforge.net) as my format of
> > choice for archiving audio before conversion to various formats. How
> > difficult would it be to add FLAC support to Ecasound? I wish I was
> Depends on the level of support. Full-support (using libflac or libflac++)
> will involve quite a lot of work. A fork+pipe support (as is the case with
> mp3, ogg and others) would be easier, but you would lose in functionality
> (things like seeking are difficult to implement if using pipes). I don't
> have time to do this just now (at least not before 2.2.0), but I made an
> edi of it anyway:
> (edi-32): FLAC support.
> - submitted: nolan_d, 17.10.2002
> I also made another audio-i/o related edi:
> (edi-33): Libsndfile support.
> - submitted: kaiv, 29.10.2002
> Libsndfile seems to just keep on improving, and is used in a lot of apps.
> My plan is not to make it a required component, but use it to provide
> support for more exotic fileformats.
> Btw; If you look at http://www.zip.com.au/~erikd/libsndfile/ ...
> it might be that in the future we could get vorbis and
> flac support through libsndfile...
> Audio software for Linux!
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
-- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Fri Jul 09 2004 - 17:53:50 EEST