-
Notifications
You must be signed in to change notification settings - Fork 2
Debug a gst pipeline
Anselmo Battisti edited this page Oct 8, 2019
·
3 revisions
To generate an image like the above image from the pipeline of your code you can follow the above steps.
- export GST_DEBUG_DUMP_DOT_DIR=/tmp
- inside your c code place this line before the command tha plays the pipeline
- GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline), GST_DEBUG_GRAPH_SHOW_VERBOSE, "pipeline");
- Run the program
- Access the /tmp folder, should be a file called pipeline.dot
- install the xdot script and run xdot pipeline.dot