gstreamer not working after upgrade to 1.8.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer not working after upgrade to 1.8.0

Dani MR
Hi everyone,
after working with Gstreamer 1.6.3 version, I decided to upgrade to the latest stable release 1.8.0.
What has happened is that the projects that used to run with the older version are not working anymore.
This is the log I get after trying to run the projects:
** (gst-plugin-scanner:5069): CRITICAL **: Couldn't g_module_open libpython. Reason: /usr/lib/libpython2.7.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register existing type 'GstRtpH265Depay'

(gst-plugin-scanner:5069): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5069): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register existing type 'GstLiveAdder'

(gst-plugin-scanner:5069): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5069): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register existing type 'GstHLSDemux'

(gst-plugin-scanner:5069): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5069): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

** (gst-plugin-scanner:5069): CRITICAL **: Couldn't g_module_open libpython. Reason: /usr/lib/libpython2.7.so: cannot open shared object file: No such file or directory

Moreover if I try to run gst-inspect-1.0 autovideosink for example (after export LD_LIBRARY_PATH=/usr/lib), before getting the info I have this returned:

** (gst-plugin-scanner:5127): CRITICAL **: Couldn't g_module_open libpython. Reason: /usr/lib/libpython2.7.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:5127): GLib-GObject-WARNING **: cannot register existing type 'GstRtpH265Depay'

(gst-plugin-scanner:5127): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5127): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:5127): GLib-GObject-WARNING **: cannot register existing type 'GstLiveAdder'

(gst-plugin-scanner:5127): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5127): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(gst-plugin-scanner:5127): GLib-GObject-WARNING **: cannot register existing type 'GstHLSDemux'

(gst-plugin-scanner:5127): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:5127): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed


My OS is Ubuntu 14.04 64b
and gstreamer has always been installed with prefix=/usr, specifically what I've installed is: gstreamer, base, good, ugly, bad, libav, rtsp-server and python. I am using Eclipse for developing.

Thanks for your help

Dani



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer not working after upgrade to 1.8.0

Tim Müller
On Tue, 2016-03-29 at 17:03 +0200, Dani wrote:

Hi Dani,

> Hi everyone, 
> after working with Gstreamer 1.6.3 version, I decided to upgrade to
> the latest stable release 1.8.0.
> What has happened is that the projects that used to run with the
> older version are not working anymore.
> This is the log I get after trying to run the projects: 

> ** (gst-plugin-scanner:5069): CRITICAL **: Couldn't g_module_open
> libpython. Reason: /usr/lib/libpython2.7.so: cannot open shared
> object file: No such file or directory

I don't know what that's about, sounds like a stale symlink (wouldn't
worry about it, although I wonder why this dir is in your plugin path
in the first place...)

> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
> existing type 'GstRtpH265Depay'

The rtph265{pay,depay} elements from -bad have moved into the rtp
plugin from -good.

Remove the installed plugin file libgstrtpbad.so


> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
> existing type 'GstLiveAdder'

The liveadder element/plugin has been replaced-by and merged-into the
audiomixer plugin in -bad.

Remove the installed plugin file libgstliveadder.so


> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
> existing type 'GstHLSDemux'

The hls plugin has been renamed from libgstfragmented.so
to libgsthls.so.

Remove the installed plugin file libgstfragmented.so


These problems happen typically when plugins are moved and you don't do
"make uninstall" before you update your source tree and then just keep
'make install'-ing into the same prefix without removing any old files.

Once you removed these old/stale plugin files, run

  rm ~/.cache/gstreamer-1.0/registry*

and run gst-inspect-1.0 again.

Everything should work now.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer not working after upgrade to 1.8.0

Dani MR
Thanks, that solved my problem!

Dani

El 29/03/16 a las 17:42, Tim Müller escribió:

> On Tue, 2016-03-29 at 17:03 +0200, Dani wrote:
>
> Hi Dani,
>
>> Hi everyone,
>> after working with Gstreamer 1.6.3 version, I decided to upgrade to
>> the latest stable release 1.8.0.
>> What has happened is that the projects that used to run with the
>> older version are not working anymore.
>> This is the log I get after trying to run the projects:
>> ** (gst-plugin-scanner:5069): CRITICAL **: Couldn't g_module_open
>> libpython. Reason: /usr/lib/libpython2.7.so: cannot open shared
>> object file: No such file or directory
> I don't know what that's about, sounds like a stale symlink (wouldn't
> worry about it, although I wonder why this dir is in your plugin path
> in the first place...)
>
>> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
>> existing type 'GstRtpH265Depay'
> The rtph265{pay,depay} elements from -bad have moved into the rtp
> plugin from -good.
>
> Remove the installed plugin file libgstrtpbad.so
>
>
>> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
>> existing type 'GstLiveAdder'
> The liveadder element/plugin has been replaced-by and merged-into the
> audiomixer plugin in -bad.
>
> Remove the installed plugin file libgstliveadder.so
>
>
>> (gst-plugin-scanner:5069): GLib-GObject-WARNING **: cannot register
>> existing type 'GstHLSDemux'
> The hls plugin has been renamed from libgstfragmented.so
> to libgsthls.so.
>
> Remove the installed plugin file libgstfragmented.so
>
>
> These problems happen typically when plugins are moved and you don't do
> "make uninstall" before you update your source tree and then just keep
> 'make install'-ing into the same prefix without removing any old files.
>
> Once you removed these old/stale plugin files, run
>
>    rm ~/.cache/gstreamer-1.0/registry*
>
> and run gst-inspect-1.0 again.
>
> Everything should work now.
>
> Cheers
>   -Tim
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel