# 运行多媒体用例

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

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

## 前提条件

完成 [GStreamer 命令行用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/gstreamer-application-use-cases.html)中的前提条件后，确保视频/音频播放，在设备上推送预先录制的视频或录制测试视频/音频。

将文件推送至目标：

    scp -r <file_name> root@[DEVICE IP-ADDR]:/optCopy to clipboard

Note: GBM 错误是非致命的。但是，要避免这些错误，请使用以下命令：

    mkdir -p /var/cache/displayCopy to clipboard

    echo 0 > /var/cache/display/gbm_dbg_cfg.txtCopy to clipboard

Note: 对于 **QCS9075** 和 **QCS8275**，将 Waylandsink 插件 `fullscreen` 属性设置为 <var class="keyword varname">true</var>， 即 `fullscreen=true`。

## 另可参见

- [摄像头指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-17/camera-overview.html)
- [视频指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-20/overview.html)
- [音频指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-16/overview.html)

- **[摄像头](https://docs.qualcomm.com/doc/80-70018-50SC/topic/camera.html)**  

Qualcomm IM SDK 摄像头插件 camsrc 充当 Qualcomm 摄像头服务的客户端。摄像头用例显示了来自实时源的 1080p YUV 流的执行和显示。
- **[视频编码与解码](https://docs.qualcomm.com/doc/80-70018-50SC/topic/camera-and-video-encode.html)**  

摄像头和视频编码用例展示了编码和处理实时 4K 和 1080p 摄像头流的各种场景。
- **[多摄像头/多客户端用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/multi-camera-multi-client-use-cases.html)**  

多摄像头/多客户端用例展示了以画中画、并排等模式显示多路摄像头视频流的场景。
- **[转换和转码用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/transform-and-transcode-use-cases.html)**  

转码用例展示了将视频流从一种格式转换或转变为另一种格式的过程。
- **[视频播放用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/video-playback-use-cases.html)**  

视频播放用例展示了从文件中播放 4K 视频流的过程，该文件采用 MP4 等媒体容器格式。
- **[音频用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/audio-use-cases.html)**  

音频 GStreamer 用例展示了从文件源采集音频并通过扬声器播放音频流的过程。
- **[音频-视频用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/audio-video-use-cases.html)**  

音频视频 (AV) 用例显示 AV 采集和 AV 播放。
- **[视频合成用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/video-composition.html)**  

视频合成 GStreamer 用例展示了如何从源读取多个视频流，对其进行合成，然后在显示设备上以并排或画中画方式显示。
- **[视频叠加用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/overlay-use-cases.html)**  

该 pipeline 展示了视频叠加的用例。这些用例使用 [qtivoverlay](https://docs.qualcomm.com/doc/80-70018-50SC/topic/qtioverlay.html) 插件的 *overlay-mask* 属性中的 `dest-rect` 属性坐标。
- **[视频分割用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/video-split-use-cases.html)**  

该用例展示了如何将一个视频分割为九路流后进行合成。

**Parent Topic:** [GStreamer 命令行用例](https://docs.qualcomm.com/doc/80-70018-50SC/topic/gstreamer-application-use-cases.html)

Last Published: Nov 12, 2025

[Previous Topic
使用 Neural Processing SDK 进行图像分割和编码](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/single-camera-stream-with-image-segmentation-and-encode-with-deeplabv3-quantized.md) [Next Topic
摄像头](https://docs.qualcomm.com/bundle/publicresource/80-70018-50SC/topics/camera.md)