QMultimedia Namespace

The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library. More...

Header: #include <QMultimedia>
qmake: QT += multimedia

Types

enum AvailabilityStatus { Available, ServiceMissing, ResourceError, Busy }
enum EncodingMode { ConstantQualityEncoding, ConstantBitRateEncoding, AverageBitRateEncoding, TwoPassEncoding }
enum EncodingQuality { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality }
enum SupportEstimate { NotSupported, MaybeSupported, ProbablySupported, PreferredService }

Detailed Description

The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library.

Type Documentation

enum QMultimedia::AvailabilityStatus

Enumerates Service status errors.

ConstantValueDescription
QMultimedia::Available0The service is operating correctly.
QMultimedia::ServiceMissing1There is no service available to provide the requested functionality.
QMultimedia::ResourceError3The service could not allocate resources required to function correctly.
QMultimedia::Busy2The service must wait for access to necessary resources.

enum QMultimedia::EncodingMode

Enumerates encoding modes.

ConstantValueDescription
QMultimedia::ConstantQualityEncoding0Encoding will aim to have a constant quality, adjusting bitrate to fit.
QMultimedia::ConstantBitRateEncoding1Encoding will use a constant bit rate, adjust quality to fit.
QMultimedia::AverageBitRateEncoding2Encoding will try to keep an average bitrate setting, but will use more or less as needed.
QMultimedia::TwoPassEncoding3The media will first be processed to determine the characteristics, and then processed a second time allocating more bits to the areas that need it.

enum QMultimedia::EncodingQuality

Enumerates quality encoding levels.

ConstantValue
QMultimedia::VeryLowQuality0
QMultimedia::LowQuality1
QMultimedia::NormalQuality2
QMultimedia::HighQuality3
QMultimedia::VeryHighQuality4

enum QMultimedia::SupportEstimate

Enumerates the levels of support a media service provider may have for a feature.

ConstantValueDescription
QMultimedia::NotSupported0The feature is not supported.
QMultimedia::MaybeSupported1The feature may be supported.
QMultimedia::ProbablySupported2The feature is probably supported.
QMultimedia::PreferredService3The service is the preferred provider of a service.

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