Gstreamer-1.8.1 issue

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

Gstreamer-1.8.1 issue

Gofrane
hello,

I need to install nvenc encoder with Gstreamer-1.8.1
I install all package correctly( good, bad, ugly, base, libav )
but  nvenc did not installed and when I run gst-inspect-1.0 , the result is this

gst-inspect-1.0

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstmpg123.so': /usr/local/lib/gstreamer-1.0/libgstmpg123.so: undefined symbol: gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstamrnb.so': /usr/local/lib/gstreamer-1.0/libgstamrnb.so: undefined symbol: gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstmad.so': /usr/local/lib/gstreamer-1.0/libgstmad.so: undefined symbol: gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstasf.so': /usr/local/lib/gstreamer-1.0/libgstasf.so: undefined symbol: gst_video_multiview_flagset_get_type

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstamrwbdec.so': /usr/local/lib/gstreamer-1.0/libgstamrwbdec.so: undefined symbol: gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstx264.so': /usr/local/lib/gstreamer-1.0/libgstx264.so: undefined symbol: gst_video_encoder_set_min_pts

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so': /usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so: undefined symbol: gst_video_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgsta52dec.so': /usr/local/lib/gstreamer-1.0/libgsta52dec.so: undefined symbol: gst_audio_decoder_set_use_default_pad_acceptcaps
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.8.1 issue

Michael Gruner
Hi Gofrane

It looks like you are running GStreamer in a non-standard location, this can be tricky.  Did you build gstreamer core as well? If so, can you try running the following command (instead of plain gst-inspect-1.0):

/usr/local/bin/gst-inspect-1.0

If not, I’d recommend you do so, to have the same version family of packages.

Michael


Michael Gruner <[hidden email]>
Embedded Linux and GStreamer solutions
RidgeRun Engineering

On May 14, 2016, at 06:56, Gofrane <[hidden email]> wrote:

hello,

I need to install nvenc encoder with Gstreamer-1.8.1
I install all package correctly( good, bad, ugly, base, libav )
but  nvenc did not installed and when I run gst-inspect-1.0 , the result is
this

*gst-inspect-1.0

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmpg123.so':
/usr/local/lib/gstreamer-1.0/libgstmpg123.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstamrnb.so':
/usr/local/lib/gstreamer-1.0/libgstamrnb.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmad.so':
/usr/local/lib/gstreamer-1.0/libgstmad.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstasf.so':
/usr/local/lib/gstreamer-1.0/libgstasf.so: undefined symbol:
gst_video_multiview_flagset_get_type

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstamrwbdec.so':
/usr/local/lib/gstreamer-1.0/libgstamrwbdec.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstx264.so':
/usr/local/lib/gstreamer-1.0/libgstx264.so: undefined symbol:
gst_video_encoder_set_min_pts

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so':
/usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so: undefined symbol:
gst_video_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgsta52dec.so':
/usr/local/lib/gstreamer-1.0/libgsta52dec.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps
*



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-1-8-1-issue-tp4677556.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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

RE: Gstreamer-1.8.1 issue

Kyrylo Polezhaiev
In reply to this post by Gofrane
This does not look like NVENC problem, looks like some of gstreamer plugins linked with wrong version of dependencies.

From: [hidden email]
Sent: ‎5/‎14/‎2016 4:32 PM
To: [hidden email]
Subject: Gstreamer-1.8.1  issue

hello,

I need to install nvenc encoder with Gstreamer-1.8.1
I install all package correctly( good, bad, ugly, base, libav )
but  nvenc did not installed and when I run gst-inspect-1.0 , the result is
this

*gst-inspect-1.0

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmpg123.so':
/usr/local/lib/gstreamer-1.0/libgstmpg123.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstamrnb.so':
/usr/local/lib/gstreamer-1.0/libgstamrnb.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmad.so':
/usr/local/lib/gstreamer-1.0/libgstmad.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstasf.so':
/usr/local/lib/gstreamer-1.0/libgstasf.so: undefined symbol:
gst_video_multiview_flagset_get_type

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstamrwbdec.so':
/usr/local/lib/gstreamer-1.0/libgstamrwbdec.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstx264.so':
/usr/local/lib/gstreamer-1.0/libgstx264.so: undefined symbol:
gst_video_encoder_set_min_pts

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so':
/usr/local/lib/gstreamer-1.0/libgstmpeg2dec.so: undefined symbol:
gst_video_decoder_set_use_default_pad_acceptcaps

(gst-plugin-scanner:26815): GStreamer-WARNING **: Failed to load plugin
'/usr/local/lib/gstreamer-1.0/libgsta52dec.so':
/usr/local/lib/gstreamer-1.0/libgsta52dec.so: undefined symbol:
gst_audio_decoder_set_use_default_pad_acceptcaps
*



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-1-8-1-issue-tp4677556.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: Gstreamer-1.8.1 issue

Gofrane
In reply to this post by Michael Gruner
thank you
I reapeat all installatuion, but when I installed plagin bad and when I make it, the result is :

.......gstglutils.h:61: Warning: GstGL: symbol='GLCB': missing parameter name; undocumentable
gstglutils.h:61: Warning: GstGL: symbol='GLCB': missing parameter name; undocumentable
gstglutils.h:61: Warning: GstGL: symbol='GLCB': missing parameter name; undocumentable
gstglutils.h:61: Warning: GstGL: symbol='GLCB': Skipping foreign identifier 'GLCB' from namespace GModule
gstglutils.h:68: Warning: GstGL: symbol='GLCB_V2': Unknown namespace for symbol 'GLCB_V2'
gstglapi.h:36: Warning: GstGL: symbol='GL_GLEXT_PROTOTYPES': Unknown namespace for symbol 'GL_GLEXT_PROTOTYPES'
g-ir-scanner: link: ../../../libtool --mode=link --tag=CC gcc -pthread -o /home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/GstGL-1.0 -export-dynamic tmp-introspectx0t3p3/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/GstGL-1.0.o -L. libgstgl-1.0.la -Wl,--export-dynamic -pthread -L/usr/local/lib -lgio-2.0 -lgmodule-2.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
libtool: link: gcc -pthread -o /home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/.libs/GstGL-1.0 tmp-introspectx0t3p3/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/GstGL-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L. ./.libs/libgstgl-1.0.so -L/usr/local/lib /usr/local/lib/libgio-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgstvideo-1.0.so /usr/local/lib/libgstbase-1.0.so /usr/local/lib/libgstreamer-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so -pthread
/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/.libs/lt-GstGL-1.0: symbol lookup error: /home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/.libs/libgstgl-1.0.so.0: undefined symbol: gst_video_multiview_mode_get_type
Command '[u'/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/GstGL-1.0', u'--introspect-dump=/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/functions.txt,/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/tmp-introspectx0t3p3/dump.xml']' returned non-zero exit status 127
make[5]: *** [GstGL-1.0.gir] Error 1
make[5]: Leaving directory `/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl'
make[3]: *** [gl] Error 2
make[3]: Leaving directory `/home/gti/gst-plugins-bad-1.8.1/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gti/gst-plugins-bad-1.8.1/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gti/gst-plugins-bad-1.8.1'
make: *** [all] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-1.8.1 issue

Sebastian Dröge-3
On Mo, 2016-05-16 at 06:21 -0700, Gofrane wrote:
> thank you
> I reapeat all installatuion, but when I installed plagin bad and when I make
> it, the result is :
> [...]
> /home/gti/gst-plugins-bad-1.8.1/gst-libs/gst/gl/.libs/libgstgl-1.0.so.0:
> undefined symbol: gst_video_multiview_mode_get_type
> [...]

This looks like it is picking up an older version of libgstvideo-1.0
for you. Did you run ldconfig after installing the libraries into
/usr/local and is /usr/local/lib in your library path?

It should however also work without that, based on the paths passed to
g-ir-scanner. Can you run make with "make V=1" and provide the complete
commandline passed to g-ir-scanner?

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


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

signature.asc (968 bytes) Download Attachment