QMediaMetaData Namespace
Provides identifiers for meta-data attributes. More...
Header: | #include <QMediaMetaData> |
qmake: | QT += multimedia |
Detailed Description
Note: Not all identifiers are supported on all platforms. Please consult vendor documentation for specific support on different platforms.
Common attributes | ||
---|---|---|
Value | Description | Type |
Title | The title of the media. | QString |
SubTitle | The sub-title of the media. | QString |
Author | The authors of the media. | QStringList |
Comment | A user comment about the media. | QString |
Description | A description of the media. | QString |
Category | The category of the media. | QStringList |
Genre | The genre of the media. | QStringList |
Year | The year of release of the media. | int |
Date | The date of the media. | QDate. |
UserRating | A user rating of the media. | int [0..100] |
Keywords | A list of keywords describing the media. | QStringList |
Language | The language of media, as an ISO 639-2 code. | QString |
Publisher | The publisher of the media. | QString |
Copyright | The media's copyright notice. | QString |
ParentalRating | The parental rating of the media. | QString |
RatingOrganization | The organization responsible for the parental rating of the media. | QString |
Media attributes | ||
Size | The size in bytes of the media. | qint64 |
MediaType | The type of the media (audio, video, etc). | QString |
Duration | The duration in millseconds of the media. | qint64 |
Audio attributes | ||
AudioBitRate | The bit rate of the media's audio stream in bits per second. | int |
AudioCodec | The codec of the media's audio stream. | QString |
AverageLevel | The average volume level of the media. | int |
ChannelCount | The number of channels in the media's audio stream. | int |
PeakValue | The peak volume of the media's audio stream. | int |
SampleRate | The sample rate of the media's audio stream in hertz. | int |
Music attributes | ||
AlbumTitle | The title of the album the media belongs to. | QString |
AlbumArtist | The principal artist of the album the media belongs to. | QString |
ContributingArtist | The artists contributing to the media. | QStringList |
Composer | The composer of the media. | QStringList |
Conductor | The conductor of the media. | QString |
Lyrics | The lyrics to the media. | QString |
Mood | The mood of the media. | QString |
TrackNumber | The track number of the media. | int |
TrackCount | The number of tracks on the album containing the media. | int |
CoverArtUrlSmall | The URL of a small cover art image. | QUrl |
CoverArtUrlLarge | The URL of a large cover art image. | QUrl |
CoverArtImage | An embedded cover art image. | QImage |
Image and video attributes | ||
Resolution | The dimensions of an image or video. | QSize |
PixelAspectRatio | The pixel aspect ratio of an image or video. | QSize |
Orientation | Orientation of an image or video. | int (degrees) |
Video attributes | ||
VideoFrameRate | The frame rate of the media's video stream. | qreal |
VideoBitRate | The bit rate of the media's video stream in bits per second. | int |
VideoCodec | The codec of the media's video stream. | QString |
PosterUrl | The URL of a poster image. | QUrl |
PosterImage | An embedded poster image. | QImage |
Movie attributes | ||
ChapterNumber | The chapter number of the media. | int |
Director | The director of the media. | QString |
LeadPerformer | The lead performer in the media. | QStringList |
Writer | The writer of the media. | QStringList |
Photo attributes. | ||
CameraManufacturer | The manufacturer of the camera used to capture the media. | QString |
CameraModel | The model of the camera used to capture the media. | QString |
Event | The event during which the media was captured. | QString |
Subject | The subject of the media. | QString |
ExposureTime | Exposure time, given in seconds. | qreal |
FNumber | The F Number. | int |
ExposureProgram | The class of the program used by the camera to set exposure when the picture is taken. | QString |
ISOSpeedRatings | Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232. | qreal |
ExposureBiasValue | The exposure bias. The unit is the APEX (Additive System of Photographic Exposure) setting. | qreal |
DateTimeOriginal | The date and time when the original image data was generated. | QDateTime |
DateTimeDigitized | The date and time when the image was stored as digital data. | QDateTime |
SubjectDistance | The distance to the subject, given in meters. | qreal |
MeteringMode | The metering mode. | QCameraExposure::MeteringMode |
LightSource | The kind of light source. | QString |
Flash | Status of flash when the image was shot. | QCameraExposure::FlashMode |
FocalLength | The actual focal length of the lens, in mm. | qreal |
ExposureMode | Indicates the exposure mode set when the image was shot. | QCameraExposure::ExposureMode |
WhiteBalance | Indicates the white balance mode set when the image was shot. | QCameraImageProcessing::WhiteBalanceMode |
DigitalZoomRatio | Indicates the digital zoom ratio when the image was shot. | qreal |
FocalLengthIn35mmFilm | Indicates the equivalent focal length assuming a 35mm film camera, in mm. | qreal |
SceneCaptureType | Indicates the type of scene that was shot. It can also be used to record the mode in which the image was shot. | QString |
GainControl | Indicates the degree of overall image gain adjustment. | qreal |
Contrast | Indicates the direction of contrast processing applied by the camera when the image was shot. | qreal |
Saturation | Indicates the direction of saturation processing applied by the camera when the image was shot. | qreal |
Sharpness | Indicates the direction of sharpness processing applied by the camera when the image was shot. | qreal |
DeviceSettingDescription | Exif tag, indicates information on the picture-taking conditions of a particular camera model. | QString |
GPSLatitude | Latitude value of the geographical position (decimal degrees). A positive latitude indicates the Northern Hemisphere, and a negative latitude indicates the Southern Hemisphere. | double |
GPSLongitude | Longitude value of the geographical position (decimal degrees). A positive longitude indicates the Eastern Hemisphere, and a negative longitude indicates the Western Hemisphere. | double |
GPSAltitude | The value of altitude in meters above sea level. | double |
GPSTimeStamp | Time stamp of GPS data. | QDateTime |
GPSSatellites | GPS satellites used for measurements. | QString |
GPSStatus | Status of GPS receiver at image creation time. | QString |
GPSDOP | Degree of precision for GPS data. | qreal |
GPSSpeed | Speed of GPS receiver movement in kilometers per hour. | qreal |
GPSTrack | Direction of GPS receiver movement. The range of values is [0.0, 360), with 0 direction pointing on either true or magnetic north, depending on GPSTrackRef. | qreal |
GPSTrackRef | Reference for movement direction. | QChar. 'T' means true direction and 'M' is magnetic direction. |
GPSImgDirection | Direction of image when captured. | qreal The range of values is [0.0, 360). |
GPSImgDirectionRef | Reference for image direction. | QChar. 'T' means true direction and 'M' is magnetic direction. |
GPSMapDatum | Geodetic survey data used by the GPS receiver. | QString |
GPSProcessingMethod | The name of the method used for location finding. | QString |
GPSAreaInformation | The name of the GPS area. | QString |
ThumbnailImage | An embedded thumbnail image. | QImage |