Qt Multimedia QML Types | Qt Multimedia (original) (raw)
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:
AudioInput | An audio input to be used for capturing audio in a capture session |
---|---|
AudioOutput | An audio output to be used for playback or monitoring of a capture session |
Camera | An interface for camera settings related to focus and zoom |
CaptureSession | Allows capturing of audio and video content |
ImageCapture | An interface for capturing camera images |
MediaDevices | Information about available multimedia input and output devices |
MediaPlayer | Adds media playback to a scene |
MediaRecorder | For encoding and recording media generated in a CaptureSession |
ScreenCapture | This type is used for capturing a screen |
SoundEffect | Type provides a way to play sound effects in QML |
Video | A convenience type for showing a specified video |
VideoOutput | Render video or camera viewfinder |
WindowCapture | This type is used for capturing a window |
The QtMultimedia import provides also the following value types:
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
© 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.