Debugging GStreamer Pipelines¶
A practical reference for inspecting GStreamer pipelines, enabling debug output, and narrowing down media negotiation or runtime failures.
This English edition preserves the original commands, configuration fragments, and diagrams so the steps can be reproduced directly.
Commands and configuration¶
gst-launch-1.0 videotestsrc ! autovideosink # 播放测试视频
gst-launch-1.0 filesrc location=video.mp4 ! decodebin ! autovideosink # 播放文件
gst-launch-1.0 videotestsrc ! autovideosink | gst-dot > pipeline.dot
dot -Tpng pipeline.dot -o pipeline.png
Notes¶
Use these examples as a starting point and adjust versions, device names, codecs, and network addresses for the target platform.