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

QMediaMetaData

Provides identifiers for meta-data attributes

QMultimedia

Contains miscellaneous identifiers used throughout the Qt Multimedia library

Classes

Qt Multimedia Module

QCamera::FrameRateRange

A FrameRateRange represents a range of frame rates as minimum and maximum rate

QAbstractAudioDeviceInfo

Base class for audio backends

QAbstractAudioInput

Access for QAudioInput to access the audio device provided by the plugin

QAbstractAudioOutput

Base class for audio backends

QAbstractPlanarVideoBuffer

Abstraction for planar video data

QAbstractVideoBuffer

Abstraction for video data

QAbstractVideoFilter

Represents a filter that is applied to the video frames received by a VideoOutput type

QAbstractVideoSurface

Base class for video presentation surfaces

QAudioBuffer

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

QAudioDecoder

Allows decoding audio

QAudioDecoderControl

Access to the audio decoding functionality of a QMediaService

QAudioDeviceInfo

Interface to query audio devices and their functionality

QAudioEncoderSettings

Set of audio encoder settings

QAudioEncoderSettingsControl

Access to the settings of a media service that performs audio encoding

QAudioFormat

Stores audio stream parameter information

QAudioInput

Interface for receiving audio data from an audio input device

QAudioInputSelectorControl

Audio input selector media control

QAudioOutput

Interface for sending audio data to an audio output device

QAudioOutputSelectorControl

Audio output selector media control

QAudioProbe

Allows you to monitor audio being played or recorded

QAudioRecorder

Used for the recording of audio

QAudioRoleControl

Control over the audio role of a media object

QAudioSystemPlugin

Abstract base for audio plugins

QCamera

Interface for system camera devices

QCameraCaptureBufferFormatControl

Control for setting the capture buffer format

QCameraCaptureDestinationControl

Control for setting capture destination

QCameraControl

Abstract base class for classes that control still cameras or video cameras

QCameraExposure

Interface for exposure related camera settings

QCameraExposureControl

Allows controlling camera exposure parameters

QCameraFeedbackControl

Allows controlling feedback (sounds etc) during camera operation

QCameraFlashControl

Allows controlling a camera's flash

QCameraFocus

Interface for focus and zoom related camera settings

QCameraFocusControl

Supplies control for focusing related camera parameters

QCameraFocusZone

Information on zones used for autofocusing a camera

QCameraImageCapture

Used for the recording of media content

QCameraImageCaptureControl

Control interface for image capture services

QCameraImageProcessing

Interface for image processing related camera settings

QCameraImageProcessingControl

Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising

QCameraInfo

General information about camera devices

QCameraInfoControl

Camera info media control

QCameraLocksControl

Abstract base class for classes that control still cameras or video cameras

QCameraViewfinderSettings

Set of viewfinder settings

QCameraViewfinderSettingsControl

Abstract class for controlling camera viewfinder parameters

QCameraViewfinderSettingsControl2

Access to the viewfinder settings of a camera media service

QCameraZoomControl

Supplies control for optical and digital camera zoom

QCustomAudioRoleControl

Control over the audio role of a media object

QImageEncoderControl

Access to the settings of a media service that performs image encoding

QImageEncoderSettings

Set of image encoder settings

QMediaAudioProbeControl

Allows control over probing audio data in media objects

QMediaAvailabilityControl

Supplies a control for reporting availability of a service

QMediaBindableInterface

The base class for objects extending media objects functionality

QMediaContainerControl

Access to the output container format of a QMediaService

QMediaContent

Access to the resources relating to a media content

QMediaControl

Base interface for media service controls

QMediaGaplessPlaybackControl

Access to the gapless playback related control of a QMediaService

QMediaNetworkAccessControl

Allows the setting of the Network Access Point for media related activities

QMediaObject

Common base for multimedia objects

QMediaPlayer

Allows the playing of a media source

QMediaPlayerControl

Access to the media playing functionality of a QMediaService

QMediaPlaylist

List of media content to play

QMediaRecorder

Used for the recording of media content

QMediaRecorderControl

Access to the recording functionality of a QMediaService

QMediaResource

Description of a media resource

QMediaService

Common base class for media service implementations

QMediaServiceCameraInfoInterface

Interface provides camera-specific information about devices supported by a camera service plug-in

QMediaServiceDefaultDeviceInterface

Interface identifies the default device used by a media service plug-in

QMediaServiceFeaturesInterface

Interface identifies features supported by a media service plug-in

QMediaServiceProviderPlugin

Interface provides an interface for QMediaService plug-ins

QMediaServiceSupportedDevicesInterface

Interface identifies the devices supported by a media service plug-in

QMediaServiceSupportedFormatsInterface

Interface identifies if a media service plug-in supports a media format

QMediaStreamsControl

Media stream selection control

QMediaTimeInterval

Represents a time interval with integer precision

QMediaTimeRange

Represents a set of zero or more disjoint time intervals

QMediaVideoProbeControl

Allows control over probing video frames in media objects

QMetaDataReaderControl

Read access to the meta-data of a QMediaService's media

QMetaDataWriterControl

Write access to the meta-data of a QMediaService's media

QRadioData

Interfaces to the RDS functionality of the system radio

QRadioDataControl

Access to the RDS functionality of the radio in the QMediaService

QRadioTuner

Interface to the systems analog radio device

QRadioTunerControl

Access to the radio tuning functionality of a QMediaService

QSound

Method to play .wav sound files

QSoundEffect

Way to play low latency sound effects

QVideoDeviceSelectorControl

Video device selector media control

QVideoEncoderSettings

Set of video encoder settings

QVideoEncoderSettingsControl

Access to the settings of a media service that performs video encoding

QVideoFilterRunnable

Represents the implementation of a filter that owns all graphics and computational resources, and performs the actual filtering or calculations

QVideoFrame

Represents a frame of video data

QVideoProbe

Allows you to monitor video frames being played or recorded

QVideoRendererControl

Media control for rendering video to a QAbstractVideoSurface

QVideoSurfaceFormat

Specifies the stream format of a video presentation surface

QVideoWindowControl

Media control for rendering video to a window

QAudioBuffer::StereoFrame

Simple wrapper for a stereo audio frame

Qt Multimedia Widgets Module

QCameraViewfinder

Camera viewfinder widget

QGraphicsVideoItem

Graphics item which display video produced by a QMediaObject

QVideoWidget

Widget which presents video produced by a media object

QVideoWidgetControl

Media control which implements a video widget

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