[gstreamer-bugs] [Bug 575929] New: faac cannot guess the correct rate if the stream if it is 8000

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 19 03:53:48 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=575929

  GStreamer | gst-plugins-bad | Ver: 0.10.21
           Summary: faac cannot guess the correct rate if the stream if it
                    is 8000
           Product: GStreamer
           Version: 0.10.21
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: jordijp at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Try this two pipelines:

Sender:

gst-launch-0.10 -v audiotestsrc ! mulawenc ! rtppcmupay ! udpsink

Receiver:

gst-launch-0.10 -v udpsrc ! application/x-rtp, media=audio, clock-rate=8000,
payload=0 ! rtppcmudepay ! mulawdec ! audioresample ! audioconvert ! faac !
faad ! alsasink

Then this is what happens:

(...)

/GstPipeline:pipeline0/GstFaac:faac0.GstPad:sink: caps = audio/x-raw-int,
width=(int)16, depth=(int)16, endianness=(int)1234, signed=(boolean)true,
rate=(int)8000, channels=(int)1
ERROR: from element /GstPipeline:pipeline0/GstFaac:faac0: Internal GStreamer
error: negotiation problem.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstfaac.c(640): gst_faac_chain (): /GstPipeline:pipeline0/GstFaac:faac0:
failed to negotiate MPEG/AAC format with next element

Workaround:

gst-launch-0.10 -v udpsrc ! application/x-rtp, media=audio, clock-rate=8000,
payload=0 ! rtppcmudepay ! mulawdec ! audioresample ! audio/x-raw-int,
rate=44100 ! audioconvert ! faac ! faad ! alsasink

Using caps seems to solve the problem, although faac according to its
gst-inspect should be able to coupe with rates of 8000.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=575929.




More information about the Gstreamer-bugs mailing list