# GStreamer 命令行用例

Source: [https://docs.qualcomm.com/doc/80-70015-50SC/topic/gstreamer-application-use-cases.html](https://docs.qualcomm.com/doc/80-70015-50SC/topic/gstreamer-application-use-cases.html)

GStreamer 提供 [gst-launch-1.0](https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html) 等命令行工具，帮助您运行 AI/ML 和多媒体用例。

## 前提条件

- 要访问主机设备，应启用 SSH。相关说明，可参见 [SSH 使用指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/how_to.html#how-to-ssh-)。
- 进入 SSH shell 并运行用例：

        ssh root@<ip-addr of the target device>Copy to clipboard
- 启用显示器：

        export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard
- 从主机推送文件：

        scp <filename> root@<IP address of target device>:/opt/Copy to clipboard

- 确保显示器通过 HDMI 端口连接到设备。

- **[机器学习用例](https://docs.qualcomm.com/doc/80-70015-50SC/topic/machine-learning-use-cases.html)**  

TensorFlow Lite runtime 和 Qualcomm Neural Processing SDK runtime 用于机器学习用例中的推理。
- **[多媒体用例](https://docs.qualcomm.com/doc/80-70015-50SC/topic/multimedia-use-cases.html)**  

多媒体用例展示了使用 GStreamer pipeline 的各种多媒体场景。

Last Published: Nov 11, 2025

[Previous Topic
解码检测显示](https://docs.qualcomm.com/bundle/publicresource/80-70015-50SC/topics/decode-detection-display.md) [Next Topic
机器学习用例](https://docs.qualcomm.com/bundle/publicresource/80-70015-50SC/topics/machine-learning-use-cases.md)