<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> </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. </DIV>
<DIV>I am sure i have plugins(mad,lame etc) on target.But It 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. </DIV>
<DIV>Could someone help me on this...</DIV>
<DIV> </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 && make && 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 --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 --disable-jpeg<BR>--disa<BR>ble-ladspa --disable-libcaca --disable-lcs
--disable-libdv<BR>--disabl<BR>e-libmng --disable-librfb --disable-libvisual --disable-mplex<BR>--disable-muse<BR>pack --disable-musicbrainz --disable-nas --disable-polyp<BR>--disable-dv1394 <BR>--disable-sdltest --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 && make && 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><?xml version="1.0"?><BR><GST-PluginRegistry><BR><gst-plugin-paths><BR><path>/lib/gstreamer-0.8</path><BR><path>/usr/local/fs/vishwa/lib/gstreamer-0.8</path><BR></gst-plugin-paths><BR></GST-PluginRegistry><BR><BR><BR>7. This the content of user_registry<BR><BR> # cat /root/.gstreamer-0.8/registry.xml<BR><?xml version="1.0"?><BR><GST-PluginRegistry><BR><gst-plugin-paths><BR></gst-plugin-paths><BR></GST-PluginRegistry><BR><BR><BR>8. # gst-inspect<BR>gstcoreelements: queue: Queue<BR>gstcoreelements: thread: Threaded container<BR>gstcoreelements: pipeline: Pipeline object<BR>gstcoreelements: bin: Generic bin<BR><BR>9.# gst-inspect mad<BR>No such element or plugin
'mad'<BR><BR>------------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>Let me know your thoughts.</DIV>
<DIV>waiting for reply......<BR><BR>Thnaks</DIV>
<DIV>Vishwa</DIV>
<DIV> </DIV>
<DIV><BR><B><I>Thomas Vander Stichele <thomas@apestaart.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>> Hi,<BR>> I am new to this gstreamer and try to play mp3 file using mad plugin<BR>> on target using gstreamer libraries, So I compiled gstreamer-0.8.7 &<BR>> gst-plugins for ARM and then copied the installed plugins and<BR>> gstreamer libraries to my target filesystem. <BR><BR>> But when I run "gst-register" command with plugins path, it just<BR>> hangs.<BR>> ---------------------------snip---------------------------------------<BR>> # 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>> Rebuilding global_registry<BR>> (/usr/local/var/cache/gstreamer-0.8/registry.xml) ....<BR>> -----> hanging here<BR>> ---------------------------------------------------------------------
<BR>> 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><-*- thomas (dot) apestaart (dot) org -*-><BR>the things I do posess<BR>sometimes they own me too<BR><-*- thomas (at) apestaart (dot) org -*-><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 & 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