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