# 摄像头应用示例

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

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

**gst-camera-single-stream-example** 程序使您能够使用具有各种输出（包括预览、编码、YUV 转储和 RTSP 流）的单个摄像头。
- **[USB 摄像头](https://docs.qualcomm.com/doc/80-70015-50SC/topic/usb-camera.html)**  

**gst-usb-single-camera-app** 从连接到 RBx 设备的 USB 网络摄像头传输视频流。该网络摄像头应能以 /dev/videoX 设备进行访问。
- **[多摄像头流传输](https://docs.qualcomm.com/doc/80-70015-50SC/topic/gst-multi-camera-stream-example.html)**  

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

**gst-multi-stream-example** 程序可以访问单个摄像头上的多个流，在屏幕上同时进行显示或将它们保存为 MP4 格式。
- **[实时快照](https://docs.qualcomm.com/doc/80-70015-50SC/topic/gst-snapshot-stream-example.html)**  

**gst-snapshot-stream-example** 程序使您能够创建两个流：预览流和快照流。预览流用于显示，而快照流采集快照并将其保存到 JPEG 格式的文件中。
- **[动态配置](https://docs.qualcomm.com/doc/80-70015-50SC/topic/dynamic-configuration.html)**  

Edge AI 程序中的常见场景是在 runtime 更改图像分辨率，以最大限度地减少显示中的帧丢失或间隙，或者添加和删除多个流以重新配置摄像头。动态配置示例程序使您能够执行这些更改。
- **[摄像头帧处理](https://docs.qualcomm.com/doc/80-70015-50SC/topic/gst-appsink-example.html)**  

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

**gst-camera-metadata-example** 程序从一个菜单开始，该菜单允许您在摄像头插件的多个属性之间进行选择，即 video-metadata、static-metadata 和 image-metadata。
- **[摄像头流配置](https://docs.qualcomm.com/doc/80-70015-50SC/topic/camera-stream-configuration.html)**  

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

**gst-camera-burst-capture-example** 程序使您能够在 Burst 模式下采集快照。它可以采集 5 个延迟 10 秒的连拍快照，并将快照显示在屏幕上。
- **[摄像头切换](https://docs.qualcomm.com/doc/80-70015-50SC/topic/camera-switch.html)**  

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

**gst-camera-shdr-ldc-eis-example** 程序展示了交错式高动态范围 (sHDR)、镜头失真校正 (LDC) 和电子图像稳定 (EIS) 摄像头成像功能。更多信息，可参见[摄像头成像功能概述](https://docs.qualcomm.com/doc/80-70015-50SC/topic/dynamic-range-and-image-stabilization.html#dynamic-range-and-image-stabilization__section_em1_gjq_pcc)。

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

Last Published: Nov 11, 2025

[Previous Topic
多媒体示例程序](https://docs.qualcomm.com/bundle/publicresource/80-70015-50SC/topics/multimedia-sample-applications.md) [Next Topic
单路摄像头流传输](https://docs.qualcomm.com/bundle/publicresource/80-70015-50SC/topics/gst-camera-single-stream-example.md)