# GStreamer 命令行用例

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

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

## 前提条件

- 如果还没有安装 eSDK，请[下载并安装 eSDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-51/install-sdk.html#download-and-install-esdk-)。
- 要访问您的主机设备，请启用 SSH。有关说明，请参阅[使用 SSH 登录](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-254/how_to.html#use-ssh)。
Note: 若已启用 SSH，可跳过此步骤。
- 从 Linux 主机推送文件。

        scp <filename> root@<IP address of target device>:/etc/Copy to clipboard
- 使用 HDMI 端口将显示器连接到设备。有关说明，请参见[设置 HDMI 显示器](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-18/samples.html)。
- 启用显示屏：

        export XDG_RUNTIME_DIR=/dev/socket/weston && export WAYLAND_DISPLAY=wayland-1Copy to clipboard
- 连接扬声器以启用音频。有关说明，请参见[设置音频硬件](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-16/enable-audio.html)。

如果启用摄像头或显示器时遇到问题，请参阅[摄像头故障排除](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-17/troubleshooting.html)和[显示器故障排除](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-18/debug.html)。

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

在机器学习用例中使用 LiteRT 和 Qualcomm Neural Processing SDK runtime 进行推理。
- **[运行多媒体用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/multimedia-use-cases.html)**  

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

Last Published: Nov 12, 2025

[Previous Topic
将 Qualcomm IM SDK 部署为容器](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/application-deployment-within-container-api-gstd.md) [Next Topic
运行机器学习用例](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/machine-learning-use-cases.md)