<DIV>Hi,</DIV>
<DIV>Thanks for your reply thomas and cristan, Here my aim is to play mp3 file on target using mad plugin and gstreamer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>And i listed the steps for cross-compilation fro ARM on host x86 and then copied the necessary files and plugins to the target filesystem.&nbsp;</DIV>
<DIV>I am sure i have plugins(mad,lame etc)&nbsp;&nbsp;on&nbsp;target.But&nbsp;&nbsp;It&nbsp;struck up at generating registry file with proper plugin path on taget.Gst-register is not able to load the plugins.</DIV>
<DIV>Please see the logs below.&nbsp;&nbsp;</DIV>
<DIV>Could someone help me on this...</DIV>
<DIV>&nbsp;</DIV>
<DIV>-------------------------------snip-------------------------------------<BR><BR>1. This is cross-compilation steps of gstreamer for ARM on x86 host<BR><BR>Gstreamer-0.8.7<BR>================<BR><BR>CC=arm-linux-gcc AR=arm-linux-ar LD=arm-linux-ld<BR>./configure --host=arm-linux<BR>LDFLAGS=-/usr/local/scratch/trilok/ws/target/lib<BR>CFLAGS=-I/usr/local/scratch/trilok/ws/target/include<BR>--prefix=/usr/local/fs/<BR>vishwa &amp;&amp; make &amp;&amp; make install<BR><BR>2.This is cross-compilation steps of gst-plugins for ARM on x86 host<BR><BR> gst-plugins-0.8.6<BR>===================<BR><BR>CC=arm-linux-gcc AR=arm-linux-ar LD=arm-linux-ld<BR>CFLAGS=-I/usr/local/scratch/trilok/ws/target/include<BR>LDFLAGS=-L/usr/local/scratch/trilok/ws/target/lib<BR><BR>./configure --host=arm-linux&nbsp;&nbsp;&nbsp; --prefix=/usr/local/fs/vishwa<BR>--x-includes=$<BR>TARGETDIR/include --x-libraries=$TARGETDIR/lib --disable-tests<BR>--disable-fre<BR>etypetest --with-x --disable-dxr3 --disable-vcd
 --disable-qcam<BR>--disable-sun<BR>audio --disable-cdrom --disable-alsa --disable-aalibtest<BR>--disable-artstest <BR>--disable-esdtest --disable-liblame --disable-libfametest <BR>--disable-arts<BR>--d<BR>isable-artsc --disable-artstest --disable-esd --disable-esdtest<BR>--disable-mi<BR>kmod --disable-libmikmodtest --disable-ogg --disable-oggtest<BR>--disable-theor<BR>a --disable-shout --disable-shout2 --disable-shout2test --disable-dts<BR>--disa<BR>ble-osx_audio --disable-osx_video --disable-opengl --disable-cdrom<BR>--disable<BR>-xvideo --disable-xshm --disable-cdaudio --disable-cdparanoia<BR>--disable-a52d<BR>ec --disable-aalib --disable-aalibtest --disable-dirac --disable-dts<BR>--disab<BR>le-dvdread --disable-dvdnav --disable-flac --disable-gnome_vfs<BR>--disable-gsm<BR> --disable-hermes --disable-ivorbis --disable-jack&nbsp;&nbsp; --disable-jpeg<BR>--disa<BR>ble-ladspa&nbsp; --disable-libcaca&nbsp; --disable-lcs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 --disable-libdv<BR>--disabl<BR>e-libmng --disable-librfb --disable-libvisual --disable-mplex<BR>--disable-muse<BR>pack&nbsp; --disable-musicbrainz --disable-nas&nbsp; --disable-polyp<BR>--disable-dv1394 <BR>--disable-sdltest&nbsp;&nbsp;&nbsp; --disable-sidplay --disable-smoothwave<BR>--disable-speex <BR>--disable-sndfile --disable-swfdec --disable-tarkin --disable-theora<BR>--disab<BR>le-vorbis --disable-vorbistest --disable-xine --disable-xvid<BR>--disable-profi<BR>ling &amp;&amp; make &amp;&amp; make install<BR><BR>3. Copy files (libraries,lib/gstreamer-0.8,binaries) from the directory<BR>specified in prefix to target filesystem.<BR><BR>4.On target export plugin paths<BR># export GST_PLUGIN_PATH=/lib/gstreamer-0.8:$GST_PLUGIN_PATH<BR><BR>5.Run "gst-register" on target<BR><BR> # gst-register<BR>Rebuilding global_registry<BR>(/usr/local/fs/vishwa/var/cache/gstreamer-0.8/registr<BR>y.xml) ...<BR>Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...<BR>Loaded 0 plugins with
 0 features.<BR><BR>6. This the content of global_registry<BR><BR> # cat /usr/local/fs/vishwa/var/cache/gstreamer-0.8/registry.xml<BR>&lt;?xml version="1.0"?&gt;<BR>&lt;GST-PluginRegistry&gt;<BR>&lt;gst-plugin-paths&gt;<BR>&lt;path&gt;/lib/gstreamer-0.8&lt;/path&gt;<BR>&lt;path&gt;/usr/local/fs/vishwa/lib/gstreamer-0.8&lt;/path&gt;<BR>&lt;/gst-plugin-paths&gt;<BR>&lt;/GST-PluginRegistry&gt;<BR><BR><BR>7. This the content of user_registry<BR><BR> # cat /root/.gstreamer-0.8/registry.xml<BR>&lt;?xml version="1.0"?&gt;<BR>&lt;GST-PluginRegistry&gt;<BR>&lt;gst-plugin-paths&gt;<BR>&lt;/gst-plugin-paths&gt;<BR>&lt;/GST-PluginRegistry&gt;<BR><BR><BR>8. # gst-inspect<BR>gstcoreelements:&nbsp; queue: Queue<BR>gstcoreelements:&nbsp; thread: Threaded container<BR>gstcoreelements:&nbsp; pipeline: Pipeline object<BR>gstcoreelements:&nbsp; bin: Generic bin<BR><BR>9.# gst-inspect mad<BR>No such element or plugin
 'mad'<BR><BR>------------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>Let me know your thoughts.</DIV>
<DIV>waiting for reply......<BR><BR>Thnaks</DIV>
<DIV>Vishwa</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><B><I>Thomas Vander Stichele &lt;thomas@apestaart.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>&gt; Hi,<BR>&gt; I am new to this gstreamer and try to play mp3 file using mad plugin<BR>&gt; on target using gstreamer libraries, So I compiled gstreamer-0.8.7 &amp;<BR>&gt; gst-plugins for ARM and then copied the installed plugins and<BR>&gt; gstreamer libraries to my target filesystem. <BR><BR>&gt; But when I run "gst-register" command with plugins path, it just<BR>&gt; hangs.<BR>&gt; ---------------------------snip---------------------------------------<BR>&gt; # gst-register --gst-plugin-path=/lib<BR><BR>First question - why are you specifying this gst-plugin-path ? Are your<BR>plugins actually there ? If they are, why ? Doens't that dir contain<BR>system libs ?<BR><BR>&gt; Rebuilding global_registry<BR>&gt; (/usr/local/var/cache/gstreamer-0.8/registry.xml) ....<BR>&gt; -----&gt; hanging here<BR>&gt; ---------------------------------------------------------------------
 <BR>&gt; Can someone point me to the error?<BR><BR>check with strace or gdb what the process is doing there. Also, what<BR>did you run configure with ? It seems you didn't specify anything<BR>prefix-related to configure.<BR><BR>Are you used to cross-compiling and how to properly configure source<BR>packages and so on ?<BR><BR><BR><BR>Thomas<BR><BR>Dave/Dina : future TV today ! - http://www.davedina.org/<BR>&lt;-*- thomas (dot) apestaart (dot) org -*-&gt;<BR>the things I do posess<BR>sometimes they own me too<BR>&lt;-*- thomas (at) apestaart (dot) org -*-&gt;<BR>URGent, best radio on the net - 24/7 ! - http://urgent.fm/<BR><BR><BR><BR><BR><BR><BR>-------------------------------------------------------<BR>SF email is sponsored by - The IT Product Guide<BR>Read honest &amp; candid reviews on hundreds of IT Products from real users.<BR>Discover which products truly live up to the hype. Start reading now.
 <BR>http://productguide.itmanagersjournal.com/<BR>_______________________________________________<BR>gstreamer-devel mailing list<BR>gstreamer-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com