提供元數據屬性標識符。 更多...
| 頭: | #include <QMediaMetaData> |
| qmake: | QT += multimedia |
提供元數據屬性標識符。
注意: 並非所有平颱都支持所有標識符。請翻閱供應商文檔編製,瞭解不同平颱的特定支持。
| 公共屬性 | ||
|---|---|---|
| 值 | 描述 | 類型 |
| Title | 媒體標題。 | QString |
| SubTitle | 媒體子標題。 | QString |
| Author | 媒體作者。 | QStringList |
| Comment | 關於媒體的用戶評論。 | QString |
| Description | 媒體描述。 | QString |
| Category | 媒體類彆。 | QStringList |
| Genre | 媒體流派。 | QStringList |
| Year | 媒體發行年份。 | int |
| Date | 媒體的日期。 | QDate . |
| UserRating | 媒體的用戶評級。 | int [0..100] |
| Keywords | 描述媒體的關鍵詞列錶。 | QStringList |
| Language | 媒體的語言,作為 ISO 639-2 代碼。 | QString |
| Publisher | 媒體齣版商。 | QString |
| Copyright | 媒體的版權聲明。 | QString |
| ParentalRating | 媒體的親代評級。 | QString |
| RatingOrganization | 負責媒體親代評級的組織。 | QString |
| 媒體屬性 | ||
| Size | 媒體的大小 (以字節為單位)。 | qint64 |
| MediaType | 媒體的類型 (音頻、視頻、等)。 | QString |
| Duration | 媒體的持續時間 (以毫秒為單位)。 | qint64 |
| 音頻屬性 | ||
| AudioBitRate | 媒體音頻流的比特率 (以位每秒為單位)。 | int |
| AudioCodec | 媒體音頻流的編解碼器。 | QString |
| AverageLevel | 媒體的平均音量級彆。 | int |
| ChannelCount | 媒體音頻流的通道數。 | int |
| PeakValue | 媒體音頻流的峰值音量。 | int |
| SampleRate | 媒體音頻流的采樣率 (以赫茲為單位)。 | int |
| 音樂屬性 | ||
| AlbumTitle | 媒體所屬的專輯標題。 | QString |
| AlbumArtist | 媒體所屬專輯的親代藝術傢。 | QString |
| ContributingArtist | 媒體的貢獻藝術傢。 | QStringList |
| Composer | 媒體的作麯傢。 | QStringList |
| Conductor | 媒體的指揮。 | QString |
| Lyrics | 媒體歌詞。 | QString |
| Mood | 媒體情緒。 | QString |
| TrackNumber | 媒體軌道編號。 | int |
| TrackCount | 包含媒體的專輯麯目數。 | int |
| CoverArtUrlSmall | 小型封麵藝術圖像的 URL。 | QUrl |
| CoverArtUrlLarge | 大型封麵藝術圖像的 URL。 | QUrl |
| CoverArtImage | 嵌入的封麵藝術圖像。 | QImage |
| 圖像和視頻屬性 | ||
| Resolution | 圖像或視頻的尺度。 | QSize |
| PixelAspectRatio | 圖像或視頻的像素寬高比。 | QSize |
| 視頻屬性 | ||
| VideoFrameRate | 媒體視頻流的幀速率。 | 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 | 海報圖像的 URL (統一資源定位符)。 | QUrl |
| PosterImage | 嵌入的海報圖像。 | QImage |
| 電影屬性 | ||
| ChapterNumber | The chapter number of the media. | int |
| Director | The director of the media. | QString |
| LeadPerformer | The lead performer in the media. | QStringList |
| Writer | 媒體作傢。 | QStringList |
| 照片屬性 | ||
| 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 | 媒體主題。 | QString |
| Orientation | Orientation of image. | int (度) |
| 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 | GPS 數據的時間戳。 | QDateTime |
| GPSSatellites | GPS satellites used for measurements. | QString |
| GPSStatus | Status of GPS receiver at image creation time. | QString |
| GPSDOP | GPS (全球定位係統) 數據的精度。 | 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 | GPS 區域的名稱。 | QString |
| ThumbnailImage | 嵌入縮略圖圖像。 | QImage |