[gst-devel] How to debug the gstreamer code flow?
Thomas Vander Stichele
thomas at apestaart.org
Fri Mar 12 03:54:04 CET 2004
First of all, vishy, please subscribe to the mailing list. It's tiring
to approve posts :)
> Your second part answered my question. I was meaning
> those parts of Gstreamer that are wanted by my media
All of it should be wanted by your player. I'm not sure what you think
you can leave out.
> > > Also as i am new to Linux, I am facing lot of
> > problems
> > > Gstreamer installation.
> > What distribution of Linux did you use ? What
> > exactly is the problem you
> > are having ?
> Initially I tried with Gstreamer version 0.6.5. I
> tried installing on Redhat linux 9.0.
Then you could use the rpms for RH9 no ?
> The Gstreamer
> core make was giving some .la file missing that are
> required by the libtool.
Without a *real* log of what went wrong I can't speculate. This is too
vague for me to help.
> I created them by using
> commands such as,
> libtool gcc -static -o libgnomevfs-2.la
I don't even want to *know* what that tries to do or where you got that
from :) In any case, GStreamer should just build out of the box, if it
doesn't we want to hear about it with a bug report.
> Core was installed. But Plugin's ./configure was not
> recognizing the Gtreamer core version 6.
Looking at the rest of the mail, that's because you installed it to
/usr/local but didn't set your PKG_CONFIG_PATH.
> Similarly vesion 7.4 was giving undefined reference
> error, and the symbol mentioned was gnomegstconf (not
> very sure about the corect name)
Again, I need the actual output.
> One of my colleague tried to install 0.6.4 on his
> machine. He faced some problems, but he he was able to
> overcome them as he knows about linux more. He
> suggested me to do the folloing commonds before
> configuring the plugins,
> cp /usr/local/lib/pkgconfig/gstreamer-0.6.pc
> cp /usr/local/lib/pkgconfig/gstreamer-control-0.6.pc
It's bad form to do this. So don't. What you should do is do
before running configure on additional modules.
> I tried installing 0.6.4 (both core and plugins), on
> another machine with redhad 9.0. Everything worked
> fine with bunch of displays on the terminal. But when
> I tried to execute examples/helloworld ./helloworld
> dummy.mp3, i got the error "Unable to find the plugin
> "mad". Here i would expect that this command should
> invoke mp3 plugin and should error could not open the
> file. Am i doing something wrong in using these
No the example is correct. However, you don't have the mad plugin, and
it probably didn't build because you don't have mad-devel or
> > For the core, only popt, libxml2 (theoretically
> > optional) and glib2 are
> > necessary.
> But i did got errors during make asking for .la files
> with 0.6.5 version.
Yep, so show them.
> > For the plugins, there are a lot, and configure
> > tells you which. In
> > practice you should use a distribution and get
> > GStreamer packages for
> > that distribution, esp. if you're new to linux.
> I will read all these messages. But what all the
> output messages from Gstreamer are improtant for us?
That depends, so I can't generalize. At the end you get an overview of
plugins that are and are not going to be built. If there are plugins
you need showing in the list of not built, then you need to check higher
up why it's not getting built (for example, missing development files)
and fix that first.
Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
and it's moving so fast
slow down honey
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/
More information about the gstreamer-devel