[Flac-dev] new cmd-line, decoding troubles
Josh Coalson
xflac at yahoo.com
Wed May 9 14:42:42 PDT 2001
> > > And when i give it multiple files like 'flac -d -c -fr -fb
> foo1.flac
> > > foo2.flac', it decode only first file.
> >
> > The -c option is supposed to send output to stdout, yes? Then the
> logical
> > behavior would be to decode and concatenate each of the files. But
> is this
> > really useful with audio data? This would only work for raw format
> output, and
> > all of the files would have to have the same sample rate, size,
> sign and
> > channels (byte order could be converted on the fly, I suppose).
>
> Yes, this is really usefull for me, i'm working only with raw data. I
> know, i
> can do (for i in *.flac;do flac -c -fr -fb -d "$i";done) | ... But
> gzip can
> do this, so why flac shouldn't?
>
ok, this was caused by a bug in decode.c where it would close stdout
after each file. I fixed it and checked it in.
Josh
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
More information about the Flac-dev
mailing list