Pipeline Debugging.

Stefan Sauer ensonic at hora-obscura.de
Wed May 9 14:11:12 PDT 2012


On 05/07/2012 03:18 PM, Tiago Katcipis wrote:
> Hi Richard,
>
> When i found myself in situations like yours i find useful to use the
> identity element before/after the element that I'm suspecting to be
> the one that stalled. Also, GST_DEBUG is extremely useful, if you just
> use GST_DEBUG=5, the amount of debug information is overwhelming, but
> if you use GST_DEBUG=element:level, it gets a lot more interesting (i
> found a lot of bugs on my elements using GST_DEBUG=my_element:5).
and use the gst-debug-viewer (see
http://cgit.freedesktop.org/~cymacs/gst-debug-viewer/) for long log files.

Stefan
>
> Debug in general:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html
>
> Identity element:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-identity.html
>
> Debug elements that may be useful:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-plugin-debug.html
>
> Hope this helps.
>
> Best regards,
> Tiago Katcipis
>
> On Sat, May 5, 2012 at 9:36 AM, Richard <tuxbox.guru at gmail.com
> <mailto:tuxbox.guru at gmail.com>> wrote:
>
>     Hi All,
>
>     Is there a method in Gstreamer to determine which component in the
>     pipeline has stalled. Currently I have a FIFO file written to by an
>     application, this FIFO file is read by a filesrc SRC component and
>     after mangling the data is written to a FDSINK (which is a TCP/IP
>     handle to a Video viewer)
>
>     Randomly (it feels like it) the Gstreamer pipeline stops consuming
>     data out the FIFO and then it overflows. I have to tear the pipeline
>     down and re-start it for the data flow to resume.
>
>     Is there callback function/callback that shows how many packets were
>     consumed/produced as I have no idea what pipe is stalling.
>
>     I am using a leaky queue before the fdsink to help protect the
>     MPEGTSDEMUX/other components but even in this case the filesource
>     stops reading data.
>
>     I have tried using GST_DEBUG but that spams the console its almost
>     unusable... any alternatives to find out where the holdup is occuring?
>
>     Richard
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120509/fe2405e4/attachment.htm>


More information about the gstreamer-devel mailing list