Qt Multimedia 範例

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.
Audio Source Example Recording audio using the QAudioSource class.
攝像頭範例 Shows how to capture a still image or record video. or video.
媒體播放器範例 播放音頻和視頻。
QML 攝像頭範例 攝像頭範例展示如何使用 API 捕獲靜止圖像或視頻。
QML Media Player Example Playing audio and video using Qt Quick.
QML 視頻範例 Transforming video and camera viewfinder content.
QML Video Recorder Recording audio and video using Qt Quick.
Qt Spatial Audio Examples Demonstrates the spatial audio functionality provided by Qt
Screen Capture Example Capturing a screen or window.
光譜範例 Analyzing a raw audio stream using the FFTReal library.
視頻圖形項範例 在圖形場景中的流式視頻。
視頻小部件範例 實現視頻播放器 Widget。