After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721640 - [pitivi] Plugin missing when rendering
[pitivi] Plugin missing when rendering
Status: RESOLVED DUPLICATE of bug 686181
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2014-01-06 16:28 UTC by Alex Băluț
Modified: 2014-11-24 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Alex Băluț 2014-01-06 16:28:29 UTC
In Pitivi, when rendering mkv/x264enc/vorbis, I get quickly a message that rendering failed and the detailed message says I'm missing a plug-in:

Your GStreamer installation is missing a plug-in.

gstdecodebin2.c(3896): gst_decode_bin_expose (): /pitivi+utils+pipeline+Pipeline:pitivi+utils+pipeline+pipeline0/GESTimeline:gestimeline0/GESAudioTrack:gesaudiotrack0/GnlComposition:gnlcomposition1/GnlSource:gnlsource139/GstBin:audiosrcbin/GstURIDecodeBin:uridecodebin144/GstDecodeBin:decodebin106:
no suitable plugins found

The message should say what exactly it was looking for that it did not find, for example some string identifying the decoder, otherwise the message is not very useful.

The strange part is that when I play the project in Pitivi it plays just fine, there does not seem to be any decoder missing. The project has ~100 MTS files.
Comment 1 Sebastian Dröge (slomo) 2014-01-06 17:08:48 UTC
Can you provide a testcase to reproduce that?

There will be another error message before that which contains the type of the missing plugin.
Comment 2 Sebastian Dröge (slomo) 2014-01-06 17:09:35 UTC
pitivi is probably not handling the missing-plugin messages properly here. If you can't provide a testcase, can you provide a debug log with GST_DEBUG=6?
Comment 3 Alex Băluț 2014-01-08 19:14:43 UTC
The bug does not appear if I use GST_DEBUG=3, for example. With 6 it's ridiculously slow, the project has ~100 files.
Comment 4 Jean-François Fortin Tam 2014-01-09 18:01:25 UTC
Yay, a race?

In any case... we use gst discoverer to import the clips to begin with, shouldn't it have detected that there was a decoder missing for one of the clips? How come this would be hit only at render/playback time? (in other words, I don't see why Pitivi should be trying to catch errors at render time when it should already have failed much earlier in the process)
Comment 5 Alex Băluț 2014-01-09 19:49:10 UTC
I confirm, a race: I press render/cancel and sometimes it renders, sometimes it shows quickly the error message.

Not sure if it matters, I tried to catch the missing-plugin message, but none seems to be generated, and for good reason, because as I said the project plays fine in Pitivi:
    def _busMessageCb(self, unused_bus, message):
        if GstPbutils.is_missing_plugin_message(message):
            print 1111111111, GstPbutils.missing_plugin_message_get_description(message), GstPbutils.missing_plugin_message_get_installer_detail(message)
Comment 6 Tim-Philipp Müller 2014-11-24 18:21:21 UTC
GstDiscoverer now (in 1.4) has sane API to notify about missing plugins. Can this be closed, or should it be moved to pitivi?

Still not sure where exactly the bug is supposed to be?
Comment 7 Thibault Saunier 2014-11-24 22:35:53 UTC
OK, I concider this is a duplicate of: #686181 as basically we should offer a nice way to be informed of missing plugins, and then let GES retries when it is done withing GES.

*** This bug has been marked as a duplicate of bug 686181 ***