Home · All Classes · All Functions ·

QtMediaServices Namespace Reference

The QtMediaServices namespace contains miscellaneous identifiers used throughout the Qt Media services library. More...

    #include <QtMediaServices>

Types

enum AvailabilityError { NoError, ServiceMissingError, ResourceError, BusyError }
enum EncodingMode { ConstantQualityEncoding, ConstantBitRateEncoding, AverageBitRateEncoding, TwoPassEncoding }
enum EncodingQuality { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality }
enum MetaData { Title, SubTitle, Author, Comment, ..., ThumbnailImage }
enum SupportEstimate { NotSupported, MaybeSupported, ProbablySupported, PreferredService }

Detailed Description

The QtMediaServices namespace contains miscellaneous identifiers used throughout the Qt Media services library.


Type Documentation

enum QtMediaServices::AvailabilityError

Enumerates Service status errors.

ConstantValue
QtMediaServices::NoError0
QtMediaServices::ServiceMissingError1
QtMediaServices::ResourceError3
QtMediaServices::BusyError2

enum QtMediaServices::EncodingMode

Enumerates encoding modes.

ConstantValue
QtMediaServices::ConstantQualityEncoding0
QtMediaServices::ConstantBitRateEncoding1
QtMediaServices::AverageBitRateEncoding2
QtMediaServices::TwoPassEncoding3

enum QtMediaServices::EncodingQuality

Enumerates quality encoding levels.

ConstantValue
QtMediaServices::VeryLowQuality0
QtMediaServices::LowQuality1
QtMediaServices::NormalQuality2
QtMediaServices::HighQuality3
QtMediaServices::VeryHighQuality4

enum QtMediaServices::MetaData

This enum provides identifiers for meta-data attributes.

Common attributes

ConstantValueDescription
QtMediaServices::Title0The title of the media. QString.
QtMediaServices::SubTitle1The sub-title of the media. QString.
QtMediaServices::Author2The authors of the media. QStringList.
QtMediaServices::Comment3A user comment about the media. QString.
QtMediaServices::Description4A description of the media. QString
QtMediaServices::Category5The category of the media. QStringList.
QtMediaServices::Genre6The genre of the media. QStringList.
QtMediaServices::Year7The year of release of the media. int.
QtMediaServices::Date8The date of the media. QDate.
QtMediaServices::UserRating9A user rating of the media. int [0..100].
QtMediaServices::Keywords10A list of keywords describing the media. QStringList.
QtMediaServices::Language11The language of media, as an ISO 639-2 code.
QtMediaServices::Publisher12The publisher of the media. QString.
QtMediaServices::Copyright13The media's copyright notice. QString.
QtMediaServices::ParentalRating14The parental rating of the media. QString.
QtMediaServices::RatingOrganisation15The organisation responsible for the parental rating of the media. QString.

Media attributes

ConstantValueDescription
QtMediaServices::Size16The size in bytes of the media. qint64
QtMediaServices::MediaType17The type of the media (audio, video, etc). QString.
QtMediaServices::Duration18The duration in millseconds of the media. qint64.

Audio attributes

ConstantValueDescription
QtMediaServices::AudioBitRate19The bit rate of the media's audio stream in bits per second. int.
QtMediaServices::AudioCodec20The codec of the media's audio stream. QString.
QtMediaServices::AverageLevel21The average volume level of the media. int.
QtMediaServices::ChannelCount22The number of channels in the media's audio stream. int.
QtMediaServices::PeakValue23The peak volume of the media's audio stream. int
QtMediaServices::SampleRate24The sample rate of the media's audio stream in hertz. int

Music attributes

ConstantValueDescription
QtMediaServices::AlbumTitle25The title of the album the media belongs to. QString.
QtMediaServices::AlbumArtist26The principal artist of the album the media belongs to. QString.
QtMediaServices::ContributingArtist27The artists contributing to the media. QStringList.
QtMediaServices::Composer28The composer of the media. QStringList.
QtMediaServices::Conductor29The conductor of the media. QString.
QtMediaServices::Lyrics30The lyrics to the media. QString.
QtMediaServices::Mood31The mood of the media. QString.
QtMediaServices::TrackNumber32The track number of the media. int.
QtMediaServices::TrackCount33The number of tracks on the album containing the media. int.
QtMediaServices::CoverArtUrlSmall34The URL of a small cover art image. QUrl.
QtMediaServices::CoverArtUrlLarge35The URL of a large cover art image. QUrl.
QtMediaServices::CoverArtImage74An embedded cover art image. QImage.

Image and video attributes

ConstantValueDescription
QtMediaServices::Resolution36The dimensions of an image or video. QSize.
QtMediaServices::PixelAspectRatio37The pixel aspect ratio of an image or video. QSize.

Video attributes

ConstantValueDescription
QtMediaServices::VideoFrameRate38The frame rate of the media's video stream. qreal.
QtMediaServices::VideoBitRate39The bit rate of the media's video stream in bits per second. int.
QtMediaServices::VideoCodec40The codec of the media's video stream. QString.
QtMediaServices::PosterUrl41The URL of a poster image. QUrl.
QtMediaServices::PosterImage73An embedded poster image. QImage.

Movie attributes

ConstantValueDescription
QtMediaServices::ChapterNumber42The chapter number of the media. int.
QtMediaServices::Director43The director of the media. QString.
QtMediaServices::LeadPerformer44The lead performer in the media. QStringList.
QtMediaServices::Writer45The writer of the media. QStringList.

Photo attributes.

ConstantValueDescription
QtMediaServices::CameraManufacturer46The manufacturer of the camera used to capture the media. QString.
QtMediaServices::CameraModel47The model of the camera used to capture the media. QString.
QtMediaServices::Event48The event during which the media was captured. QString.
QtMediaServices::Subject49The subject of the media. QString.
QtMediaServices::Orientation50Orientation of image.
QtMediaServices::ExposureTime51Exposure time, given in seconds.
QtMediaServices::FNumber52The F Number.
QtMediaServices::ExposureProgram53The class of the program used by the camera to set exposure when the picture is taken.
QtMediaServices::ISOSpeedRatings54Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232.
QtMediaServices::ExposureBiasValue55The exposure bias. The unit is the APEX (Additive System of Photographic Exposure) setting.
QtMediaServices::DateTimeOriginal56The date and time when the original image data was generated.
QtMediaServices::DateTimeDigitized57The date and time when the image was stored as digital data.
QtMediaServices::SubjectDistance58The distance to the subject, given in meters.
QtMediaServices::MeteringMode59The metering mode.
QtMediaServices::LightSource60The kind of light source.
QtMediaServices::Flash61Status of flash when the image was shot.
QtMediaServices::FocalLength62The actual focal length of the lens, in mm.
QtMediaServices::ExposureMode63Indicates the exposure mode set when the image was shot.
QtMediaServices::WhiteBalance64Indicates the white balance mode set when the image was shot.
QtMediaServices::DigitalZoomRatio65Indicates the digital zoom ratio when the image was shot.
QtMediaServices::FocalLengthIn35mmFilm66Indicates the equivalent focal length assuming a 35mm film camera, in mm.
QtMediaServices::SceneCaptureType67Indicates the type of scene that was shot. It can also be used to record the mode in which the image was shot.
QtMediaServices::GainControl68Indicates the degree of overall image gain adjustment.
QtMediaServices::Contrast69Indicates the direction of contrast processing applied by the camera when the image was shot.
QtMediaServices::Saturation70Indicates the direction of saturation processing applied by the camera when the image was shot.
QtMediaServices::Sharpness71Indicates the direction of sharpness processing applied by the camera when the image was shot.
QtMediaServices::DeviceSettingDescription72Exif tag, indicates information on the picture-taking conditions of a particular camera model. QString
QtMediaServices::ThumbnailImage75An embedded thumbnail image. QImage.

enum QtMediaServices::SupportEstimate

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

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


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0