[gst-embedded] gst-launch problem
Stefan Kost
ensonic at hora-obscura.de
Thu May 28 02:48:25 PDT 2009
Ravi Karmarkar schrieb:
> Now when I try to play a video from swfdec, I get the following warnings:
>
> (swfplay:1023): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstvideo4linux.so':
> /usr/lib/gstreamer-0.10/libgstvideo4linux.so: undefined symbol:
> XQueryExtension
>
> (swfplay:1023): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstalsa.so':
> /usr/lib/gstreamer-0.10/libgstalsa.so: undefined symbol:
> snd_mixer_first_elem
>
> (swfplay:1023): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstffmpeg.so':
> /usr/lib/gstreamer-0.10/libgstffmpeg.so: undefined symbol: first_avcodec
>
> (swfplay:1023): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstximagesink.so':
> /usr/lib/gstreamer-0.10/libgstximagesink.so: undefined symbol: XFree
>
> (swfplay:1023): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstxvimagesink.so':
> /usr/lib/gstreamer-0.10/libgstxvimagesink.so: undefined symbol:
> XQueryExtension.
This is about the X server. When you build the plugins you had the x
server files present, but in your run time environment they are missing.
Just do an
ldd /usr/lib/gstreamer-0.10/libgstxvimagesink.so
it should be able to resolve all shared library. Also check your
/etc/ld.so.conf and LD_LIBRARY_PATH. Locate your x library and make sure
they can be found.
Stefan
>
> Does it mean that I need to install libraries like alsa, ffmpeg etc? I
> found that alsa is already installed. So I wonder what is the cause of
> above warning (related to alsa) and other warnings as well?
>
> Thanks and regards,
> Ravi Karmarkar
>
> On Tue, May 26, 2009 at 7:10 PM, Ravi Karmarkar
> <karmarkar.ravi at gmail.com <mailto:karmarkar.ravi at gmail.com>> wrote:
>
> Hi,
>
> The problem seems to be fixed by manually setting GST_PLUGIN_PATH
> to /usr/lib/gstreamer-0.10.
>
>
> Thanks and regards,
> Ravi Karmarkar
>
> On Tue, May 26, 2009 at 5:09 PM, Ravi Karmarkar
> <karmarkar.ravi at gmail.com <mailto:karmarkar.ravi at gmail.com>> wrote:
>
> Hi,
>
> I tried your suggestion..... gst-inspect-0.10
> /usr/lib/gstreamer-0.10/libgstcoreelements.so
>
> Following is the output:
>
> Plugin Details:
> Name: coreelements
> Description: standard GStreamer elements
> Filename: /usr/lib/gstreamer-0.10/libgstcoreelements.so
> Version: 0.10.22
> License: LGPL
> Source module: gstreamer
> Binary package: GStreamer source release
> Origin URL: Unknown package origin
>
> capsfilter: CapsFilter
> fakesrc: Fake Source
> fakesink: Fake Sink
> fdsrc: Filedescriptor Source
> fdsink: Filedescriptor Sink
> filesrc: File Source
> identity: Identity
> queue: Queue
> filesink: File Sink
> tee: Tee pipe fitting
> typefind: TypeFind
> multiqueue: MultiQueue
>
> 12 features:
> +-- 12 elements
>
> which means that fakesrc is in fact installed? How to specify
> the correct search path in that case?
>
>
>
> Thanks and regards,
> Ravi Karmarkar
>
>
>
>
> Date: Tue, 26 May 2009 09:41:01 +0100
> From: Tim M?ller <tim.muller at collabora.co.uk
> <mailto:tim.muller at collabora.co.uk>>
> Subject: Re: [gst-embedded] gst-launch problem
> To: gstreamer-embedded at lists.sourceforge.net
> <mailto:gstreamer-embedded at lists.sourceforge.net>
> Message-ID: <1243327261.4399.3.camel at mini.centricular.net
> <mailto:1243327261.4399.3.camel at mini.centricular.net>>
> Content-Type: text/plain
>
>
> On Tue, 2009-05-26 at 16:14 +0800, Ravi Karmarkar wrote:
>
> > I have installed GStreamer-0.10.22 to be used with
> swfdec-0.8.4 for my
> > sh4 platform.
>
> Please note the latest version is 0.10.23.
>
>
> > After installation I tried to run the test
> > gst-launch -v fakesrc num_buffers=5 ! fakesink
>
> > and got the error ERROR: pipeline could not be
> constructed: no element "fakesrc".
> >
> > What is the cause of this error? My libraries are
> installed in /usr/lib/gstreamer-0.10 and when I try to
> grep for fakesrc in this directory, I see that following
> files contain 'fakesrc'
>
> Hard to say without more information. You could try this:
>
> $ gst-inspect-0.10
> /usr/lib/gstreamer-0.10/libgstcoreelements.so
>
> to see if it's a search path problem or something else.
>
> In the unlikely case that you have not disabled the
> debugging system,
> you could run
>
> $ GST_DEBUG=*:3 gst-inspect-0.10 fakesrc 2>dbg.log
>
> and see if you spot anything suspicious/wrong.
>
> Cheers
> -Tim
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gstreamer-embedded mailing list
> Gstreamer-embedded at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
>
More information about the Gstreamer-embedded
mailing list