'playbin' gstreamer plugin missing

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

'playbin' gstreamer plugin missing

Ashish Kumar Mishra
Hi All ,

1) In ubuntu 14.04 , i have installed gstreamer-1.6.1 by :-
./confgure
sudo make               [ No error]
sudo make install     [ No error]

When i am trying to run  the default sample code available  
~/gstreamer-1.6.1/tests/examples/helloworld ::sudo ./helloworld test.mp4
'playbin' gstreamer plugin missing

2)  When i check the element from gst-inspect-0.10 playbin . I can find the details

3) When i check the element from gst-inspect-1.0 playbin
No such element or plugin 'playbin'


Could group members please let me know what might be the problem

Thanks ,
Ashish Kumar Mishra
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Sebastian Dröge-3
On Fr, 2015-11-13 at 02:33 -0800, Ashish Kumar Mishra wrote:

> Hi All ,
>
> 1) In ubuntu 14.04 , i have installed gstreamer-1.6.1 by :-
> ./confgure
> sudo make               [ No error]
> sudo make install     [ No error]
>
> When i am trying to run  the default sample code available  
> ~/gstreamer-1.6.1/tests/examples/helloworld ::sudo ./helloworld
> test.mp4
> *'playbin' gstreamer plugin missing *
>
> 2)  When i check the element from gst-inspect-0.10 playbin . I can
> find the
> details
>
> 3) When i check the element from gst-inspect-1.0 playbin
> *No such element or plugin 'playbin'*
>
>
> Could group members please let me know what might be the problem
Did you also compile and install gst-plugins-base and the other
modules? If not, that's what is missing.

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


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

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

stproj
This post was updated on .
In reply to this post by Ashish Kumar Mishra
Hi,

Might want to try a make check after your ./configure in order to see the status of your installation.

Also keep in mind that in the gstreamer-base folder there is a text file named REQUIREMENTS with detailed instructions of the required and optional libraries that are needed to install base plugins.
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Ashish Kumar Mishra
This post was updated on .
Dear  All ,

I hadn't installed other gstreamer-plugins ( BAD , BASE , UGLY , GOOD etc )
I have installed them now. Even after installing all Gstreamer Core + Plugin's  below is the mentioned problem :-
It seems all the plug-ins are properly installed , but still the application fails to create an instance of elements.
Like decodebin / videoconvert / videoscale etc.

1) GST-INSPECT detects the plugin    
~: gst-inspect-1.0 | grep “videoconvert”
autoconvert: autovideoconvert: Select color space convertor based on caps
videoconvert: videoconvert: Colorspace converter
~:
~: gst-inspect-1.0 | grep “decodebin”
playback: uridecodebin: URI Decoder
playback: decodebin: Decoder Bin
~:
~: gst-inspect-1.0 | grep “videoscale”
videoscale: videoscale: Video scaler


2) But the application fails to create an instance of elements :-
0:00:00.010290211 19977 0xa9e260 WARN GST_PLUGIN_LOADING gstplugin.c:748:_priv_gst_plugin_load_file_for_registry: module_open failed: /usr/local/lib/gstreamer-1.0/libgstvideoscale.so: undefined symbol: gst_video_converter_new

(gst-inspect-1.0:19977): GStreamer-WARNING **: Failed to load plugin ‘/usr/local/lib/gstreamer-1.0/libgstvideoscale.so’: /usr/local/lib/gstreamer-1.0/libgstvideoscale.so: undefined symbol: gst_video_converter_new
0:00:00.010421998 19977 0xa9e260 WARN GST_PLUGIN_LOADING gstplugin.c:1269:gst_plugin_load_by_name: load_plugin error: Opening module failed: /usr/local/lib/gstreamer-1.0/libgstvideoscale.so: undefined symbol: gst_video_converter_new
0:00:00.010439066 19977 0xa9e260 WARN GST_PLUGIN_LOADING gstpluginfeature.c:132:gst_plugin_feature_load: Failed to load plugin containing feature ‘videoscale’.
element plugin couldn’t be loaded
Plugin Details:
Name videoscale
Description Resizes video
Filename /usr/local/lib/gstreamer-1.0/libgstvideoscale.so
Version 1.6.1
License LGPL
Source module gst-plugins-base
Source release date 2015-10-30
Binary package GStreamer Base Plug-ins source release
Origin URL Unknown package origin

videoscale: Video scaler

1 features:
+– 1 elements

3) the outcome of "make check @gstreamer-1.6.1"

============================================================================
Testsuite summary for GStreamer 1.6.1
============================================================================
# TOTAL: 100
# PASS:  100
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/check'
make[3]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/check'
make[2]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/check'
Making check in misc
make[2]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/misc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/misc'
Making check in examples
make[2]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples'
Making check in controller
make[3]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/controller'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/controller'
Making check in helloworld
make[3]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/helloworld'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/helloworld'
Making check in manual
make[3]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make  check-am
make[4]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make  check-TESTS
make[5]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make[6]: Entering directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
FAIL: bin
FAIL: elementcreate
FAIL: elementfactory
FAIL: elementget
FAIL: elementlink
FAIL: elementmake
FAIL: ghostpad
FAIL: init
============================================================================
Testsuite summary for GStreamer 1.6.1
============================================================================
# TOTAL: 8
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0
============================================================================
See tests/examples/manual/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
============================================================================
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples/manual'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests/examples'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ashish/gstreamer-1.6.1/tests'
make: *** [check-recursive] Error 1
~/gstreamer-1.6.1: ^C




Could you please guide as to how can the “*.c” code creates the elements , which are actually installed properly.
( Log is shared above of gst-inspect-1.0)


Thanks ,
Ashish Kumar Mishra
 
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Sebastian Dröge-3
On Mo, 2015-11-16 at 02:58 -0800, Ashish Kumar Mishra wrote:

> (gst-inspect-1.0:19977): GStreamer-WARNING **: Failed to load plugin
> ‘/usr/local/lib/gstreamer-1.0/libgstvideoscale.so’:
> /usr/local/lib/gstreamer-1.0/libgstvideoscale.so: undefined symbol:
> gst_video_converter_new

The way how you installed GStreamer from source is wrong. It's using
the old libraries that are probably somewhere in /usr/lib instead of
the new ones in /usr/local/lib. Running ldconfig might solve this,
otherwise you'll have to check how the library search path is
configured on your system and fix it.

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


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

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Ashish Kumar Mishra
Thanks for replying sir ,

1) Folder for gstreamer-0.10 is at  /usr/lib/gstreamer-0.10/

2) Folder for gstreamer-0.10 is at /usr/local/lib/gstreamer-1.0/
 

3) w.r.t Linking the path i have added
export LD_LIBRARY_PATH=/usr/local/lib
export GST_PLUGIN_PATH=/usr/local/lib
export GST_PLUGIN_PATH_1_0


4) ldconfig -p | head -5
~: ldconfig -v | head
/sbin/ldconfig.real: Can't stat sudo ldconfig: No such file or directory
/sbin/ldconfig.real: Can't stat hash x264 ffmpeg ffplay ffprobe or: No such file or directory
/sbin/ldconfig.real: Can't stat hash x264 ffmpeg ffprobe</p>: No such file or directory
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.19.so is the dynamic linker, ignoring

/usr/lib/x86_64-linux-gnu/libfakeroot:
        libfakeroot-0.so -> libfakeroot-tcp.so
/usr/local/lib:
        libx264.so.148 -> libx264.so.148
        libgstreamer-1.0.so.0 -> libgstreamer-1.0.so.0.601.0
        libavdevice.so.57 -> libavdevice.so.57.0.100
        libgstinsertbin-1.0.so.0 -> libgstinsertbin-1.0.so.0.601.0
        libgstbadbase-1.0.so.0 -> libgstbadbase-1.0.so.0.601.0
        libgstvideo-1.0.so.0 -> libgstvideo-1.0.so.0.601.0
        libswresample.so.2 -> libswresample.so.2.0.101



The application still fails but the gst-inspect is able to detect the plugin . I am trying to understand via ldconfig .
But could you please let me know the mistake in this ....as i have spent around 2-3 days trying to resolve this problem.

Thanks ,
Ashish Kumar Mishra


Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Ashish Kumar Mishra
Hi All ,

With the above mentioned changes even the sample code is able to create an instance of required elements.
But now i am getting different error :-

~/gstreamer-1.6.1/tests/examples/helloworld: pwd
/home/ashish/gstreamer-1.6.1/tests/examples/helloworld
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld: ./helloworld test.mp4
Debugging info: gsturidecodebin.c(1006): no_more_pads_full (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
gstdecodebin2.c(4530): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100, channels=(int)2)
Missing decoder: H.264 (High Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)high, codec_data=(buffer)0164001fffe100176764001facb4028022d0800000030080000018078c195001000468ee3cb0, width=(int)1280, height=(int)544, framerate=(fraction)24/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true)


Error: Your GStreamer installation is missing a plug-in.
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:



Now can group members please help me to debug the above mentioned problem.

Thanks ,
Ashish Kumar Mishra


Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Chuck Crisler-2
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
gstdecodebin2.c(4530): gst_decode_bin_expose ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
*Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4,

Missing decoder: H.264 (High Profile) (video/x-h264,
stream-format=(string)avc, alignment=(string)au, level=(string)3.1,
profile=(string)high,

That says it all. Use google to find them.


On Thu, Nov 19, 2015 at 6:22 AM, Ashish Kumar Mishra <[hidden email]> wrote:
Hi All ,

With the above mentioned changes even the sample code is able to create an
instance of required elements.
But now i am getting different error :-

~/gstreamer-1.6.1/tests/examples/helloworld: pwd
/home/ashish/gstreamer-1.6.1/tests/examples/helloworld
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld: ./helloworld test.mp4
Debugging info: gsturidecodebin.c(1006): no_more_pads_full ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
gstdecodebin2.c(4530): gst_decode_bin_expose ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
*Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4,
framed=(boolean)true, stream-format=(string)raw, level=(string)2,
base-profile=(string)lc, profile=(string)lc,
codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100,
channels=(int)2)
Missing decoder: H.264 (High Profile) (video/x-h264,
stream-format=(string)avc, alignment=(string)au, level=(string)3.1,
profile=(string)high,
codec_data=(buffer)0164001fffe100176764001facb4028022d0800000030080000018078c195001000468ee3cb0,
width=(int)1280, height=(int)544, framerate=(fraction)24/1,
pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true)*

Error: Your GStreamer installation is missing a plug-in.
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:
~/gstreamer-1.6.1/tests/examples/helloworld:



Now can group members please help me to debug the above mentioned problem.

Thanks ,
Ashish Kumar Mishra






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/playbin-gstreamer-plugin-missing-tp4674497p4674559.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: 'playbin' gstreamer plugin missing

Ashish Kumar Mishra
Hi Team ,

I am able to address the problem.

A) The installation from packages and the linkage is mentioned above in the thread.

B) I am listing the other points which helped to address the bug:-

"Ubuntu restricted extras"  needs to be installed .

There are chance's that the installation might fail stating mismatch in .deb file
    a) Try and change the Software & Updates -> Download from  -> XXX.
        Mine was Server for India which i changed to Main server. Still the error was there.

    b) "configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.16, which ..." during installation
        of gst-libav-1.6.1.
        This i addressed by downloading orc-0.4.24.tar.xz from http://gstreamer.freedesktop.org/src/orc/ 
        [ Installation is standard ./configure + make + sudo make install ]

    c) cat /var/cache/apt/archives/partial , helped to figure that the packages are failing due to SIZE
        limit . In the log " ....The file is larger than the configured file size limit.<br />..."
        So our Admin team removed this limit condition from my PC & i am able to get the result as
        expected.


Thanks for all team members to provide their valuable feedback & time.


Thanks ,
Ashish Kumar Mishra.