Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 108141
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Gstreamer Herd <gstreamer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sylvain BERTRAND <sylvain.bertrand@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 108141 depends on: Show dependency tree
Bug 108141 blocks: 103197
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-04 19:15 0000
ERROR: from element /pipeline0/a52dec0: Internal GStreamer error: pad problem. 
File a bug.
Additional debug info:
gstpad.c(2562): gst_pad_set_explicit_caps: /pipeline0/a52dec0:
failed to negotiate (try_set_caps with "audio/x-raw-float, endianness=(int)1234,
width=(int)32, channels=(int)6, rate=(int)48000, buffer-frames=(int)0,
channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_LFE,
GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER,
GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT,
GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT >" returned REFUSED)
ERROR: from element /pipeline0/a52dec0: Internal GStreamer error: negotiation
problem.  File a bug.
Execution ended after 1 iterations (sum 405751000 ns, average 405751000 ns, min
405751000 ns, max 405751000 ns).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Sylvain BERTRAND 2005-10-04 19:16:31 0000 -------
The most pertinent command line I used to generate the error:
$gst-launch-0.8 dvdreadsrc title=1 chapter=1 ! dvddemux name=toto
toto.current_audio ! a52dec ! alsasink

------- Comment #2 From Giacomo Perale 2005-10-05 16:37:18 0000 -------
could it be the (in)famous alsasink problem?

http://bugzilla.gnome.org/show_bug.cgi?id=315121

------- Comment #3 From Sylvain BERTRAND 2005-10-05 18:14:22 0000 -------
Rhythmbox works fine.
If I use the "device=hw:0' property on the alsasink filter it does refuse to start.
Maybe this bug is related.

------- Comment #4 From John N. Laliberte (RETIRED) 2005-10-06 15:25:09 0000 -------
this bug does look like the upstream ones that debian users reported.

have you tried this? from (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305189)
"
 I suspect this is because alsasink doesn't work "out of the box" with
 your alsa driver.  Please try the following two tests:
 1/ try running the very same pipeline with "! alsasink device=hw:0" at
 the end of the pipeline

 2/ try creating a .asoundrc file in your home directory with the
 following content:
    pcm.!default {
    type hw
    card 0
    }

    ctl.!default {
    type hw
    card 0
    }
 and then try a pipeline with alsasink (without the device= flag).
"

if you already have a .asoundrc, another suggestion was to get rid of it ( move
it ) and try again.

Report back results.  We'll probably follow upstream on this.

------- Comment #5 From Sylvain BERTRAND 2005-10-06 17:06:39 0000 -------
With the provided asoundrc file, I get the same error than without the asoundrc
file and with alsasink device=hw:0

$gst-launch-0.8 dvdreadsrc title=1 chapter=1 ! dvddemux name=toto
toto.current_audio ! a52dec ! alsasink device=hw:0
EXECUTION du tube en cours ...
libdvdread: Using libdvdcss version 1.2.9 for DVD access
No accelerated IMDCT transform found

(gst-launch-0.8:7404): GStreamer-WARNING **: element a52dec0 claimed
state-change success,but state didn't change to PAUSED. State is READY (PAUSED
pending), fix the element
ERROR


I suspect a mismatch between my alsa module in kernel 2.6.13-r3 and my alsa
userland... I'm going to recompile all that... if it does work I'll be back
shortly, if not...

------- Comment #6 From Sylvain BERTRAND 2005-10-18 17:16:06 0000 -------
Does not work...

------- Comment #7 From Sylvain BERTRAND 2005-10-23 18:15:31 0000 -------
Updated to alsa 1.0.10rc2. I got it working with:

gst-launch-0.8 dvdreadsrc location=/dev/hdc ! dvddemux name=foo
foo.current_audio ! a52dec ! audioconvert ! alsasink device=hw:0

I must use the audioconvert filter and must use the device=hw:0(or the .asoundrc
file) parameter in order to make everything work properly.
I tried esdsink... unable to get sound from it.

------- Comment #8 From Sylvain BERTRAND 2005-11-08 14:44:12 0000 -------
Gone with alsa 1.0.10rc3

------- Comment #9 From Zaheer Abbas Merali (RETIRED) 2005-11-27 06:36:25 0000 -------
This is not a bug, you need an audioconvert between a52dec and alsasink

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug