Qt Multimedia C++ Classes

The C++ classes provide more control over the multimedia content than the QML alternatives. If your application is serving complex use cases such as decoding media files, accessing video or audio buffers, use the C++ alternative. For more details about the complex audio, video, and camera use cases supported by the C++ classes, refer to Multimedia Overview.

Namespaces

QAudio

Contains enums used by the audio classes

Classes

Qt Multimedia Module

QAudioBuffer

Represents a collection of audio samples with a specific format and sample rate

QAudioDevice

Information about audio devices and their functionality

QAudioFormat

Stores audio stream parameter information

QCameraDevice

General information about camera devices

QCameraFormat

Describes a video format supported by a camera device

QMediaFormat

Describes an encoding format for a multimedia file or stream

QMediaMetaData

Provides meta-data for media files

QMediaTimeRange

Represents a set of zero or more disjoint time intervals

QMediaTimeRange::Interval

QMediaTimeRange::Interval class represents a time interval with integer precision

Qt Multimedia Widgets Module

QGraphicsVideoItem

Graphics item which display video produced by a QMediaPlayer or QCamera

Qt Spatial Audio Module

QAudioListener

Defines the position and orientation of the person listening to a sound field defined by QAudioEngine