Thank you very much for your suggestions. The DOT tool is indeed working great and seems to contain all the data I was looking for.

For anyone else just skimming the documentation, make sure you have the following environment variable defined:

GST_DEBUG_DUMP_DOT_DIR  (some directory you want GStreamer to write the DOT files to)

Then generate a PNG file using the following command (which creates a file called "image.png"):

dot -Tpng -oimage.png  <your file>.dot



Thanks again,

Andreas

On 3/31/08, René Stadler <mail@renestadler.de> wrote:
Andreas Schuler wrote:
Hi all,

I have been trying to print my pipeline for debugging purpose using the xml write command but without success. What I keep getting is an access violation, no matter whether I am building in debug or release mode. Has anyone experienced a similar problem? What am I doing wrong?

My current GST setup:

GStreamer: 0.10.17
gst-plugins-base: 0.10.17
gst-plugins-good: 0.10.7
gst-plugins-bad: 0.10.6
gst-plugins-ugly: 0.10.7
gst-ffmpeg: 0.10.2


I am basically looking for a way to debug my GStreamer pipeline. I have found that GstEditor appears to be outdated and no longer compatible with the 0.10 releases. Is that correct? What other tools are you recommending to debug GStreamer applications?

Thanks,

Andreas



The XML serialization stuff is largely untested and expected to be unstable.  Newer gstreamer core versions provide debug functions to dump a pipeline as a description file for the "dot" program (from graphviz):

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS

The final output of that is a diagram of the pipeline layout that contains quite some details.

Apparently you can get graphviz as a simple installer for windows:

http://www.graphviz.org/Download..php

--
Regards,
 René Stadler



--
Andreas Schuler
CTO
Neokast LLC
Metis Enterprise Technologies LLC
990 Grove St. Suite #401
Evanston, IL 60201
847.328.7265
847.328.7276 (F)
262.327.1034 (C)
andreas@neokast.com