Switching from playbin to uridecodebin (glupload & audio)

Gottfried Haider gottfried.haider at gmail.com
Fri Sep 16 10:10:48 UTC 2016


Hello all,

I have this pipeline as part of Processing's glvideo library, that
works great - but doesn't play audio:

uridecodebin uri=... ! glupload name=glup ! glcolorconvert !
capsfilter name=filter ! fakesink name=vsink

So I tried this instead

uridecodebin uri=... name=decoder ! queue ! audioconvert !
audioresample ! autoaudiosink sync=false decoder. ! queue ! glupload
name=glup ! glcolorconvert ! capsfilter name=filter ! fakesink
name=vsink sync=false

which just hang. (The particular mp4 file I was testing this with had
not audio track if that matters.)


Should the second pipeline work in theory? Any other things I could
try to get something like a playbin-like source element that would
also play audio tracks, if the source has one? I uploaded a dot file
of the second pipeline on OS X  for you to look at[1].

(If the pipeline looks right it might just be that the audio decoding
hits this bug [2] on OS X.)


Thanks in advance
Gottfried


[1] https://bugzilla.gnome.org/show_bug.cgi?id=768630
[2] https://sukzessiv.net/~gohai/gstreamer/uridecode-audio.png


More information about the gstreamer-devel mailing list