Check gstreamer's pipeline in graph
Set env var to export .dot file:
export GST_DEBUG_DUMP_DOT_DIR=.
Run the pipeline:
gst-lauch ...
Some .dot files are generated:
0.00.01.122222900-gst-launch.NULL_READY.dot
0.00.02.404022214-gst-launch.READY_PAUSED.dot
0.00.02.435974120-gst-launch.PAUSED_PLAYING.dot
0.00.23.584625244-gst-launch.PLAYING_READY.dot
Usually I check "PAUSED_PLAYING" state. Use "dot" utility in Graphviz to generate the PNG file:
dot -Tpng XXX.dot -o XXX.png
export GST_DEBUG_DUMP_DOT_DIR=.
Run the pipeline:
gst-lauch ...
Some .dot files are generated:
0.00.01.122222900-gst-launch.NULL_READY.dot
0.00.02.404022214-gst-launch.READY_PAUSED.dot
0.00.02.435974120-gst-launch.PAUSED_PLAYING.dot
0.00.23.584625244-gst-launch.PLAYING_READY.dot
Usually I check "PAUSED_PLAYING" state. Use "dot" utility in Graphviz to generate the PNG file:
dot -Tpng XXX.dot -o XXX.png
留言
張貼留言