debugging gstreamer

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

debugging gstreamer

Chuck Crisler
I am new to gstreamer development and trying to upgrade an existing
implementation on an embedded linux system to a newer version. The problem
that I am facing is that we put the plugins into a non-standard directory
and gstreamer can't seem to find them. This is the same directory as our
current system that works well. I have briefly looked into the gstreamer
code and there is a rich logging system implemented that should help me find
my error. Unfortunately I can't get it to work. I have been looking at
gstinfo.h and set the GST_LEVEL_DEFAULT to GST_LEVEL_LOG, I have verified
that the DISABLE_DEBUG and DISABLE_GST_DEBUG at not set. The only part of
the logging that I don't understand is the component part, so that may be
what is blocking me. Would someone please give me some guidance in getting
this to work?

Thank you,
Chuck Crisler

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: debugging gstreamer

Loren Rogers
Hi Chuck,
This is Loren.  I'm not sure what you are saying here.  Are you trying
to turn on logging at a certain level?  If so then you need to set the
logging level the same spot as gst_init().  With vgo's stuff this is
done (or at least used to be done) in IMX27VideoEngine.cpp.  Am I
missing the boat here?
/Loren


On Fri, Mar 25, 2011 at 9:39 AM, Chuck Crisler <[hidden email]> wrote:

> I am new to gstreamer development and trying to upgrade an existing
> implementation on an embedded linux system to a newer version. The problem
> that I am facing is that we put the plugins into a non-standard directory
> and gstreamer can't seem to find them. This is the same directory as our
> current system that works well. I have briefly looked into the gstreamer
> code and there is a rich logging system implemented that should help me find
> my error. Unfortunately I can't get it to work. I have been looking at
> gstinfo.h and set the GST_LEVEL_DEFAULT to GST_LEVEL_LOG, I have verified
> that the DISABLE_DEBUG and DISABLE_GST_DEBUG at not set. The only part of
> the logging that I don't understand is the component part, so that may be
> what is blocking me. Would someone please give me some guidance in getting
> this to work?
>
> Thank you,
> Chuck Crisler
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
"Some men see things as they are and say why. I dream things that
never were and say why not?" - GBS
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: debugging gstreamer

Tiago Katcipis
In reply to this post by Chuck Crisler
Chuck,

have you already tried this ?

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html

hope it helps.

Best regards,
Tiago Katcipis

On Fri, Mar 25, 2011 at 10:39 AM, Chuck Crisler <[hidden email]> wrote:
I am new to gstreamer development and trying to upgrade an existing implementation on an embedded linux system to a newer version. The problem that I am facing is that we put the plugins into a non-standard directory and gstreamer can't seem to find them. This is the same directory as our current system that works well. I have briefly looked into the gstreamer code and there is a rich logging system implemented that should help me find my error. Unfortunately I can't get it to work. I have been looking at gstinfo.h and set the GST_LEVEL_DEFAULT to GST_LEVEL_LOG, I have verified that the DISABLE_DEBUG and DISABLE_GST_DEBUG at not set. The only part of the logging that I don't understand is the component part, so that may be what is blocking me. Would someone please give me some guidance in getting this to work?

Thank you,
Chuck Crisler
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: debugging gstreamer

Chuck Crisler
In reply to this post by Loren Rogers
HOWDY! I think that I have logging on, but it doesn't display anywhere. I
have added a few printf's and they do display, so it is the logging system.
I just had added a printf in the GST_CAT_LEVEL_LOG macro that showed up
hundreds of times, so that much is working. But nothing else displays, which
is the problem. I will look in the IMX27VideoEnging.

Thank you,
Chuck
----- Original Message -----
From: "Loren Rogers" <[hidden email]>
To: "Discussion of the development of and with GStreamer"
<[hidden email]>
Sent: Friday, March 25, 2011 9:52 AM
Subject: Re: debugging gstreamer


> Hi Chuck,
> This is Loren.  I'm not sure what you are saying here.  Are you trying
> to turn on logging at a certain level?  If so then you need to set the
> logging level the same spot as gst_init().  With vgo's stuff this is
> done (or at least used to be done) in IMX27VideoEngine.cpp.  Am I
> missing the boat here?
> /Loren
>
>
> On Fri, Mar 25, 2011 at 9:39 AM, Chuck Crisler <[hidden email]>
> wrote:
>> I am new to gstreamer development and trying to upgrade an existing
>> implementation on an embedded linux system to a newer version. The
>> problem
>> that I am facing is that we put the plugins into a non-standard directory
>> and gstreamer can't seem to find them. This is the same directory as our
>> current system that works well. I have briefly looked into the gstreamer
>> code and there is a rich logging system implemented that should help me
>> find
>> my error. Unfortunately I can't get it to work. I have been looking at
>> gstinfo.h and set the GST_LEVEL_DEFAULT to GST_LEVEL_LOG, I have verified
>> that the DISABLE_DEBUG and DISABLE_GST_DEBUG at not set. The only part of
>> the logging that I don't understand is the component part, so that may be
>> what is blocking me. Would someone please give me some guidance in
>> getting
>> this to work?
>>
>> Thank you,
>> Chuck Crisler
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
>
> --
> "Some men see things as they are and say why. I dream things that
> never were and say why not?" - GBS
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel