QMultimedia Namespace

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

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


    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.

    Constant Value Description
    QMultimedia::Available 0 The service is operating correctly.
    QMultimedia::ServiceMissing 1 There is no service available to provide the requested functionality.
    QMultimedia::ResourceError 3 The service could not allocate resources required to function correctly.
    QMultimedia::Busy 2 The service must wait for access to necessary resources.

    enum QMultimedia::EncodingMode

    Enumerates encoding modes.

    Constant Value Description
    QMultimedia::ConstantQualityEncoding 0 Encoding will aim to have a constant quality, adjusting bitrate to fit.
    QMultimedia::ConstantBitRateEncoding 1 Encoding will use a constant bit rate, adjust quality to fit.
    QMultimedia::AverageBitRateEncoding 2 Encoding will try to keep an average bitrate setting, but will use more or less as needed.
    QMultimedia::TwoPassEncoding 3 The 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.

    Constant Value
    QMultimedia::VeryLowQuality 0
    QMultimedia::LowQuality 1
    QMultimedia::NormalQuality 2
    QMultimedia::HighQuality 3
    QMultimedia::VeryHighQuality 4

    enum QMultimedia::SupportEstimate

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

    Constant Value Description
    QMultimedia::NotSupported 0 The feature is not supported.
    QMultimedia::MaybeSupported 1 The feature may be supported.
    QMultimedia::ProbablySupported 2 The feature is probably supported.
    QMultimedia::PreferredService 3 The service is the preferred provider of a service.

    Voted #1 for:

    • Easiest to learn
    • Most time saving
    • Best support

    Develop Cross-Platform Apps and Games 50% Faster!

    • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
    • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
    • Offers a variety of plugins to monetize, analyze and engage users
    create apps
    create games
    cross platform
    native performance
    3rd party services
    game network
    level editor
    easiest to learn
    biggest time saving
    best support