Getting playbin plugin works on Gstreamer-0.11.1

Angel Guzman Maeso shakaran at gmail.com
Mon Nov 7 20:28:33 PST 2011


Any response? Please, could someone help me?

On configure file generated shows only this plugins. No mention to playbin
or playbin2 (only playback)

GST_PLUGINS_ALL =  adder app audioconvert audiorate audiotestsrc encoding
videoconvert gdp playback audioresample subparse tcp typefind videotestsrc
videorate videoscale volume
GST_PLUGINS_BASE_CFLAGS = -I$(top_srcdir)/gst-libs
-I$(top_builddir)/gst-libs
GST_PLUGINS_DIR = /usr/local/lib/gstreamer-0.11
GST_PLUGINS_NONPORTED =
GST_PLUGINS_SELECTED =  adder app audioconvert audiorate audiotestsrc
encoding videoconvert gdp playback audioresample subparse tcp typefind
videotestsrc videorate videoscale volume

On GST_PLUGINS_DIR location, only appears this:

$ ls /usr/local/lib/gstreamer-0.11/libgst
libgstcoreelements.la  libgstcoreelements.so  libgstcoreindexers.la
libgstcoreindexers.so

But for 0.10 I only found this:
$ ls /usr/local/lib/gstreamer-0.10/libgst
libgstpython.la  libgstpython.so

Using the code examples, playbin-text.c fails too:

  App *app = &s_app;
  GstBus *bus;
  GstCaps *subcaps;

  gst_init (&argc, &argv);

  /* create a mainloop to get messages */
  app->loop = g_main_loop_new (NULL, TRUE);

  app->playbin = gst_element_factory_make ("playbin2", NULL);
  g_assert (app->playbin);

gst-plugins-base-0.11.1/tests/icles/playbin-text
file:///home/user/somefile.ogv

(playbin-text:10818): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed

(playbin-text:10818): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed

(playbin-text:10818): GLib-GObject-WARNING **: invalid (NULL) pointer
instance

(playbin-text:10818): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(playbin-text:10818): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed

(playbin-text:10818): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed

(playbin-text:10818): GStreamer-CRITICAL **: gst_element_get_bus: assertion
`GST_IS_ELEMENT (element)' failed

(playbin-text:10818): GStreamer-CRITICAL **: gst_bus_add_watch_full:
assertion `GST_IS_BUS (bus)' failed

(playbin-text:10818): GLib-GObject-CRITICAL **: g_object_set: assertion
`G_IS_OBJECT (object)' failed

(playbin-text:10818): GStreamer-CRITICAL **: gst_element_set_state:
assertion `GST_IS_ELEMENT (element)' failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111108/9e6c1935/attachment.html>


More information about the gstreamer-devel mailing list