Hi everyone,
My fist message on this list. I am trying to compile Gstreamer-0.11.1 with gst-plugins-base-0.11.1 on Ubuntu Oneiric 11.10 for use Python (PyGi and GTK 3) with playbin plugin.
I know that the old playbin was removed and playbin2 was promoted to playbin. For install Gstreamer 0.11.1 I did:
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.11.1.tar.gz tar -xvzf gstreamer-*.tar.gz cd gstreamer-* ./configure --prefix=/usr sudo make all sudo make install Then I try to install gst-plugins-base-0.11.1
tar -xvzf gst-plugins-base-*.tar.gz cd gst-plugins-base-* ./autogen.sh ./configure --prefix=/usr sudo make all sudo make install
With 0.10 I get: $ gst-inspect-0.10 | grep playbin playback: playbin: Player Bin playback: playbin2: Player Bin 2 But 0.11 ouput nothing
$ gst-inspect-0.11 | grep playbin libgstplaybin.so libgstreplaygain.so $ ls /usr/lib/gstreamer-0.11/ | grep play libgstplayback.la libgstplayback.so This works: $gst-launch-0.10 playbin2 uri=file:///home/user/somefile.ogv $ gst-launch-0.11 playbin uri=file:///home/user/somefile.ogv ERROR: pipeline could not be constructed: no element "playbin". On girrepository-1.0 it seems generate the same .typelib files ls /usr/lib/girepository-1.0/ | grep Gst Gst-0.10.typelib Gst-0.11.typelib GstApp-0.10.typelib GstApp-0.11.typelib GstAudio-0.10.typelib GstAudio-0.11.typelib GstBase-0.10.typelib GstBase-0.11.typelib GstCheck-0.10.typelib GstCheck-0.11.typelib GstController-0.10.typelib GstController-0.11.typelib GstFft-0.10.typelib GstFft-0.11.typelib GstInterfaces-0.10.typelib GstInterfaces-0.11.typelib GstNet-0.10.typelib GstNet-0.11.typelib GstNetbuffer-0.10.typelib GstNetbuffer-0.11.typelib GstPbutils-0.10.typelib GstPbutils-0.11.typelib GstRiff-0.10.typelib GstRiff-0.11.typelib GstRtp-0.10.typelib GstRtp-0.11.typelib GstRtsp-0.10.typelib GstRtsp-0.11.typelib GstSdp-0.10.typelib GstSdp-0.11.typelib GstTag-0.10.typelib GstTag-0.11.typelib GstVideo-0.10.typelib GstVideo-0.11.typelib So, what I am doing wrong on 0.11.1 for playbin? Regards, Angel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
2011/11/8 Wim Taymans <[hidden email]>
Don't. I set /usr as prefix on configure file: ./configure --prefix=/usr But for some reason the configure generate a bad path for makefiles. But, on that path still is missing the playbin plugin, so, where is generated? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |