[gstreamer-bugs] [Bug 386691] [vorbisenc] not-negotiated error with bitrate=32000 and 2 channels

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jan 28 06:45:49 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=386691

  GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
          Component|gstreamer (core)            |gst-plugins-base
     Ever Confirmed|0                           |1
           Priority|High                        |Normal
            Summary|shout2send0                 |[vorbisenc] not-negotiated
                   |                            |error with bitrate=32000 and
                   |                            |2 channels
   Target Milestone|NONE                        |HEAD
            Version|0.10.10                     |HEAD CVS




------- Comment #7 from Tim-Philipp Müller  2007-01-28 14:44 UTC -------
The problem comes from the 'bitrate' parameter you pass to vorbisenc it seems,
somehow the encoder library can't be set up correctly:


vorbisenc.c:772:gst_vorbisenc_setup:<vorbisenc0> vorbis_encode_setup_managed (c
2, rate 44100, max br -1, br 32000, min br -1) failed
gstpad.c:2365:gst_pad_set_caps:<vorbisenc0:sink> caps audio/x-raw-float,
rate=(int)44100, channels=(int)2, endianness=(int)1234, width=(int)32 could not
be set


Can be reproduced with:

gst-launch-0.10 audiotestsrc ! audioconvert ! audio/x-raw-float,channels=2 !
vorbisenc bitrate=32000 ! fakesink


Seems to go away when using only one channel or a higher bitrate (>=45000).


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list