tuxmartin

gstreamer debugging

Jul 28th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. apt-get install graphviz
  2.  
  3. GST_DEBUG_DUMP_DOT_DIR=/tmp/gst gst-launch-1.0 ...
  4.  
  5. cd /tmp/gst
  6.  
  7. dot -Tpng 0.00.24.846778049-gst-launch.PLAYING_PAUSED.dot > pipeline.png
  8.  
  9.  
  10. # or for all files:
  11. for X in *.dot; do
  12. dot -Tpng ${X} > ${X}.png
  13. done
  14.  
  15. -----------------
  16. # or
  17. export GST_DEBUG_DUMP_DOT_DIR=/tmp/gst
  18. gst-launch-1.0 ...
  19.  
  20. cd /tmp/gst
  21.  
  22. dot -Tpng 0.00.24.846778049-gst-launch.PLAYING_PAUSED.dot > pipeline.png
  23.  
  24.  
  25. # or for all files:
  26. for X in *.dot; do
  27. dot -Tpng ${X} > ${X}.png
  28. done
Add Comment
Please, Sign In to add comment