[gst-devel] Text representation of a pipeline

Stefan Kost ensonic at hora-obscura.de
Sun Sep 16 13:43:44 CEST 2007


Hi all,

Tim Müller wrote:
> On Fri, 2007-09-14 at 13:08 +0200, Jerome Alet wrote:
> 
>> Particlaly based on your work I've written gst2dot.py available at :
>>
>>         http://cortex.unice.fr/~jerome/gst2dot/
>>         
>> This Python program converts GStreamer pipelines into Graphviz dot        
>> files, suitable to create a graphical representation of any running
>> pipeline.
>>
>> The dot and pdf example you'll find above was automatically 
>> generated from a running Boxtream (http://boxtream.unice.fr) 
>> scenario. But gst2dot.py itself contains a much simpler pipeline 
>> example. 
>>
>> Any comment is more than welcome.
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=456573 also has some code to
> dump pipelines as graphviz dot files.
> 
> Cheers
>  -Tim


Please test my patch mentioned above
(http://bugzilla.gnome.org/show_bug.cgi?id=456573), I like to get this into
gstreamer quite soonish. It not only dumps pipleines as dot-graphs, it also
visualizes, element states, caps, modified properties etc. If also handles bins
(with arbitrary depth) and ghost-pads. One can esily select what details should
be dumped. There is also an option to dump the graphs with timestamped filenames.

Stefan




More information about the gstreamer-devel mailing list