QtMedia Namespace ReferenceThe QtMedia namespace contains miscellaneous identifiers used throughout the Qt Media library. More... #include <QtMedia> Types
Detailed DescriptionThe QtMedia namespace contains miscellaneous identifiers used throughout the Qt Media library. Type Documentation
|
Constant | Value |
---|---|
QtMedia::ConstantQualityEncoding | 0 |
QtMedia::ConstantBitrateEncoding | 1 |
QtMedia::AverageBitrateEncoding | 2 |
QtMedia::TwoPassEncoding | 3 |
Enumerates quality encoding levels.
Constant | Value |
---|---|
QtMedia::VeryLowQuality | 0 |
QtMedia::LowQuality | 1 |
QtMedia::NormalQuality | 2 |
QtMedia::HighQuality | 3 |
QtMedia::VeryHighQuality | 4 |
This enum provides identifiers for meta-data attributes.
Common attributes
Constant | Value | Description |
---|---|---|
QtMedia::Title | 0 | The title of the media. QString. |
QtMedia::SubTitle | 1 | The sub-title of the media. QString. |
QtMedia::Author | 2 | The authors of the media. QStringList. |
QtMedia::Comment | 3 | A user comment about the media. QString. |
QtMedia::Description | 4 | A description of the media. QString |
QtMedia::Category | 5 | The category of the media. QStringList. |
QtMedia::Genre | 6 | The genre of the media. QStringList. |
QtMedia::Year | 7 | The year of release of the media. int. |
QtMedia::Date | 8 | The date of the media. QDate. |
QtMedia::UserRating | 9 | A user rating of the media. int [0..100]. |
QtMedia::Keywords | 10 | A list of keywords describing the media. QStringList. |
QtMedia::Language | 11 | The language of media, as an ISO 639-2 code. |
QtMedia::Publisher | 12 | The publisher of the media. QString. |
QtMedia::Copyright | 13 | The media's copyright notice. QString. |
QtMedia::ParentalRating | 14 | The parental rating of the media. QString. |
QtMedia::RatingOrganisation | 15 | The organisation responsible for the parental rating of the media. QString. |
Media attributes
Constant | Value | Description |
---|---|---|
QtMedia::Size | 16 | The size in bytes of the media. qint64 |
QtMedia::MediaType | 17 | The type of the media (audio, video, etc). QString. |
QtMedia::Duration | 18 | The duration in millseconds of the media. qint64. |
Audio attributes
Constant | Value | Description |
---|---|---|
QtMedia::AudioBitrate | 19 | The bit rate of the media's audio stream in bits per second. int. |
QtMedia::AudioCodec | 20 | The codec of the media's audio stream. QString. |
QtMedia::AverageLevel | 21 | The average volume level of the media. int. |
QtMedia::Channels | 22 | The number of channels in the media's audio stream. int. |
QtMedia::PeakValue | 23 | The peak volume of the media's audio stream. int |
QtMedia::Frequency | 24 | The frequency of the media's audio stream. int |
Music attributes
Constant | Value | Description |
---|---|---|
QtMedia::AlbumTitle | 25 | The title of the album the media belongs to. QString. |
QtMedia::AlbumArtist | 26 | The principal artist of the album the media belongs to. QString. |
QtMedia::ContributingArtist | 27 | The artists contributing to the media. QStringList. |
QtMedia::Composer | 28 | The composer of the media. QStringList. |
QtMedia::Conductor | 29 | The conductor of the media. QString. |
QtMedia::Lyrics | 30 | The lyrics to the media. QString. |
QtMedia::Mood | 31 | The mood of the media. QString. |
QtMedia::TrackNumber | 32 | The track number of the media. int. |
QtMedia::TrackCount | 33 | The number of tracks on the album containing the media. int. |
QtMedia::CoverArtUriSmall | 34 | The URI of a small cover art image. QUrl. |
QtMedia::CoverArtUriLarge | 35 | The URI of a large cover art image. QUrl. |
Image and video attributes
Constant | Value | Description |
---|---|---|
QtMedia::Resolution | 36 | The dimensions of an image or video. QSize. |
QtMedia::PixelAspectRatio | 37 | The pixel aspect ratio of an image or video. QSize. |
Video attributes
Constant | Value | Description |
---|---|---|
QtMedia::VideoFrameRate | 38 | The frame rate of the media's video stream. qreal. |
QtMedia::VideoBitRate | 39 | The bit rate of the media's video stream in bits per second. int. |
QtMedia::VideoCodec | 40 | The codec of the media's video stream. QString. |
QtMedia::PosterUri | 41 | The URI of a poster image. QUrl. |
Movie attributes
Constant | Value | Description |
---|---|---|
QtMedia::ChapterNumber | 42 | The chapter number of the media. int. |
QtMedia::Director | 43 | The director of the media. QString. |
QtMedia::LeadPerformer | 44 | The lead performer in the media. QStringList. |
QtMedia::Writer | 45 | The writer of the media. QStringList. |
Photo attributes.
Constant | Value | Description |
---|---|---|
QtMedia::CameraManufacturer | 46 | The manufacturer of the camera used to capture the media. QString. |
QtMedia::CameraModel | 47 | The model of the camera used to capture the media. QString. |
QtMedia::Event | 48 | The event during which the media was captured. QString. |
QtMedia::Subject | 49 | The subject of the media. QString. |
QtMedia::Orientation | 50 | Orientation of image. |
QtMedia::ExposureTime | 51 | Exposure time, given in seconds. |
QtMedia::FNumber | 52 | The F Number. |
QtMedia::ExposureProgram | 53 | The class of the program used by the camera to set exposure when the picture is taken. |
QtMedia::ISOSpeedRatings | 54 | Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232. |
QtMedia::ExposureBiasValue | 55 | The exposure bias. The unit is the APEX (Additive System of Photographic Exposure) setting. |
QtMedia::DateTimeOriginal | 56 | The date and time when the original image data was generated. |
QtMedia::DateTimeDigitized | 57 | The date and time when the image was stored as digital data. |
QtMedia::SubjectDistance | 58 | The distance to the subject, given in meters. |
QtMedia::MeteringMode | 59 | The metering mode. |
QtMedia::LightSource | 60 | The kind of light source. |
QtMedia::Flash | 61 | Status of flash when the image was shot. |
QtMedia::FocalLength | 62 | The actual focal length of the lens, in mm. |
QtMedia::ExposureMode | 63 | Indicates the exposure mode set when the image was shot. |
QtMedia::WhiteBalance | 64 | Indicates the white balance mode set when the image was shot. |
QtMedia::DigitalZoomRatio | 65 | Indicates the digital zoom ratio when the image was shot. |
QtMedia::FocalLengthIn35mmFilm | 66 | Indicates the equivalent focal length assuming a 35mm film camera, in mm. |
QtMedia::SceneCaptureType | 67 | Indicates the type of scene that was shot. It can also be used to record the mode in which the image was shot. |
QtMedia::GainControl | 68 | Indicates the degree of overall image gain adjustment. |
QtMedia::Contrast | 69 | Indicates the direction of contrast processing applied by the camera when the image was shot. |
QtMedia::Saturation | 70 | Indicates the direction of saturation processing applied by the camera when the image was shot. |
QtMedia::Sharpness | 71 | Indicates the direction of sharpness processing applied by the camera when the image was shot. |
QtMedia::DeviceSettingDescription | 72 | Exif tag, indicates information on the picture-taking conditions of a particular camera model. QString |
Enumerates the levels of support a media service provider may have for a feature.
Constant | Value | Description |
---|---|---|
QtMedia::NotSupported | 0 | The feature is not supported. |
QtMedia::MaybeSupported | 1 | The feature may be supported. |
QtMedia::ProbablySupported | 2 | The feature is probably supported. |
QtMedia::PreferedService | 3 | The service is the preferred provider of a service. |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0-tp | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com