# 示例程序

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

Qualcomm IM SDK 包含了一些示例程序，可帮助您探索 Qualcomm Linux 的功能。这些应用程序可作为在 Qualcomm Linux 上运行定制用例的参考。

有两组主要示例程序可用于零售、AI Edge Box、IP 摄像头、无人机和机器人的不同用例。

- **AI/ML 应用程序**侧重于 AI 和 ML 功能。
- **多媒体应用程序**与摄像头、视频和音频相关。

## 局限性

这些示例程序兼容 QCS6490 和 QCS9075。

但对于 QCS9075，**不支持摄像头**。输入源必须为文件或 RTSP 流。

## 安装

要编译和安装示例程序，可选择以下方法之一：

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

| 应用 | CodeLinaro Git - 源路径 | 演示 | 适用于 |
    | --- | --- | --- | --- |
    | **AI/ML 应用程序** | **AI/ML 应用程序** | **AI/ML 应用程序** | **AI/ML 应用程序** |
    | [分类](https://docs.qualcomm.com/doc/80-70015-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) 的数据流进行分类。 | QCS6490 |
    | [分类](https://docs.qualcomm.com/doc/80-70015-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) 的数据流进行分类。 | QCS9075 |
    | [目标检测](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行目标检测。 | QCS6490 |
    | [目标检测](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行目标检测。 | QCS9075 |
    | [姿态检测](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行姿态检测。 | QCS6490 |
    | [姿态检测](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行姿态检测。 | QCS9075 |
    | [图像分割](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行图像分割。 | QCS6490 |
    | [图像分割](https://docs.qualcomm.com/doc/80-70015-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 的数据流进行图像分割。 | QCS9075 |
    | [并行 AI 融合](https://docs.qualcomm.com/doc/80-70015-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) | 对来自摄像头、文件或 RTSP 的数据流并行运行多个 AI/ML 模型。 | QCS6490 |
    | [多输入 AI 推理](https://docs.qualcomm.com/doc/80-70015-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）提供输入。 | QCS6490 |
    | [多输入 AI 推理](https://docs.qualcomm.com/doc/80-70015-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）提供输入。 | QCS9075 |
    | [菊花链检测与分类](https://docs.qualcomm.com/doc/80-70015-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）流传输的图像执行级联目标检测和分类。 | QCS6490 |
    | [菊花链检测与分类](https://docs.qualcomm.com/doc/80-70015-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）流传输的图像执行级联目标检测和分类。 | QCS9075 |
    | [菊花链检测和姿态估计](https://docs.qualcomm.com/doc/80-70015-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）执行级联目标检测和姿态检测。 | QCS6490 |
    | [菊花链检测和姿态估计](https://docs.qualcomm.com/doc/80-70015-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）执行级联目标检测和姿态检测。 | QCS9075 |
    | [视频单目深度](https://docs.qualcomm.com/doc/80-70015-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 流传输的图像进行单目深度估计。 | QCS6490 |
    | [视频超分辨率](https://docs.qualcomm.com/doc/80-70015-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) | 用低分辨率的输入输出高分辨率视频帧。 | QCS6490 |
    | [视频超分辨率](https://docs.qualcomm.com/doc/80-70015-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) | 用低分辨率的输入输出高分辨率视频帧。 | QCS9075 |
    | [多流推理](https://docs.qualcomm.com/doc/80-70015-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 推理（目标检测和分类）。 | QCS6490 |
    | [多流推理](https://docs.qualcomm.com/doc/80-70015-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 推理（目标检测和分类）。 | QCS9075 |
    | [多流批量推理](https://docs.qualcomm.com/doc/80-70015-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 推理（目标检测和分割）。 | QCS9075 |
    | [使用 Python 进行图像分割](https://docs.qualcomm.com/doc/80-70015-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 进行分段。 | QCS6490 |
    | [使用 Python 进行图像分割](https://docs.qualcomm.com/doc/80-70015-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 进行分段。 | QCS9075 |
    | **摄像头应用程序** | **摄像头应用程序** | **摄像头应用程序** | **摄像头应用程序** |
    | [单路摄像头流传输](https://docs.qualcomm.com/doc/80-70015-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-70015-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) | USB 单摄像头流传输到预览、视频编码器或网络 (RTSP)。 | QCS6490 |
    | [多摄像头流传输](https://docs.qualcomm.com/doc/80-70015-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-70015-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-70015-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 |
    | [在 runtime 激活-停用流](https://docs.qualcomm.com/doc/80-70015-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 |
    | [在 runtime 添加-删除流](https://docs.qualcomm.com/doc/80-70015-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-70015-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-70015-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-70015-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) | 将摄像头流配置为捆绑包，从而节省时间。 | QCS6490 |
    | [摄像头连拍](https://docs.qualcomm.com/doc/80-70015-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-70015-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-70015-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-70015-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-70015-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 |
    | [智能 codec](https://docs.qualcomm.com/doc/80-70015-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-70015-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 |
    | [多格式编码/解码](https://docs.qualcomm.com/doc/80-70015-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-70015-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-70015-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-70015-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-70015-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-70015-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-70015-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-70015-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 |
    | [使用 Weston 进行视频合成](https://docs.qualcomm.com/doc/80-70015-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-70015-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-70015-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-70015-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 |
    | **Python 应用程序** | **Python 应用程序** | **Python 应用程序** | **Python 应用程序** |
    | [摄像头编码](https://docs.qualcomm.com/doc/80-70015-50SC/topic/camera-encode.html) | [https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/commit/e5ed0fa05485d4534e1ace6f1bec8e8ca12dc353](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/commit/e5ed0fa05485d4534e1ace6f1bec8e8ca12dc353) | 摄像头编码用例演示了编码和处理实时 4K 和 1080p 摄像头流的各种场景。 | QCS6490 |
    | [摄像头检测显示](https://docs.qualcomm.com/doc/80-70015-50SC/topic/camera-detection-display.html) | [https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-camera-detect-display.py?ref_type=heads](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-camera-detect-display.py?ref_type=heads) | 摄像头检测显示 | QCS6490 |
    | [摄像头检测编码](https://docs.qualcomm.com/doc/80-70015-50SC/topic/camera-detection-encode.html) | [https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-camera-detection-encode.py?ref_type=heads](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-camera-detection-encode.py?ref_type=heads) | 摄像头检测编码 | QCS6490 |
    | [解码检测显示](https://docs.qualcomm.com/doc/80-70015-50SC/topic/decode-detection-display.html) | [https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-decode-detect-display.py?ref_type=heads](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-python-examples/gst-decode-detect-display.py?ref_type=heads) | 解码检测显示 | QCS6490 |
    |  |  |  |  |

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

运行定制用例以展示如何通过 Qualcomm Neural Processing SDK 和 TensorFlow Lite (TFLite) 模型使用 Qualcomm Linux 的 AI/ML 功能。
- **[多媒体示例程序](https://docs.qualcomm.com/doc/80-70015-50SC/topic/multimedia-sample-applications.html)**  

多媒体示例程序提供自定义用例，可实现 Qualcomm Linux 的摄像头、视频和音频功能。
- **[Python 示例程序](https://docs.qualcomm.com/doc/80-70015-50SC/topic/python-sample-applications.html)**  

Python 示例程序提供自定义用例，可实现 Qualcomm Linux 的摄像头功能。

Last Published: Nov 11, 2025

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