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

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

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

audioDevice

Describes an audio device

cameraDevice

Describes a camera device

cameraFormat

Describes a video format supported by a camera device

mediaFormat

MediaFormat describes the format of a media file

mediaMetaData

Provides meta-data for media files

© 2021 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.