Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QtMedia Namespace Reference

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

    #include <QtMedia>

Types

enum EncodingMode { ConstantQualityEncoding, ConstantBitrateEncoding, AverageBitrateEncoding, TwoPassEncoding }
enum EncodingQuality { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality }
enum MetaData { Title, SubTitle, Author, Comment, ..., DeviceSettingDescription }
enum SupportEstimate { NotSupported, MaybeSupported, ProbablySupported, PreferedService }

Detailed Description

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


Type Documentation

enum QtMedia::EncodingMode

Enumerates encoding modes.

ConstantValue
QtMedia::ConstantQualityEncoding0
QtMedia::ConstantBitrateEncoding1
QtMedia::AverageBitrateEncoding2
QtMedia::TwoPassEncoding3

enum QtMedia::EncodingQuality

Enumerates quality encoding levels.

ConstantValue
QtMedia::VeryLowQuality0
QtMedia::LowQuality1
QtMedia::NormalQuality2
QtMedia::HighQuality3
QtMedia::VeryHighQuality4

enum QtMedia::MetaData

This enum provides identifiers for meta-data attributes.

Common attributes

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

Media attributes

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

Audio attributes

ConstantValueDescription
QtMedia::AudioBitrate19The bit rate of the media's audio stream in bits per second. int.
QtMedia::AudioCodec20The codec of the media's audio stream. QString.
QtMedia::AverageLevel21The average volume level of the media. int.
QtMedia::Channels22The number of channels in the media's audio stream. int.
QtMedia::PeakValue23The peak volume of the media's audio stream. int
QtMedia::Frequency24The frequency of the media's audio stream. int

Music attributes

ConstantValueDescription
QtMedia::AlbumTitle25The title of the album the media belongs to. QString.
QtMedia::AlbumArtist26The principal artist of the album the media belongs to. QString.
QtMedia::ContributingArtist27The artists contributing to the media. QStringList.
QtMedia::Composer28The composer of the media. QStringList.
QtMedia::Conductor29The conductor of the media. QString.
QtMedia::Lyrics30The lyrics to the media. QString.
QtMedia::Mood31The mood of the media. QString.
QtMedia::TrackNumber32The track number of the media. int.
QtMedia::TrackCount33The number of tracks on the album containing the media. int.
QtMedia::CoverArtUriSmall34The URI of a small cover art image. QUrl.
QtMedia::CoverArtUriLarge35The URI of a large cover art image. QUrl.

Image and video attributes

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

Video attributes

ConstantValueDescription
QtMedia::VideoFrameRate38The frame rate of the media's video stream. qreal.
QtMedia::VideoBitRate39The bit rate of the media's video stream in bits per second. int.
QtMedia::VideoCodec40The codec of the media's video stream. QString.
QtMedia::PosterUri41The URI of a poster image. QUrl.

Movie attributes

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

Photo attributes.

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

enum QtMedia::SupportEstimate

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

ConstantValueDescription
QtMedia::NotSupported0The feature is not supported.
QtMedia::MaybeSupported1The feature may be supported.
QtMedia::ProbablySupported2The feature is probably supported.
QtMedia::PreferedService3The 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 !
 
 
 
 
Partenaires

Hébergement Web