[gst-devel] "No such element or plugin mad"

vishwanath H.G visuu2003 at yahoo.com
Wed Dec 15 03:00:01 CET 2004

Thanks for your reply thomas and cristan, Here my aim is to play mp3 file on target using mad plugin and gstreamer.
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. 
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.
Please see the logs below.  
Could someone help me on this...

1. This is cross-compilation steps of gstreamer for ARM on x86 host


CC=arm-linux-gcc AR=arm-linux-ar LD=arm-linux-ld
./configure --host=arm-linux
vishwa && make && make install

2.This is cross-compilation steps of gst-plugins for ARM on x86 host


CC=arm-linux-gcc AR=arm-linux-ar LD=arm-linux-ld

./configure --host=arm-linux    --prefix=/usr/local/fs/vishwa
TARGETDIR/include --x-libraries=$TARGETDIR/lib --disable-tests
etypetest --with-x --disable-dxr3 --disable-vcd --disable-qcam
audio --disable-cdrom --disable-alsa --disable-aalibtest
--disable-esdtest --disable-liblame --disable-libfametest 
isable-artsc --disable-artstest --disable-esd --disable-esdtest
kmod --disable-libmikmodtest --disable-ogg --disable-oggtest
a --disable-shout --disable-shout2 --disable-shout2test --disable-dts
ble-osx_audio --disable-osx_video --disable-opengl --disable-cdrom
-xvideo --disable-xshm --disable-cdaudio --disable-cdparanoia
ec --disable-aalib --disable-aalibtest --disable-dirac --disable-dts
le-dvdread --disable-dvdnav --disable-flac --disable-gnome_vfs
 --disable-hermes --disable-ivorbis --disable-jack   --disable-jpeg
ble-ladspa  --disable-libcaca  --disable-lcs      --disable-libdv
e-libmng --disable-librfb --disable-libvisual --disable-mplex
pack  --disable-musicbrainz --disable-nas  --disable-polyp
--disable-sdltest    --disable-sidplay --disable-smoothwave
--disable-sndfile --disable-swfdec --disable-tarkin --disable-theora
le-vorbis --disable-vorbistest --disable-xine --disable-xvid
ling && make && make install

3. Copy files (libraries,lib/gstreamer-0.8,binaries) from the directory
specified in prefix to target filesystem.

4.On target export plugin paths
# export GST_PLUGIN_PATH=/lib/gstreamer-0.8:$GST_PLUGIN_PATH

5.Run "gst-register" on target

 # gst-register
Rebuilding global_registry
y.xml) ...
Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...
Loaded 0 plugins with 0 features.

6. This the content of global_registry

 # cat /usr/local/fs/vishwa/var/cache/gstreamer-0.8/registry.xml
<?xml version="1.0"?>

7. This the content of user_registry

 # cat /root/.gstreamer-0.8/registry.xml
<?xml version="1.0"?>

8. # gst-inspect
gstcoreelements:  queue: Queue
gstcoreelements:  thread: Threaded container
gstcoreelements:  pipeline: Pipeline object
gstcoreelements:  bin: Generic bin

9.# gst-inspect mad
No such element or plugin 'mad'

Let me know your thoughts.
waiting for reply......


Thomas Vander Stichele <thomas at apestaart.org> wrote:

> Hi,
> I am new to this gstreamer and try to play mp3 file using mad plugin
> on target using gstreamer libraries, So I compiled gstreamer-0.8.7 &
> gst-plugins for ARM and then copied the installed plugins and
> gstreamer libraries to my target filesystem. 

> But when I run "gst-register" command with plugins path, it just
> hangs.
> ---------------------------snip---------------------------------------
> # gst-register --gst-plugin-path=/lib

First question - why are you specifying this gst-plugin-path ? Are your
plugins actually there ? If they are, why ? Doens't that dir contain
system libs ?

> Rebuilding global_registry
> (/usr/local/var/cache/gstreamer-0.8/registry.xml) ....
> -----> hanging here
> --------------------------------------------------------------------- 
> Can someone point me to the error?

check with strace or gdb what the process is doing there. Also, what
did you run configure with ? It seems you didn't specify anything
prefix-related to configure.

Are you used to cross-compiling and how to properly configure source
packages and so on ?


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
the things I do posess
sometimes they own me too
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20041215/074c3ffa/attachment.htm>

More information about the gstreamer-devel mailing list