This project shows how to generate a .dot
file for a GStreamer pipeline and visualize it using Graphviz. It helps you inspect and debug GStreamer pipeline structures.
- Create a GStreamer pipeline in C.
- Set the
GST_DEBUG_DUMP_DOT_DIR
environment variable. - Run the application.
- GStreamer generates a
.dot
file representing the pipeline. - Convert the
.dot
file to a.png
using Graphviz (dot -Tpng
).
- GStreamer (with
gst-launch-1.0
) - Graphviz (
dot
command) - GCC
export GST_DEBUG_DUMP_DOT_DIR=./
./main
dot -Tpng pipeline.dot -o pipeline.png