Qt 5.8 | Qt Multimedia | Qt Multimedia C++ Classes

Qt 5.8.0 Reference Documentation

# 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

QAudioBuffer | Represents a collection of audio samples with a specific format and sample rate
QAudioBuffer::StereoFrame | Simple wrapper for a stereo audio frame
QAudioDecoder | Allows decoding audio
QAudioDeviceInfo | Interface to query audio devices and their functionality
QAudioFormat | Stores audio stream parameter information
QAudioInput | Interface for receiving audio data from an audio input device
QAudioOutput | Interface for sending audio data to an audio output device
QAudioProbe | Allows you to monitor audio being played or recorded
QSound | Method to play .wav sound files
QSoundEffect | Way to play low latency sound effects
QCamera::FrameRateRange | A FrameRateRange represents a range of frame rates as minimum and maximum rate
QCamera | Interface for system camera devices
QCameraExposure | Interface for exposure related camera settings
QCameraFocus | Interface for focus and zoom related camera settings
QCameraFocusZone | Information on zones used for autofocusing a camera
QCameraImageCapture | Used for the recording of media content
QCameraImageProcessing | Interface for image processing related camera settings
QCameraInfo | General information about camera devices
QCameraViewfinderSettings | Set of viewfinder settings
QAudioDecoderControl | Access to the audio decoding functionality of a QMediaService
QAudioEncoderSettingsControl | Access to the settings of a media service that performs audio encoding
QAudioInputSelectorControl | Audio input selector media control
QAudioOutputSelectorControl | Audio output selector media control
QAudioRoleControl | Control over the audio role of a media object
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
QCameraExposureControl | Allows controlling camera exposure parameters
QCameraFeedbackControl | Allows controlling feedback (sounds etc) during camera operation
QCameraFlashControl | Allows controlling a camera's flash
QCameraFocusControl | Supplies control for focusing related camera parameters
QCameraImageCaptureControl | Control interface for image capture services
QCameraImageProcessingControl | Abstract class for controlling image processing parameters, like white balance, contrast, saturation, sharpening and denoising
QCameraInfoControl | Camera info media control
QCameraLocksControl | Abstract base class for classes that control still cameras or video cameras
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
QImageEncoderControl | Access to the settings of a media service that performs image encoding
QMediaAudioProbeControl | Allows control over probing audio data in media objects
QMediaAvailabilityControl | Supplies a control for reporting availability of a service
QMediaContainerControl | Access to the output container format of a QMediaService
QMediaGaplessPlaybackControl | Access to the gapless playback related control of a QMediaService
QMediaNetworkAccessControl | Allows the setting of the Network Access Point for media related activities
QMediaPlayerControl | Access to the media playing functionality of a QMediaService
QMediaRecorderControl | Access to the recording functionality of a QMediaService
QMediaStreamsControl | Media stream selection control
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
QRadioDataControl | Access to the RDS functionality of the radio in the QMediaService
QRadioTunerControl | Access to the radio tuning functionality of a QMediaService
QVideoDeviceSelectorControl | Video device selector media control
QVideoEncoderSettingsControl | Access to the settings of a media service that performs video encoding
QVideoRendererControl | Media control for rendering video to a QAbstractVideoSurface
QVideoWindowControl | Media control for rendering video to a window
QMediaContent | Access to the resources relating to a media content
QMediaPlayer | Allows the playing of a media source
QMediaPlaylist | List of media content to play
QMediaResource | Description of a media resource
QMediaBindableInterface | The base class for objects extending media objects functionality
QMediaControl | Base interface for media service controls
QMediaObject | Common base for multimedia objects
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
QMediaTimeInterval | Represents a time interval with integer precision
QMediaTimeRange | Represents a set of zero or more disjoint time intervals
QRadioData | Interfaces to the RDS functionality of the system radio
QRadioTuner | Interface to the systems analog radio device
QAudioRecorder | Used for the recording of audio
QAudioEncoderSettings | Set of audio encoder settings
QImageEncoderSettings | Set of image encoder settings
QVideoEncoderSettings | Set of video encoder settings
QMediaRecorder | Used for the recording of media content
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
QVideoFilterRunnable | Represents the implementation of a filter that owns all graphics and computational resources, and performs the actual filtering or calculations
QAbstractVideoSurface | Base class for video presentation surfaces
QVideoFrame | Represents a frame of video data
QVideoProbe | Allows you to monitor video frames being played or recorded
QVideoSurfaceFormat | Specifies the stream format of a video presentation surface

### 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