GNOME Bugzilla – Bug 414879
[decodebin] fails to play audio of alien.mpg while decodebin2 does
Last modified: 2009-08-12 19:04:29 UTC
The following command block without outputting any sound most of the time: gst-launch filesrc location=alien.mpg ! decodebin ! audioconvert ! audioresample ! alsasink When using decodebin2 it work reliably. If you don't know what video alien.mpg is, ask for it and I will send it to you or post it as attachment.
I can reproduce.
I can't reproduce this. - is this with the mpeg demuxer from -ugly? - does this still happen with current CVS (in particular -ugly CVS)? - could you attach a GST_DEBUG=*:5 log of the failure please?
Created attachment 88738 [details] gst debug log level 5
gst-launch filesrc location=alien.mpg ! decodebin ! audioconvert ! audioresample ! alsasink
interesting comment, jan :) it is the same pipeline as above.
now i get it, i didn't use it for my debug log...doing another one
Created attachment 88739 [details] gst debug level 5
Actually, the comment I wrote wasn't the one that bugzilla posted :) What I wrote was something like: "I've seen strange hangs like that using the Fluendo MPEG demuxer, where it doesn't pre-roll if all the pads aren't connected, but I've never had time to figure out exactly what's going on. Certainly with the -ugly demuxer (which is what I have installed right now) I can't reproduce the problem"
Just speculating, but the fluendo mpeg demuxer has broken pad templates, maybe that throws off decodebin somewhere when querying for caps or leads to different results with _get_caps() or something?
I'll concede it's possible. Seems strange though - can you see anywhere specific that the pad name maps onto the template for Sometimes pads? To go from pad to pad_template, one follows the padtemplate pointer on the pad structure and the name doesn't matter.
is this still reproduceable with current releases ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!