[gst-devel] How can I get the error msg after call the gst call?

Stefan Kost ensonic at hora-obscura.de
Fri Nov 19 11:25:37 CET 2010


On 19.11.2010 03:27, michael young wrote:
> Hi Stefan:
>     when I run my app like you said, I got a big log file. I just run
> my app 16 seconds and I got
> a log file with 40M size! Is this all right ?? and  I think It's so
> difficult to find any useful message from the big file!!

You can put a exit() call after the error and then look for the error
from the bottom of the log file upwards. You can also use "*:4" to have
less info. Once you are knowing what you are looking for you might be
able to restrict it further.

Stefan


>
> On Thu, Nov 18, 2010 at 10:09 PM, Stefan Kost <ensonic at hora-obscura.de
> <mailto:ensonic at hora-obscura.de>> wrote:
>
>     On 18.11.2010 10:20, michael young wrote:
>     > Hi all:
>     >     How can I get the error message when I call the gst call. For
>     > example , if I called the gst_element_query_duration(),
>     > and it return false, and now how can I get a description for the
>     > failure? Is there some function like strerror() ? tks :)
>
>     Nope. You would need to check the gstreamer log - run your app like
>     GST_DEBUG="*:5" ./my-app 2>debug.log.
>
>     Stefan
>
>     >
>     >
>     ------------------------------------------------------------------------------
>     > Beautiful is writing same markup. Internet Explorer 9 supports
>     > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>     > Spend less time writing and  rewriting code and more time
>     creating great
>     > experiences on the web. Be a part of the beta today
>     > http://p.sf.net/sfu/msIE9-sfdev2dev
>     >
>     >
>     > _______________________________________________
>     > gstreamer-devel mailing list
>     > gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>     >
>
>
>     ------------------------------------------------------------------------------
>     Beautiful is writing same markup. Internet Explorer 9 supports
>     standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>     Spend less time writing and  rewriting code and more time creating
>     great
>     experiences on the web. Be a part of the beta today
>     http://p.sf.net/sfu/msIE9-sfdev2dev
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list