[Gstreamer-bugs] [Bug 142286] New: - The au plugin cannot play au files encoded with ulaw

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon May 10 09:59:26 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=142286
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: The au plugin cannot play au files encoded with ulaw
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: brian.cameron at sun.com
         QAContact: gstreamer-maint at bugzilla.gnome.org


When I try to play an au file encoded with mp3 with the following command:

$ gst-launch filesrc location=ring.au ! auparse ! esdsink

I get these errors:

offset 48, size 39111, encoding 1, frequency 8000, channels 1
ERROR        GST_PADS(16761) gstpad.c(2472):gst_pad_set_explicit_caps:<auparse0>
(null)
ERROR        GST_PADS(16761) gstpad.c(2472):gst_pad_set_explicit_caps:<auparse0>
failed to negotiate (try_set_caps with "audio/x-alaw, rate=(int)8000,
channels=(int)1" returned REFUSED)
ERROR: from element /pipeline0/auparse0: Internal GStreamer error: pad problem.
 File a bug.
Additional debug info:
gstpad.c(2472): gst_pad_set_explicit_caps: /pipeline0/auparse0:
failed to negotiate (try_set_caps with "audio/x-alaw, rate=(int)8000,
channels=(int)1" returned REFUSED)
Execution ended after 1 iterations (sum 869000 ns, average 869000 ns, min 869000
ns, max 869000 ns)

You can see from the error messages that it is complaining about the following:

failed to negotiate (try_set_caps with "audio/x-alaw, rate=(int)8000,
channels=(int)1" returned REFUSED)

It should be calling try_set_caps with ulaw, not alaw.  When I run "file
ring.au" I can see it is encoded with ulaw.  Here is the output:

ring.au:        audio data: 8-bit u-law, mono, 8000 Hz

I've attached the ring.au file since it is small (39k), so you can debug it.

I need to backport the fix for this bug to Gstreamer 0.8.0, so if the person
who fixes this bug could attach the patch to this bug report, that would be
helpful.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list