Re: [ecasound] Re: Bug#284312: OGG recording with low bit-rates doesn't work

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Re: Bug#284312: OGG recording with low bit-rates doesn't work
From: Aaron Heller (heller_AT_AI.SRI.COM)
Date: Fri Dec 31 2004 - 10:15:32 EET


--On Friday, December 17, 2004 10:30 +0200 Kai Vehmanen <kvehmanen_AT_eca.cx>
wrote:

> As a more general comment, I do admit that maintaining support for these
> external tools is a difficult task and most of the (maintainable) ways to
> work with them are more fragile than native support via libraries. OTOH,
> with libraries you have the extra burdon of maintaining autoconf/m4 macros
> to adapt to all the different versions and ways to install theexternal
> libraries, which is a not a simple task either. ;)
>
> Good ideas on how to improve the situation are very welcome. :)
>
You could have a way to specify a number of "presets" for these external
tools, which would have things like bitrate or quality specified literally.
Then, the number (or string) after the filename on the commandline would
simply select that preset. E.g,

ext-cmd-ogg-output,vbrlq = oggenc -q 0 --raw --raw-bits=%b --raw-chan=%c
--raw-rate=%s --raw-endianness 0 --output=%f -

ext-cmd-ogg-output,vbrhq = oggenc -q 5 --raw --raw-bits=%b --raw-chan=%c
--raw-rate=%s --raw-endianness 0 --output=%f -

ext-cmd-ogg-output,cbr196 = oggenc -b 196 --raw --raw-bits=%b --raw-chan=%c
--raw-rate=%s --raw-endianness 0 --output=%f -

ecasound -i:foo.wav -o:foo.ogg,vbrlq to use the first preset


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Dec 31 2004 - 10:15:56 EET