Qt Multimedia QML Types
The QML types for Qt Multimedia support the basic use cases such as:
- audio and video playback,
- access camera functionality,
- record video,
- and access camera settings.
QML Types
Qt Multimedia QML types can be imported into your application using the following import statement in your .qml file:
import QtMultimedia
An audio input to be used for capturing audio in a capture session | |
An audio output to be used for playback or monitoring of a capture session | |
An interface for camera settings related to focus and zoom | |
Allows capturing of audio and video content | |
An interface for capturing camera images | |
Information about available multimedia input and output devices | |
Adds media playback to a scene | |
For encoding and recording media generated in a CaptureSession | |
This type is used for capturing a screen | |
Type provides a way to play sound effects in QML | |
A convenience type for showing a specified video | |
Render video or camera viewfinder | |
This type is used for capturing a window |
The QtMultimedia import provides also the following value types:
Type is used getting basic of a window that is available for capturing via WindowCapture | |
Describes an audio device | |
Describes a camera device | |
Describes a video format supported by a camera device | |
MediaFormat describes the format of a media file | |
Provides meta-data for media files |
Qt Spatial Audio Module
Qt Spatial Audio QML types can be imported into your application using the following import statement in your .qml file:
import QtQuick3D.SpatialAudio
A stereo overlay sound | |
Manages sound objects inside a 3D scene | |
Defines the position and orientation of the person listening to a sound field defined by a AudioEngine | |
A sound object in 3D space |
© 2024 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.