GNOME Bugzilla – Bug 705134
Missing plugin message fired due to Kate subtitles
Last modified: 2014-02-03 12:02:07 UTC
I am testing using the file A_Digital_Media_Primer_For_Geeks-360p.ogv which was released by Xiph.org. It is an Ogg file containing Kate subtitle streams. The issues I see are this: ** Message: PackageKit: xid = 50331651 ** Message: PackageKit: Codec nice name: text/x-raw decoder ** Message: PackageKit: ignoring field named format ** Message: PackageKit: structure: gstreamer1(decoder-text/x-raw)()(64bit) ** Message: PackageKit: Did not install codec: ** Message: PackageKit: xid = 50331651 0:00:07.390066036 6515 0x1c6b1e0 ERROR kateutil gstkateutil.c:321:gst_kate_util_decoder_base_chain_kate_packet:<katedec13:src> Failed to set caps text/x-raw, format=(string)utf8 I have not found a way yet to reproduce this outside Transmageddon. Full debug log here: http://uraeus.fedorapeople.org/kate.log.bz2
What are you doing with subtitles in transmageddon? Do you have any autoplug-* signal handlers on decodebin/uridecodebin? text/x-raw should be considered as raw, thus nothing should look for a decoder for it. From the debug log the behaviour of decodebin here looks rather confusing.
I am not doing anything with the subtiles, this is just default behaviour in uridecodebin. Since encodebin doesn't support subtitles yet I just leave the subtitle streams unconnected.
Christian, you changed the status to assigned. Do you intend to work on it ?
And you don't have any special autoplug-* signal handlers on uridecodebin? Do you set the "caps" property to something (to what?)?
Not really, here is what I do with uridecodebin: self.uridecoder = Gst.ElementFactory.make("uridecodebin", "uridecoder") self.uridecoder.set_property("uri", self.streamdata['filechoice']) self.uridecoder.connect("pad-added", self.OnDynamicPad) self.uridecoder.connect('source-setup', self.dvdreadproperties) if (self.audiodata[0]['dopassthrough']) or (self.videodata[0]['dopassthrough']) or (self.videodata[0]['outputvideocaps']=="novid"): self.uridecoder.set_property("caps", self.remuxcaps) self.uridecoder.set_state(Gst.State.PAUSED) self.pipeline.add(self.uridecoder) As you see the 'caps' property is only set when remuxing, which was not the case here. And the pad-added signal got code that says to ignore any 'text/' pads appearing.
Closing this as it is no longer an issue with my current code, as that stop trying to decode all subtitles.