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  · 

QtMultimediaKit Namespace

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

 #include <QtMultimediaKit>

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 QtMultimediaKit namespace contains miscellaneous identifiers used throughout the Qt Media services library.

QtMultimediaKit is a module containing the low level, low latency, Multimedia APIs which were introduced in Qt 4.6 and also includes the high level QtMultimedia APIs which were introduced in Qt Mobility 1.0.

Type Documentation

enum QtMultimediaKit::AvailabilityError

Enumerates Service status errors.

ConstantValueDescription
QtMultimediaKit::NoError0The service is operating correctly.
QtMultimediaKit::ServiceMissingError1There is no service available to provide the requested functionality.
QtMultimediaKit::ResourceError3The service could not allocate resources required to function correctly.
QtMultimediaKit::BusyError2The service must wait for access to necessary resources.

enum QtMultimediaKit::EncodingMode

Enumerates encoding modes.

ConstantValue
QtMultimediaKit::ConstantQualityEncoding0
QtMultimediaKit::ConstantBitRateEncoding1
QtMultimediaKit::AverageBitRateEncoding2
QtMultimediaKit::TwoPassEncoding3

enum QtMultimediaKit::EncodingQuality

Enumerates quality encoding levels.

ConstantValue
QtMultimediaKit::VeryLowQuality0
QtMultimediaKit::LowQuality1
QtMultimediaKit::NormalQuality2
QtMultimediaKit::HighQuality3
QtMultimediaKit::VeryHighQuality4

enum QtMultimediaKit::MetaData

This enum provides identifiers for meta-data attributes.

Common attributes

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

Media attributes

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

Audio attributes

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

Music attributes

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

Image and video attributes

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

Video attributes

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

Movie attributes

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

Photo attributes.

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

enum QtMultimediaKit::SupportEstimate

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

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

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();
Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 44
  2. Microsoft ouvre aux autres compilateurs C++ AMP, la spécification pour la conception d'applications parallèles C++ utilisant le GPU 22
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. RIM : « 13 % des développeurs ont gagné plus de 100 000 $ sur l'AppWord », Qt et open-source au menu du BlackBerry DevCon Europe 0
  5. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
Page suivante

Le Qt Quarterly au hasard

Logo

Les développeurs viennent de Mars, les designers de Vénus

Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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