Getting playbin plugin works on Gstreamer-0.11.1

Wim Taymans wim.taymans at gmail.com
Tue Nov 8 00:55:23 PST 2011


On 11/08/2011 05:28 AM, Angel Guzman Maeso wrote:
> Any response? Please, could someone help me?

did you set GST_PLUGIN_PATH to point to /usr/local/lib/gstreamer-0.11/ ?

wim
>
> 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 <http://libgstcoreelements.la> 
>  libgstcoreelements.so libgstcoreindexers.la 
> <http://libgstcoreindexers.la>  libgstcoreindexers.so
>
> But for 0.10 I only found this:
> $ ls /usr/local/lib/gstreamer-0.10/libgst
> libgstpython.la <http://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
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list