Qt Multimedia 实例
模块为基于 Qt 的应用程序提供跨平台多媒体功能。 Qt Multimedia模块为基于 Qt 的应用程序提供了跨平台多媒体功能。
下面列出的示例展示了不同领域的一些典型用例,包括低级音频示例、高级音频和视频播放,以及使用 C++ 和 QML 捕捉和录制视听内容。
测试可用的音频设备及其配置。 | |
使用 QAudioSink 类启用音频播放。 | |
发现可用设备和支持的编解码器。 | |
使用 QAudioSource 类录制音频。 | |
演示如何捕捉静态图像或录制视频。 | |
使用 QAudioSource 类播放音频和视频Qt Quick | |
使用Qt Widgets 播放音频和视频。 | |
这个基于Qt Quick 的应用程序展示了如何使用 API 捕捉静态图像或视频。 | |
使用 QML MediaPlayer 类型播放音频和视频。 | |
转换视频和相机取景器内容。 | |
使用Qt Quick 录制音频和视频。 | |
演示 Qt 提供的空间音频功能 | |
捕捉屏幕或窗口 | |
在图形场景中串流视频。 | |
实现视频播放器部件。 |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.