[gst-devel] Gstreamer can not find installed plugins

Joyious He joyious at 163.com
Fri Oct 12 03:48:57 CEST 2007


Hi,
I ve got this solved.
I make some mistake when compiling and linking. I just set the ID3_LIBS and MAD_LIBS " -L/usr/local/lib" which include the libmad.so and libid3tag.so. but it also need the "-lid3tag" and "-lmad" options.
after this is done, I can see the libid3tag.so and the libmad.so is added to the dependencies of libgstmad.so. and the mad works.
But one morething about this is, I need to disable gst-debug to reduce some CPU circles. so I did this when configure the gstreamer, and then a lot of plugins are gone including mad and osssink and audiotestsrc this things even after i recompile and reinstall all the plugins.
and the debug is disabled I can not get the debug messages as before. if i just enable the gst-debug in gstreamer without rebuilding the plugins, all the plugins get back and do works.
could someone help me with this new thing?
Many Thanks,
Joyious
   
在2007-10-11,"Sameer Naik" <sameer at allaboutif.com> 写道:
make sure u have included /usr/local/lib/gstreamer-0.10 to you LD_LIBRARY_PATH variable export LD_LIBRARY_PATH=/usr/local/lib/gstreamer-0.10:$LD_LIBRARY_PATH then run, gst-inspect mad to see if gstreamer is able to display the plugin info cheers ~sameer On Thu, 2007-10-11 at 16:14 +0800, Joyious He wrote: > I also use " /lib/ld-linux.so.2 > --list /usr/local/lib/gstreamer-0.10/libgstmad.so" to check the > dependencies, but the libid3tag.so is not listed in the output: > > libgstreamer-0.10.so.0 > => /usr/local/lib/libgstreamer-0.10.so.0 (0x40019000) > libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 > (0x400c7000) > libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 > (0x4011d000) > libdl.so.2 => /lib/libdl.so.2 (0x40129000) > libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 > (0x40134000) > librt.so.1 => /lib/librt.so.1 (0x40141000) > libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x4015c000) > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > (0x40321000) > libgsttag-0.10.so.0 => /usr/local/lib/libgsttag-0.10.so.0 > (0x403f5000) > libpthread.so.0 => /lib/libpthread.so.0 (0x40403000) > libc.so.6 => /lib/libc.so.6 (0x4045d000) > /lib/ld-linux.so.2 (0x2a000000) > libm.so.6 => /lib/libm.so.6 (0x40574000) > > > > > 在2007-10-11,"Joyious He" <joyious at 163.com> 写道: > Hi, > > I've got more infomation, but i do not know how to solve it. > > Here i got some debug info: > > > gstregistry.c:896:gst_registry_scan_path_level:<registry0>[00m > file /usr/local/lib/gstreamer-0.10/libgstmad.so not yet in > registry > 0:00:00.687991000 [332m 1129[00m 0x170c0 [36mDEBUG[00m > [00;01;36m GST_PLUGIN_LOADING > gstplugin.c:392:gst_plugin_load_file:[00m attempt to load > plugin "/usr/local/lib/gstreamer-0.10/libgstmad.so" > 0:00:00.694501000 [332m 1129[00m 0x170c0 [33;01mWARN [00m > [00;01;36m GST_PLUGIN_LOADING > gstplugin.c:414:gst_plugin_load_file:[00m module_open > failed: /usr/local/lib/gstreamer-0.10/libgstmad.so: undefined > symbol: id3_tag_options > > and i can find the id3_tag_options in the libid3tag.so, but > the loader can not find this library. why ? I also google this > and see someone met the same about some other plugins but I > got no solution. > > any solutions? > > Thanks, > Joyious > > > > > 在2007-10-10,"Joyious He" <joyious at 163.com> 写道: > Hi, > > it did compiled and here are the output of configure: > > configure: *** Plug-ins without external dependencies > that will be built: > > configure: *** Plug-ins without external dependencies > that will NOT be built: > asfdemux > dvdlpcmdec > dvdsub > iec958 > mpegaudioparse > mpegstream > realmedia > synaesthesia > > configure: *** Plug-ins with dependencies that will be > built: > id3tag > mad > > configure: *** Plug-ins with dependencies that will > NOT be built: > a52dec > amrnb > dvdnav > dvdreadsrc > lame > mpeg2dec > sid > > and there are libgstmad.a ,.so and .lo files in the > installed directory. > > any ideas? > > > > > > > 在2007-10-10,"karmendra jain" > <karmendra.jain at gmail.com> 写道: > If u are tryin to install using the source > then see the config file output ... > > sometimes .. it says .. certain plugins will > not be compiled due to external > dependencies .. > (it gives a list .. things which have no > dependency and will be installed .. thing with > dependency and will be installed .. etc etc ) > > cheers > Karmendra > > On 10/10/07, Joyious He <joyious at 163.com> > wrote: > Hi all, > > I'm trying to use the plugin mad to > play mp3 files.but after i install all > these plugins, the gstreamer can not > find the right plugins,such as mad, > osssink. > > / $ gst-inspect mad > No such element or plugin 'mad' > > I did install them in the correct path > and some other plugins the gstreamer > can find are in the same directory.Is > there anything else effects the plugin > loading? > > BR > Joyious > > > > > > > > ______________________________________ > > 把爱心注入牛奶,共 > 同凝聚这份力量 > 快来参加蒙牛免费赠 > 奶爱心行动 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: > Splunk Inc. > Still grepping through log files to > find problems? Stop. > Now Search log events and > configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now > >> http://get.splunk.com/ > _______________________________________________ > gstreamer-devel mailing list > gstreamer-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > > > ______________________________________________________ > LOGO > 把爱心注入牛奶,共同凝聚这 > 份力量 > 快来参加蒙牛免费赠奶爱心行 > 动 > > > > ______________________________________________________________ > LOGO > 把爱心注入牛奶,共同凝聚这份力 > 量 > 快来参加蒙牛免费赠奶爱心行动 > > > > ______________________________________________________________________ > LOGO > 把爱心注入牛奶,共同凝聚这份力量 > 快来参加蒙牛免费赠奶爱心行动 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071012/f9b1cb05/attachment.htm>


More information about the gstreamer-devel mailing list