Gst-inspect not finding built plugins
Nicolas Dufresne
nicolas.dufresne at collabora.com
Sat Jan 24 09:29:04 PST 2015
Looks correct at least now, make sure it is by looking into the
generated config.h. Final step would be to restart from clean state
(which might be the final issue here).
Nicolas
Le 2015-01-24 11:36, Sérgio Agostinho a écrit :
> Here is the proper snippet from config.log
>
> configure:34991: *** checking feature: VPX decoder ***
> configure:34995: *** for plug-ins: vpx ***
> configure:35039: checking for VPX
> configure:35047: $PKG_CONFIG --exists --print-errors "vpx >= 1.1.0"
> configure:35050: $? = 0
> configure:35065: $PKG_CONFIG --exists --print-errors "vpx >= 1.1.0"
> configure:35068: $? = 0
> configure:35104: result: yes
> configure:35116: checking for vpx_codec_vp8_cx_algo in -lvpx
> configure:35141: gcc -std=gnu99 -o conftest -g -O2
> -I/usr/local/include conftest.c -lvpx -L/usr/local/lib -lvpx
> -lm >&5
> configure:35141: $? = 0
> configure:35150: result: yes
> configure:35161: checking for vpx_codec_vp8_dx_algo in -lvpx
> configure:35186: gcc -std=gnu99 -o conftest -g -O2
> -I/usr/local/include conftest.c -lvpx -L/usr/local/lib -lvpx
> -lm >&5
> configure:35186: $? = 0
> configure:35195: result: yes
> configure:35209: checking for VPX_130
> configure:35217: $PKG_CONFIG --exists --print-errors "vpx >= 1.3.0"
> configure:35220: $? = 0
> configure:35235: $PKG_CONFIG --exists --print-errors "vpx >= 1.3.0"
> configure:35238: $? = 0
> configure:35274: result: yes
> configure:35277: checking for vpx_codec_vp9_cx_algo in -lvpx
> configure:35302: gcc -std=gnu99 -o conftest -g -O2
> -I/usr/local/include conftest.c -lvpx -L/usr/local/lib -lvpx
> -lm >&5
> configure:35302: $? = 0
> configure:35311: result: yes
> configure:35322: checking for vpx_codec_vp9_dx_algo in -lvpx
> configure:35347: gcc -std=gnu99 -o conftest -g -O2
> -I/usr/local/include conftest.c -lvpx -L/usr/local/lib -lvpx
> -lm >&5
> configure:35347: $? = 0
> configure:35356: result: yes
> configure:35385: *** These plugins will be built: vpx
>
>
>
> Additional confirmation
>
> nexusdev at ubuntu:/usr/local/lib$ strings libvpx.so | grep
> vpx_codec_vp8_cx_algo
> vpx_codec_vp8_cx_algo
> nexusdev at ubuntu:/usr/local/lib$ strings libvpx.so | grep
> vpx_codec_vp8_dx_algo
> vpx_codec_vp8_dx_algo
> nexusdev at ubuntu:/usr/local/lib$ strings libvpx.so | grep
> vpx_codec_vp9_cx_algo
> vpx_codec_vp9_cx_algo
> nexusdev at ubuntu:/usr/local/lib$ strings libvpx.so | grep
> vpx_codec_vp9_dx_algo
> vpx_codec_vp9_dx_algo
>
>
> :/
>
> 2015-01-24 17:25 GMT+01:00 Nicolas Dufresne
> <nicolas.dufresne at collabora.com <mailto:nicolas.dufresne at collabora.com>>:
>
>
> Le 2015-01-24 11:10, Sérgio Agostinho a écrit :
>
> Interesting
>
> nexusdev at ubuntu:/etc/ld.so.conf.d$ gst-inspect-1.0
> /usr/local/lib/gstreamer-1.0/libgstvpx.so
> Plugin Details:
> Name vpx
> Description VP8 plugin
> Filename /usr/local/lib/gstreamer-1.0/libgstvpx.so
> Version 1.4.4
> License LGPL
> Source module gst-plugins-good
> Source release date 2014-11-06
> Binary package GStreamer Good Plug-ins source release
> Origin URL Unknown package origin
>
>
> 0 features:
>
> This is an interesting plugin, you can build it without any
> element. In configure phase, a series of definition are set into
> config.h. It would seem that none of them got defined:
>
> HAVE_VP8_DECODER
> HAVE_VP8_ENCODER
> HAVE_VP9_DECODER
> HAVE_VP9_ENCODER
>
> In order to find why, it will be necessary to inspect config.log
> file. You can search this file for "checking feature: VPX
> decoder". This is followed by few tests, checking symbols in libvpx:
>
> vpx_codec_vp8_cx_algo
> vpx_codec_vp8_dx_algo
> vpx_codec_vp9_cx_algo
> vpx_codec_vp9_dx_algo
>
> As Tim mention, it is likely that you didn't pass proper CFLAGS,
> and that these test endup looking into the old VPX library. Check
> and share the gcc line after the "checking ...".
>
>
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> _______________________________________________
> 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