The Qt Multimedia module provides cross-platform multimedia capabilities for Qt based applications.
The examples listed below show some typical use cases in various areas, featuring both low-level audio examples, high level audio and video playback as well as capturing and recording of audiovisual content using both C++ and QML.
Testing the available audio devices and their configuration. | |
Enabling audio playback using the QAudioSink class. | |
Discovering the available devices and supported codecs. | |
Recording audio using the QAudioSource class. | |
Shows how to capture a still image or record video. | |
Playing audio and video using Qt Quick | |
播放音频和视频。 | |
This Qt Quick based application shows how to use the API to capture a still image or video. | |
Playing audio and video using the QML MediaPlayer type. | |
Transforming video and camera viewfinder content. | |
使用 Qt Quick 录制音频和视频。 | |
Demonstrates the spatial audio functionality provided by Qt | |
Capturing a screen or window. | |
Analyzing a raw audio stream using the FFTReal library. | |
在图形场景中的流式视频。 | |
实现视频播放器 Widget。 |