Discussion:
no element "filesrc"
zhenfeng ren
2009-01-07 03:18:23 UTC
Permalink
hello,everyone:
I want run Gstreamer on Davinci (dm6446).

I download gstreamer from:
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100
When I run the "test_MP3.sh 1.mp3", there is an error:

ERROR: pipeline could not be constructed: no element "filesrc".

And when I run "gst-inspect", the information is below:
root@(none):/home# gst-inspect
staticelements: bin: Generic bin
staticelements: pipeline: Pipeline object
Total count: 1 plugin, 2 features

I set the environment as :
root@(none):/home# export
LD_LIBRARY_PATH=.:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib
root@(none):/home# export
GST_PLUGIN_PATH=/home/opt/gstreamer/lib/gstreamer-0.10/
root@(none):/home# export PATH=$PATH:/home/opt/gstreamer/bin

Anyone give some suggestions?

Zhenfeng Ren
g***@public.gmane.org
2009-01-07 04:25:04 UTC
Permalink
Hi Zhenfeng Ren,

Seems like your GST_PLUGIN_PATH is not correct. Please check if the
following libraries are available under your GST_PLUGIN_PATH (ie
/home/opt/gstreamer/lib/gstreamer-0.10)
libgstcoreelements.a
libgstcoreelements.la
libgstcoreelements.so

Otherwise, please find out the location of these libraries and export that
path as your GST_PLUGIN_PATH.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-plugin-coreelements.html#plugin-coreelements

Thanks,
Gireesh
Post by zhenfeng ren
I want run Gstreamer on Davinci (dm6446).
http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100
ERROR: pipeline could not be constructed: no element "filesrc".
staticelements: bin: Generic bin
staticelements: pipeline: Pipeline object
Total count: 1 plugin, 2 features
LD_LIBRARY_PATH=.:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib
GST_PLUGIN_PATH=/home/opt/gstreamer/lib/gstreamer-0.10/
Anyone give some suggestions?
Zhenfeng Ren
------------------------------------------------------------------------------
Post by zhenfeng ren
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Gstreamer-embedded mailing list
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
zhenfeng ren
2009-01-07 05:45:29 UTC
Permalink
Post by g***@public.gmane.org
Seems like your GST_PLUGIN_PATH is not correct. Please check if the
following libraries are available under your GST_PLUGIN_PATH (i.e.
/home/opt/gstreamer/lib/gstreamer-0.10)
libgstcoreelements.a
libgstcoreelements.la
libgstcoreelements.so
I check again ,and these libraries are under GST_PLUGIN_PATH .

Thanks,
Zhenfeng Ren
Gireesh Kumar M
2009-01-07 06:47:47 UTC
Permalink
Hi Zhenfeng Ren,

Please refer to the attached log.txt.

BTW, I hope you've compiled libxml as well while building the GStreamer
packages. As far as I know, gst-inspect won't work without libxml and, in
that case, you need to edit the gst-launch source file to manually load the
plugins.

Thanks,
Gireesh
Post by zhenfeng ren
Post by g***@public.gmane.org
Seems like your GST_PLUGIN_PATH is not correct. Please check if the
following libraries are available under your GST_PLUGIN_PATH (i.e.
/home/opt/gstreamer/lib/gstreamer-0.10)
libgstcoreelements.a
libgstcoreelements.la
libgstcoreelements.so
I check again ,and these libraries are under GST_PLUGIN_PATH .
Thanks,
Zhenfeng Ren
zhenfeng ren
2009-01-07 08:26:47 UTC
Permalink
hi,Gireesh:
LD_LIBRARY_LIB is not right. When I change LD_LIBRARY_LIB.
***@EVM:~# gst-inspect

(gst-inspect-0.10:2425): GStreamer-WARNING **: GStreamer was compiled
against GLib 2.12.4 but is running against 2.6.1. This will cause
reference counting issues
/home/opt/gstreamer/bin/gst-inspect-0.10: symbol lookup error:
/home/opt/gstreamer/lib/libgstreamer-0.10.so.0: undefined symbol:
g_intern_static_string

So,next step is to solve the glib problem.
Thanks.
Post by g***@public.gmane.org
Hi Zhenfeng Ren,
Please refer to the attached log.txt.
BTW, I hope you've compiled libxml as well while building the GStreamer
packages. As far as I know, gst-inspect won't work without libxml and, in
that case, you need to edit the gst-launch source file to manually load the
plugins.
Thanks,
Gireesh
Post by zhenfeng ren
Post by g***@public.gmane.org
Seems like your GST_PLUGIN_PATH is not correct. Please check if the
following libraries are available under your GST_PLUGIN_PATH (i.e.
/home/opt/gstreamer/lib/gstreamer-0.10)
libgstcoreelements.a
libgstcoreelements.la
libgstcoreelements.so
I check again ,and these libraries are under GST_PLUGIN_PATH .
Thanks,
Zhenfeng Ren
--
Thanks,
Zhenfeng Ren
g***@public.gmane.org
2009-01-07 08:41:40 UTC
Permalink
Hi Zhenfeng Ren,

Did you set LD_LIBRARY_PATH or LD_LIBRARY_LIB?

I guess, your problem would be solved if you set LD_LIBRARY_PATH to the
location that contains
libglib-2.0.la
libglib-2.0.so
libglib-2.0.so.0

In my system, it's here...

[***@EVM lib]# ls /gstreamer/lib/ | grep libglib
libglib-2.0.la
libglib-2.0.so
libglib-2.0.so.0
libglib-2.0.so.0.1800.0
[***@EVM lib]#

Thanks,
Gireesh
LD_LIBRARY_LIB is not right. When I change LD_LIBRARY_LIB.
(gst-inspect-0.10:2425): GStreamer-WARNING **: GStreamer was compiled
against GLib 2.12.4 but is running against 2.6.1. This will cause
reference counting issues
g_intern_static_string
So,next step is to solve the glib problem.
Thanks.
Post by g***@public.gmane.org
Hi Zhenfeng Ren,
Please refer to the attached log.txt.
BTW, I hope you've compiled libxml as well while building the GStreamer
packages. As far as I know, gst-inspect won't work without libxml and,
in
Post by g***@public.gmane.org
that case, you need to edit the gst-launch source file to manually load
the
Post by g***@public.gmane.org
plugins.
Thanks,
Gireesh
Post by zhenfeng ren
Post by g***@public.gmane.org
Seems like your GST_PLUGIN_PATH is not correct. Please check if the
following libraries are available under your GST_PLUGIN_PATH (ie
/home/opt/gstreamer/lib/gstreamer-0.10)
libgstcoreelements.a
libgstcoreelements.la
libgstcoreelements.so
I check again ,and these libraries are under GST_PLUGIN_PATH .
Thanks,
Zhenfeng Ren
--
Thanks,
Zhenfeng Ren
zhenfeng ren
2009-01-07 08:50:26 UTC
Permalink
hi,Gireesh:
I set
LD_LIBRARY_PATH=/usr/lib:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib

Thanks,
Zhenfeng Ren
zhenfeng ren
2009-01-07 08:57:00 UTC
Permalink
hi,Gireesh:
I think I make a mistake .
The LD_LIBRARY_PATH should be
/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib

SO, the old problem come.
***@EVM:/home/opt/gstreamer/lib# gst-inspect
staticelements: bin: Generic bin
staticelements: pipeline: Pipeline object

Total count: 1 plugin, 2 features
Post by zhenfeng ren
I set
LD_LIBRARY_PATH=/usr/lib:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib
Thanks,
Zhenfeng Ren
--
Thanks,
Zhenfeng Ren
g***@public.gmane.org
2009-01-07 09:05:39 UTC
Permalink
Hi Zhenfeng Ren,

I suspect there is another glib on your system which is conflicting with
the one under gstreamer/lib.
Please try this step and see if it works...

#export
LD_LIBRARY_PATH=/home/opt/gstreamer/lib:/home/opt/system_files_gstreamer:/usr/lib

Thanks,
Gireesh
Post by g***@public.gmane.org
I set
LD_LIBRARY_PATH=/usr/lib:/home/opt/system_files_gstreamer:/home/opt/gstreamer/lib
Post by g***@public.gmane.org
Thanks,
Zhenfeng Ren
zhenfeng ren
2009-01-07 09:19:24 UTC
Permalink
hi Gireesh:

You are right.
Now, the problem still is that the gstreamer could not work.
I donot know why "gst-inspect" find no plugin .
--
Thanks,
Zhenfeng Ren
g***@public.gmane.org
2009-01-07 09:29:38 UTC
Permalink
Do you have libxml?
Please check if you have these libraries under your LD_LIBRARY_PATH

[***@EVM lib]#
[***@EVM lib]# ls | grep libxml
libxml2.a
libxml2.la
libxml2.so
libxml2.so.2
libxml2.so.2.6.26
[***@EVM lib]#

Thanks,
Gireesh
Post by zhenfeng ren
You are right.
Now, the problem still is that the gstreamer could not work.
I donot know why "gst-inspect" find no plugin .
--
Thanks,
Zhenfeng Ren
zhenfeng ren
2009-01-07 11:06:05 UTC
Permalink
hi,
There is some xml libraries:
[***@EVM lib]# ls | grep libxml
libxml2
libxml2.2
libxml2.2.6.16
libxml2.a
libxml2.la
--
Thanks,
Zhenfeng Ren
g***@public.gmane.org
2009-01-07 11:49:38 UTC
Permalink
Hi Zhenfeng Ren,

Then I don't know why your gst-inspect fails to find plugins, provided your
GST_PLUGIN_PATH is correct.

Thanks,
Gireesh
Post by g***@public.gmane.org
hi,
libxml2
libxml2.2
libxml2.2.6.16
libxml2.a
libxml2.la
--
Thanks,
Zhenfeng Ren
Loading...