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.

音頻源範例

Recording audio using the QAudioSource class.

攝像頭範例

Shows how to capture a still image or record video.

媒體播放器

Playing audio and video using Qt Quick

媒體播放器範例

Playing audio and video using Qt Widgets.

QML 攝像機應用程序

This Qt Quick based application shows how to use the API to capture a still image or video.

QML 媒體播放器範例

Playing audio and video using the QML MediaPlayer type.

QML 視頻範例

Transforming video and camera viewfinder content.

QML 視頻錄製器

使用 Qt Quick 錄製音頻和視頻。

Qt Spatial Audio Examples

Demonstrates the spatial audio functionality provided by Qt

屏幕捕獲範例

Capturing a screen or window.

視頻圖形項範例

在圖形場景中的流式視頻。

視頻小部件範例

實現視頻播放器 Widget。