# 运行摄像头的示例应用程序

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

摄像头的示例应用程序提供了一些自定义用例，用于单流和多流场景、预览和拍照、动态更新配置和属性以及 Qualcomm Linux 摄像头的各种其他功能。

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

- **[单路摄像头流传输](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-camera-single-stream-example.html)**  

**gst-camera-single-stream-example** 应用程序可以使用单个摄像头来生成各种输出，包括预览、编码、YUV dump 和 RTSP 流传输。
- **[USB 摄像头](https://docs.qualcomm.com/doc/80-70022-50SC/topic/usb-camera.html)**  

**gst-ai-usb-camera-app** 从连接到 Qualcomm EVK 的 USB 网络摄像头传输视频流。该网络摄像头应可作为 /dev/videoX设备访问。您可以执行目标检测并预览结果，该过程也可以在不执行 AI 推理的情况下处理 USB 摄像头的输入。
- **[多摄像头流传输](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-multi-camera-stream-example.html)**  

**gst-multi-camera-example** 应用程序可以从两个摄像头传感器同时进行流传输。该应用程序将摄像头馈送的图像数据并排进行合成并显示在屏幕上，或将视频流编码并存储到文件中。
- **[多个流](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-multi-stream-example.html)**  

**gst-multi-stream-example** 应用程序可以从单个摄像头访问多个流，并同时在屏幕上显示或以 MP4 格式保存。
- **[实时拍照](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-snapshot-stream-example.html)**  

**gst-snapshot-stream-example** 应用程序允许您生成两个流：用于实时显示的预览流和用于采集图像并将其保存为 JPEG 文件的拍照流。
- **[RTMP 摄像头流传输](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-rtmp-stream-example.html)**  

**gst-rtmp-stream-example** 应用程序使用来自 ISP 或 RTSP 摄像头源的输入在 Waylandsink 上生成 RTMP 流。您可以使用此应用程序作为开发和配置新应用程序的参考。
- **[动态配置](https://docs.qualcomm.com/doc/80-70022-50SC/topic/dynamic-configuration.html)**  

Edge AI 应用中的常见场景是在运行中更改图像分辨率，从而尽可能地减少丢帧或显示卡顿，或者添加和删除多个流以重新配置摄像头。动态配置示例应用程序支持这些运行中的更改。
- **[摄像头帧处理](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-appsink-example.html)**  

**gst-appsink-example** 应用程序可以从摄像头 pipeline 中提取缓存样本。这些缓存可以使用宽度和高度等选项来配置摄像头分辨率。
- **[摄像头元数据](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-camera-metadata-example.html)**  

**gst-camera-metadata-example** 应用程序启动时会显示菜单，您可以在摄像头插件的多个属性之间进行选择，如 `video-metadata`、`static-metadata` 和 `image-metadata`。
- **[摄像头流配置](https://docs.qualcomm.com/doc/80-70022-50SC/topic/camera-stream-configuration.html)**  

**gst-add-streams-as-bundle-example** 应用程序可以激活并将摄像头流配置为 bundle，而不是一次只配置一个流，从而减少配置新流的延迟。
- **[摄像头连拍](https://docs.qualcomm.com/doc/80-70022-50SC/topic/camera-burst-capture.html)**  

**gst-camera-burst-capture-example** 应用程序可以在 Burst 模式下拍照。它可以抓取五个延迟为 10 秒的连拍，并将照片显示在屏幕上。
- **[摄像头切换](https://docs.qualcomm.com/doc/80-70022-50SC/topic/camera-switch.html)**  

**gst-camera-switch-example** 应用程序可以在两个摄像头之间切换。
- **[宽动态范围和电子图像稳定](https://docs.qualcomm.com/doc/80-70022-50SC/topic/dynamic-range-and-image-stabilization.html)**  

**gst-camera-shdr-ldc-eis-example**  应用程序展示了交错高动态范围 (sHDR)、镜头畸变校正 (LDC) 和电子图像稳定 (EIS) 摄像头成像功能。关于更多详细信息，请参阅[摄像头成像特点概述](https://docs.qualcomm.com/doc/80-70022-50SC/topic/dynamic-range-and-image-stabilization.html#dynamic-range-and-image-stabilization__section_em1_gjq_pcc)。
- **[解码 JPEG 图像](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-jpg-decode-example.html)**  

**gst-jpg-decode-example** 应用程序可以解码 JPEG 图像，并在屏幕上查看解码后的图像。

**Parent Topic:** [运行多媒体示例应用程序](https://docs.qualcomm.com/doc/80-70022-50SC/topic/multimedia-sample-applications.html)

Last Published: Nov 05, 2025

[Previous Topic
前提条件](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/mm_sample_apps_prerequisites.md) [Next Topic
单路摄像头流传输](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/gst-camera-single-stream-example.md)