# 示例应用程序

Source: [https://docs.qualcomm.com/doc/80-70017-50SC/topic/example-applications.html](https://docs.qualcomm.com/doc/80-70017-50SC/topic/example-applications.html)

Qualcomm IM SDK 包含示例应用程序，使用户能够体验 Qualcomm Linux 的 **AI/ML** 和**多媒体**功能。此外，**基于            Python 的示例应用程序**可用于常见用例。这些应用程序可作为在 Qualcomm Linux 上运行自定义用例的参考。

以下几组示例应用程序适用于与零售、Edge AI 盒子、IP 摄像头、无人机和机器人相关的不同用例。

- **AI/ML 应用程序**重点关注 AI 和 ML 功能。
- **多媒体应用程序**与摄像头、视频和音频功能相关。
- **[Python 应用程序](https://docs.qualcomm.com/doc/80-70017-50SC/topic/python-sample-applications.html)**是使用 Python 运行用例的示例应用程序。

重要：
- 确保主机使用 Ubuntu 22.04。
- 本指南中的命令与 Qualcomm Linux 1.3 兼容。[验证您的 Qualcomm Linux 发布版本](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-253/set_up_the_device.html#check-qualcomm-linux-version)。
    如果你的发布版本不是 1.3，[刷写最新版本](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-253/set_up_the_device.html#flash-software)。
- 本指南中的示例应用程序和 AI 程序与以下 runtime 版本兼容：
    - Qualcomm® Neural Processing SDK – v2.29
    - Qualcomm® AI Engine Direct – v2.29
    - TensorFlow Lite（当前称为 Lite runtime 或 LiteRT）– v2.16.1

    在开始 AI/ML 开发之前，请确保将匹配的 SDK 下载到主机。

## 示例应用程序支持的输入源

Table : 支持的输入源

| SoC | 摄像头输入 | 文件输入 | RTSP 输入 |
| :--- | :--- | :--- | :--- |
| QCS6490 | ✔ | ✔ | ✔ |
| QCS9075 | ❌ | ✔ | ✔ |
| QCS8275 | ❌ | ✔ | ✔ |

## 安装

请选择以下方法之一，编译并安装示例应用程序：

- 平台 eSDK：下载预编译的示例应用程序。相关说明，可参见[下载并安装 eSDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-51/install-sdk.html#download-and-install-esdk-)。
- GitHub 工作流：下载并编译 SDK 源代码并安装应用程序。

下表提供了从 GitHub 下载示例应用程序的源代码路径。

## AI/ML 示例应用程序的源代码信息

下列 AI/ML 应用程序适用于 QCS6490、QCS9075 和 QCS8275。

Table : AI/ML 示例应用程序

| 应用程序 | CodeLinaro Git - 源代码路径 | 演示 |
| --- | --- | --- |
| [分类](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-classification.html) | [gst-ai-classification](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-classification?ref_type=heads) | 对来自摄像头、文件源或实时流协议 (RTSP) 的流执行分类。 |
| [目标检测](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-object-detection.html) | [gst-ai-object-detection](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-object-detection?ref_type=heads) | 对来自摄像头、文件源或 RTSP 的流执行目标检测。 |
| [姿态检测](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-pose-detection.html) | [gst-ai-pose-detection](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r1-rel/gst-sample-apps/gst-ai-pose-detection?ref_type=heads) | 对来自摄像头、文件源或 RTSP 的流执行姿态检测。 |
| [图像分割](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-segmentation.html) | [gst-ai-segmentation](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-segmentation?ref_type=heads) | 对来自摄像头、文件源或 RTSP 的流执行图像分割。 |
| [并行 AI 融合](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-parallel-inference.html) | [gst-ai-parallel-inference](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-parallel-inference?ref_type=heads) | 多个 AI/ML 模型在来自摄像头、文件源或 RTSP 的流上并行运行。 |
| [多输入 AI 推理](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-multi-input-output-object-detection.html) | [gst-ai-multi-input-output-object-detection](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-multi-input-output-object-detection?ref_type=heads) | Edge AI 盒子用例，通过摄像头、文件源或 RTSP 等多个源提供输入。 |
| [菊花链检测与分类](https://docs.qualcomm.com/doc/80-70017-50SC/topic/daisy-chain-detection-and-classification.html) | [gst-ai-daisychain-detection-classification](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-daisychain-detection-classification?ref_type=heads) | 对从多个来源（例如摄像头、文件源或 RTSP）的流的图像执行级联目标检测和分类。 |
| [菊花链检测和姿态估计](https://docs.qualcomm.com/doc/80-70017-50SC/topic/daisy-chain-detection-and-pose-detection.html) | [gst-ai-daisychain-detection-pose](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-daisychain-detection-pose?ref_type=heads) | 对来自多个源（例如摄像头、文件源或 RTSP）的流执行级联目标检测和姿态检测。 |
| [视频单目深度](https://docs.qualcomm.com/doc/80-70017-50SC/topic/mono-depth-from-video.html) | [gst-ai-monodepth](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-monodepth?ref_type=heads) | 对来自摄像头、文件源或 RTSP 流的图像执行单目深度估计。 |
| [视频超分辨率](https://docs.qualcomm.com/doc/80-70017-50SC/topic/video-super-resolution.html) | [gst-ai-superresolution](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-superresolution?ref_type=heads) | 使用低分辨率输入源生成高分辨率视频帧。 |
| [多流推理](https://docs.qualcomm.com/doc/80-70017-50SC/topic/multistream-inference.html) | [gst-ai-multistream-inference](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-multistream-inference?ref_type=heads) | 对来自摄像头、文件源或 RTSP 等多个来源的输入执行 AI 推理（目标检测和分类）。 |
| [多流批量推理](https://docs.qualcomm.com/doc/80-70017-50SC/topic/multistream-batch-inference.html)（Alpha 发布版本） | [gst-ai-multistream-batch-inference](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-multistream-batch-inference?ref_type=heads) | 对文件源输入执行批量 AI 推理（目标检测和分割）。 |
| [AI 智能 codec](https://docs.qualcomm.com/doc/80-70017-50SC/topic/ai-smart-codec.html) | [gst-ai-smartcodec-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-smartcodec-example?ref_type=heads) | 对来自摄像头或文件源的输入流减少其网络带宽或存储空间。 |
| [人脸检测](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-face-detection.html) | [gst-ai-face-detection](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-face-detection?ref_type=heads) | 获取摄像头、文件或 RTSP 流输入，并使用 Qualcomm® AI Engine Direct 执行人脸检测模型来生成预览。 |
| [人脸识别](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-ai-face-recognition.html) | [gst-ai-face-recognition](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-face-recognition?ref_type=heads) | 获取摄像头、文件或 RTSP 流输入，并使用 Qualcomm AI Engine Direct 的 three\_dmm 模型进行人脸检测和人脸识别 。 |
| [使用 Python 和容器进行图像分割](https://docs.qualcomm.com/doc/80-70017-50SC/topic/image-segmentation-using-python.html)（Alpha 版本） | [snpe_segmentation_app.py](https://git.codelinaro.org/clo/le/sdk-tools/-/blob/imsdk-tools.lnx.1.0/snpe-container-python/src/python/snpe/test_snpe/snpe_segmentation_app.py?ref_type=heads) | 使用来自 docker 的 python 绑定进行分段。 |

## 多媒体示例应用程序的源代码信息

| 应用程序 | CodeLinaro Git - 源代码路径 | 演示 | 支持的 SoC |
| --- | --- | --- | --- |
| **摄像头应用程序** | **摄像头应用程序** | **摄像头应用程序** | **摄像头应用程序** |
| [单路摄像头流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-camera-single-stream-example.html) | [gst-camera-single-stream-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-camera-single-stream-example?ref_type=heads) | 用于预览、视频编码器或网络 (RTSP) 的单路摄像头流。 | QCS6490 |
| [USB 摄像头](https://docs.qualcomm.com/doc/80-70017-50SC/topic/usb-camera.html) | [gst-usb-single-camera-app](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-usb-single-camera-app?ref_type=heads) | 用于预览、视频编码器或网络 (RTSP) 的 USB 单路摄像头流。 | QCS6490 |
| [USB 摄像头](https://docs.qualcomm.com/doc/80-70017-50SC/topic/usb-camera.html) | [gst-usb-single-camera-app](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-usb-single-camera-app?ref_type=heads) | 用于预览、视频编码器或网络 (RTSP) 的 USB 单路摄像头流。 | QCS9075 |
| [USB 摄像头](https://docs.qualcomm.com/doc/80-70017-50SC/topic/usb-camera.html) | [gst-usb-single-camera-app](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-usb-single-camera-app?ref_type=heads) | 用于预览、视频编码器或网络 (RTSP) 的 USB 单路摄像头流。 | QCS8275 |
| [多摄像头流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-multi-camera-stream-example.html) | [gst-multi-camera-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-multi-camera-example?ref_type=heads) | 来自两个摄像头的并发流。立体声和行车记录仪等用例。 | QCS6490 |
| [多个流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-multi-stream-example.html) | [gst-multi-stream-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-multi-stream-example?ref_type=heads) | 使用 [tee](https://gstreamer.freedesktop.org/documentation/coreelements/tee.html) 将单路摄像头的数据复制到两个流中。 | QCS6490 |
| [实时快照](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-snapshot-stream-example.html) | [gst-snapshot-stream-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-snapshot-stream-example?ref_type=heads) | 录制实时视频时拍照。需要基于事件（如入侵警报）执行拍照的监控摄像头等用例。 | QCS6490 |
| [在运行中激活-停用流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-activate-deactivate-streams-runtime.html) | [gst-activate-deactivate-streams-runtime-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-activate-deactivate-streams-runtime?ref_type=heads) | 即时修改摄像头分辨率，无需重新启动传感器。 | QCS6490 |
| [在运行中添加-删除流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-add-remove-streams-runtime.html) | [gst-add-remove-streams-runtime](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-add-remove-streams-runtime) | 动态添加和删除多个流。 | QCS6490 |
| [摄像头帧处理](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-appsink-example.html) | [gst-appsink-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-appsink-example?ref_type=heads) | 在编码之前将变换和其他算法应用于摄像头帧。 | QCS6490 |
| [摄像头元数据](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-camera-metadata-example.html) | [gst-camera-metadata-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-camera-metadata-example?ref_type=heads) | 场景模式、白平衡和码率等元数据。用于监控和无人机摄像头的高级成像信息。 | QCS6490 |
| [摄像头流配置](https://docs.qualcomm.com/doc/80-70017-50SC/topic/camera-stream-configuration.html) | [gst-add-streams-as-bundle-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-add-streams-as-bundle-example?ref_type=heads) | 将多个摄像头流配置为一个 bundle，从而节省时间。 | QCS6490 |
| [摄像头连拍](https://docs.qualcomm.com/doc/80-70017-50SC/topic/camera-burst-capture.html) | [gst-camera-burst-capture-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-camera-burst-capture-example?ref_type=heads) | 在连拍模式下拍照。 | QCS6490 |
| [摄像头切换](https://docs.qualcomm.com/doc/80-70017-50SC/topic/camera-switch.html) | [gst-camera-switch-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-camera-switch-example?ref_type=heads) | 在两个摄像头之间切换。 | QCS6490 |
| [宽动态范围和电子图像稳定](https://docs.qualcomm.com/doc/80-70017-50SC/topic/dynamic-range-and-image-stabilization.html) | [gst-camera-shdr-ldc-eis-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-camera-shdr-ldc-eis-example?ref_type=heads) | 超高动态范围 (sHDR)、低动态范围 (LDR) 和电子图像稳定 (EIS) 等摄像头成像技术。 | QCS6490 |
| **视频应用** | **视频应用** | **视频应用** | **视频应用** |
| [视频墙](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-concurrent-videoplay-composition.html) | [gst-concurrent-videoplay-composition](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-concurrent-videoplay-composition?ref_type=heads) | 播放在设备上合成的多个视频。用于零售空间和数字标牌的视频墙的用例。 | QCS6490 |
| [视频墙](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-concurrent-videoplay-composition.html) | [gst-concurrent-videoplay-composition](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-concurrent-videoplay-composition?ref_type=heads) | 播放在设备上合成的多个视频。用于零售空间和数字标牌的视频墙的用例。 | QCS9075 |
| [视频墙](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-concurrent-videoplay-composition.html) | [gst-concurrent-videoplay-composition](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-concurrent-videoplay-composition?ref_type=heads) | 播放在设备上合成的多个视频。用于零售空间和数字标牌的视频墙的用例。 | QCS8275 |
| [智能 codec](https://docs.qualcomm.com/doc/80-70017-50SC/topic/smart-codec.html) | [gst-smartcodec-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-smartcodec-example?ref_type=heads) | 减少摄像头输入的网络带宽或存储空间。 | QCS6490 |
| [智能 codec](https://docs.qualcomm.com/doc/80-70017-50SC/topic/smart-codec.html) | [gst-smartcodec-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-smartcodec-example?ref_type=heads) | 减少摄像头输入的网络带宽或存储空间。 | QCS9075 |
| [智能 codec](https://docs.qualcomm.com/doc/80-70017-50SC/topic/smart-codec.html) | [gst-smartcodec-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-smartcodec-example?ref_type=heads) | 减少摄像头输入的网络带宽或存储空间。 | QCS8275 |
| [多格式编码/解码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-videocodec-concurrent-playback.html) | [gst-videocodec-concurrent-playback](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-videocodec-concurrent-playback?ref_type=heads) | 同时解码和播放多种格式。AI 盒子和视频会议系统等用例，其以不同格式发送视频输入。 | QCS6490 |
| [多格式编码/解码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-videocodec-concurrent-playback.html) | [gst-videocodec-concurrent-playback](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-videocodec-concurrent-playback?ref_type=heads) | 同时解码和播放多种格式。AI 盒子和视频会议系统等用例，其以不同格式发送视频输入。 | QCS9075 |
| [多格式编码/解码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-videocodec-concurrent-playback.html) | [gst-videocodec-concurrent-playback](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-videocodec-concurrent-playback?ref_type=heads) | 同时解码和播放多种格式。AI 盒子和视频会议系统等用例，其以不同格式发送视频输入。 | QCS8275 |
| [音视频播放](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-audio-video-playback.html) | [gst-audio-video-playback](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r1-rel/gst-sample-apps/gst-audio-video-playback?ref_type=heads) | 音频和视频播放功能。构建需要音频和视频的不同多媒体产品。 | QCS6490 |
| [视频转码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-video-transcode-example.html) | [gst-video-transcode-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-video-transcode-example?ref_type=heads) | AVC 到 HEVC 或 HEVC 到 AVC 格式的视频转码。 | QCS6490 |
| [视频转码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-video-transcode-example.html) | [gst-video-transcode-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-video-transcode-example?ref_type=heads) | AVC 到 HEVC 或 HEVC 到 AVC 格式的视频转码。 | QCS9075 |
| [视频转码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-video-transcode-example.html) | [gst-video-transcode-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-video-transcode-example?ref_type=heads) | AVC 到 HEVC 或 HEVC 到 AVC 格式的视频转码。 | QCS8275 |
| [视频播放](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-video-playback-example.html) | [gst-video-playback-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r1-rel/gst-sample-apps/gst-video-playback-example?ref_type=heads) | 视频文件的解码和播放。 | QCS6490 |
| [录制和预览转换后的视频流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-transform-example.html) | [gst-transform-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-transform-example?ref_type=heads) | 需要转换视频流（旋转、翻转和缩放）的用例。 | QCS6490 |
| [录制和预览转换后的视频流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-transform-example.html) | [gst-transform-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-transform-example?ref_type=heads) | 需要转换视频流（旋转、翻转和缩放）的用例。 | QCS9075 |
| [录制和预览转换后的视频流](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-transform-example.html) | [gst-transform-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-transform-example?ref_type=heads) | 需要转换视频流（旋转、翻转和缩放）的用例。 | QCS8275 |
| [使用 Weston 进行视频合成](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-weston-composition-example.html) | [gst-weston-composition-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-weston-composition-example?ref_type=heads) | 各种来源的组合，例如实时摄像头输入和离线文件。 | QCS6490 |
| [对音频和视频流进行编码](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-audio-video-encode.html) | [gst-audio-video-encode](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-audio-video-encode?ref_type=heads) | 对音频和视频数据进行编码，然后将其存储到用户指定的输出文件中。 | QCS6490 |
| **音频应用程序** | **音频应用程序** | **音频应用程序** | **音频应用程序** |
| [音频播放](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-audio-decode-sample.html) | [gst-audio-decode-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-audio-decode-example?ref_type=heads) | 播放音频文件。 | QCS6490 |
| [录制音频](https://docs.qualcomm.com/doc/80-70017-50SC/topic/gst-audio-encode-example-without-flac.html) | [gst-audio-encode-example](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/tree/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-audio-encode-example?ref_type=heads) | 音频录制 | QCS6490 |
|  |  |  |  |
|  |  |  |  |

- **[AI/ML 示例应用程序](https://docs.qualcomm.com/doc/80-70017-50SC/topic/ai-ml-sample-applications.html)**  

运行自定义用例，展示如何通过使用 Qualcomm Neural Processing SDK、Qualcomm AI Engine Direct 和 LiteRT（以前称为 TensorFlow Lite 或 TFLite）模型来使用 Qualcomm Linux 的 AI/ML 功能。
- **[多媒体示例应用程序](https://docs.qualcomm.com/doc/80-70017-50SC/topic/multimedia-sample-applications.html)**  

多媒体示例程序提供自定义用例，可实现 Qualcomm Linux 的摄像头、视频和音频功能。

Last Published: Nov 11, 2025

[Previous Topic
概述](https://docs.qualcomm.com/bundle/publicresource/80-70017-50SC/topics/overview.md) [Next Topic
AI/ML 示例应用程序](https://docs.qualcomm.com/bundle/publicresource/80-70017-50SC/topics/ai-ml-sample-applications.md)