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: Kai Vehmanen (kvehmanen_AT_eca.cx)
Date: Fri Dec 17 2004 - 10:30:21 EET


Hello all,

> I've received the following bugreport from a Debian user.
> I have a feeling that it's more of a problem with
> oggenc, but is anyone working with this, or worked around this
> before?

oggenc from vorbis-tools-1.0-3 handles this situation just fine. But it's
also possible to avoid the problem by explicitly setting the bitrate on
the command-line:

ecasound -i foo.wav -o foo.ogg,64000

This will run oggenc with:
oggenc -b 64 --raw --raw-bits=16 --raw-chan=2 --raw-rate=22050 --raw-endianness 0 --output=foo.ogg -

...

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. :)

...

the original bug report:
--cut--
> At Sun, 5 Dec 2004 12:44:37 +0000, Martin Michlmayr wrote:
> >
> > Package: ecasound
> > Version: 2.3.5-6
> > Severity: normal
> >
> > Recording audio in OGG format with low bit-rates doesn't work. For
> > example,
> > ecasound -f:16,1,22050 -i /dev/dsp -o somefile.ogg
> > fails to write the .ogg file and we get the (unhelpful) error:
> > | (eca-engine) Warning! An output object has raised an error! Out of disk
> > | space, permission denied, etc?
> >
> > ecasound seems to run:
> > oggenc -b 128 --raw --raw-bits=16 --raw-chan=1 --raw-rate=22050 \
> > --raw-endianness 0 --output=somefile.ogg -
> > but the -b 128 option is incompatible with the bit-rate. Removing
> > -b 128 works for me, but I don't know if that's acceptable as a
> > general solution.
--cut--

-- 
 http://www.eca.cx
 Audio software for Linux!


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 17 2004 - 10:28:15 EET