# 视频和音频的示例程序

Qualcomm Linux 视频引擎的示例程序提供了视频播放、编码、解码、变换、转码和合成的自定义用例。音频用例演示了播放和录制不同格式音频文件的自定义用例，以及 Qualcomm Linux 音频的各种其他功能。

- **[视频墙](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-concurrent-videoplay-composition.html)**  

此 **gst-concurrent-videoplay-composition** 程序支持 MP4 AVC（H.264）视频的并发视频播放，并在视频墙显示器上执行合成。
- **[多格式编码/解码](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-videocodec-concurrent-playback.html)**  

此 **gst-videocodec-concurrent-playback** 程序支持 AVC（H.264）和 HEVC（H.265）视频的并发视频播放。它演示了 Qualcomm Linux 视频引擎的并发解码能力，可以同时处理不同的视频编解码器。
- **[音视频播放](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-audio-video-playback.html)**  

此 **gst-audio-video-playback** 程序支持同时音频和视频解码以及 FLAC/MP3 音频和 AVC/HEVC 视频的播放。
- **[视频转码](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-video-transcode-example.html)**  

此 **gst-video-transcode-example** 程序支持 AVC 到 HEVC 或 HEVC 到 AVC 格式的视频转码。可以使用此程序的一些常见场景是视频编辑、安全摄像头和增强现实。
- **[视频播放](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-video-playback-example.html)**  

此 **gst-video-playback-example** 程序使您能够解码和播放视频文件。支持播放、暂停、恢复、快进和快退等标准播放选项。
- **[音频和视频编码](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-audio-video-encode.html)**  

此 **gst-audio-video-encode** 程序对音频和视频数据进行编码，这些数据存储在用户指定的输出文件中。可以使用此程序的一些常见方案是流媒体服务、视频会议和监控系统。
- **[音频回放](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-audio-decode-sample.html)**  

此 **gst-audio-decode-example** 程序演示了 WAV、MP3 和 FLAC 格式的音频文件的播放。每种音频格式的单独 pipeline 可确保高效处理和兼容性。
- **[录音](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-audio-encode-example-without-flac.html)**  

此 **gst-audio-encode-example** 程序以 FLAC 或 WAV 格式对音频进行编码。
- **[视频转换](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-transform-example.html)**  

此 **gst-transform-example** 程序支持旋转、翻转和缩放操作。
- **[视频合成](https://docs.qualcomm.com/doc/80-70014-50Y/topic/gst-weston-composition-example.html)**  

此 **gst-weston-composition-example** 程序使您能够使用两种格式画中画(PiP)和并排在屏幕上排列实时摄像头输入或离线文件。此程序的一些用例是视频会议和在线教育课程。

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

Last Published: Nov 11, 2025

[Previous Topic
摄像头切换](https://docs.qualcomm.com/bundle/publicresource/80-70014-50Y/topics/camera-switch.md) [Next Topic
视频墙](https://docs.qualcomm.com/bundle/publicresource/80-70014-50Y/topics/gst-concurrent-videoplay-composition.md)