gstmpegdemux: subtitle pads not created

Sachs Jürgen Sachs.Juergen at metz-ce.de
Wed May 11 13:27:52 UTC 2016


Hi all,
I've a problem decoding files using gstmpegdemux (MPEG PES streams, VOB files). When I launch gst-play, gst-launch etc. with some of this kind of files, I do not get the subtitle tracks. (Indeed I do not want to use gst-play & co - I'm maintaining a GStreamer application)

The reason for this is that the demux "looks for substreams" for ~2s and then sending the "no-more-pads" message. After the message the demux does not create new pads. Unfortunately the subtitles start later in the stream...

Is there a recommended way how to handle such situations on application level? 
 * I found similary issue in https://bugzilla.gnome.org/show_bug.cgi?id=747616, is there a workaround available
 * possibly I can check something using pad probes or other "tricks" every some seconds and reconstruct the pipeline in case of subtitles are to be decoded?

Thanks for any hints and ideas that can help
/Juergen


More information about the gstreamer-devel mailing list