提供元数据属性标识符。 更多...
| 头: | #include <QMediaMetaData> |
| qmake: | QT += multimedia |
提供元数据属性标识符。
注意: 并非所有平台都支持所有标识符。请翻阅供应商文档编制,了解不同平台的特定支持。
| 公共属性 | ||
|---|---|---|
| 值 | 描述 | 类型 |
| Title | 媒体标题。 | QString |
| SubTitle | 媒体子标题。 | QString |
| Author | 媒体作者。 | QStringList |
| 注释 | 关于媒体的用户评论。 | QString |
| 描述 | 媒体的描述。 | QString |
| 类别 | 媒体的类别。 | QStringList |
| Genre | 媒体的流派。 | QStringList |
| Year | 媒体的发行年份。 | int |
| Date | 媒体的日期。 | QDate . |
| UserRating | 媒体的用户评级。 | int [0..100] |
| 关键词 | 描述媒体的关键词列表。 | QStringList |
| 语言 | 媒体的语言,作为 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 | The URL of a poster image. | 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 | The subject of the media. | QString |
| 取向 | 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 |
| 刷新 | 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 | GPS 区域的名称。 | QString |
| ThumbnailImage | 嵌入缩略图图像。 | QImage |