![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qffmpegmediametadata_p.h>
Static Public Member Functions | |
| static void | addEntry (QMediaMetaData &metaData, AVDictionaryEntry *entry) |
| static QMediaMetaData | fromAVMetaData (const AVDictionary *tags) |
| static QByteArray | value (const QMediaMetaData &metaData, QMediaMetaData::Key key) |
| static AVDictionary * | toAVMetaData (const QMediaMetaData &metaData) |
| Static Public Member Functions inherited from QMediaMetaData | |
| static Q_INVOKABLE QString | metaDataKeyToString (Key k) |
| \qmlmethod string QtMultimedia::mediaMetaData::metaDataKeyToString(Key key) returns a string representation of key that can be used when presenting meta data to users. | |
Additional Inherited Members | |
| Public Types inherited from QMediaMetaData | |
| enum | Key { Title , Author , Comment , Description , Genre , Date , Language , Publisher , Copyright , Url , Duration , MediaType , FileFormat , AudioBitRate , AudioCodec , VideoBitRate , VideoCodec , VideoFrameRate , AlbumTitle , AlbumArtist , ContributingArtist , TrackNumber , Composer , LeadPerformer , ThumbnailImage , CoverArtImage , Orientation , Resolution , HasHdrContent } |
| Provides meta-data for media files. More... | |
| Public Member Functions inherited from QMediaMetaData | |
| Q_INVOKABLE QVariant | value (Key k) const |
| \variable QMediaMetaData::NumMetaData | |
| Q_INVOKABLE void | insert (Key k, const QVariant &value) |
| \qmlmethod void QtMultimedia::mediaMetaData::insert(Key k, variant value) Inserts a value into a Key: {k}. | |
| Q_INVOKABLE void | remove (Key k) |
| \qmlmethod void QtMultimedia::mediaMetaData::remove(Key k) Removes meta data from a Key: {k}. | |
| Q_INVOKABLE QList< Key > | keys () const |
| \qmlmethod list<Key> QtMultimedia::mediaMetaData::keys() Returns a list of MediaMetaData.Keys. | |
| QVariant & | operator[] (Key k) |
| Returns data stored at the Key {k}. | |
| Q_INVOKABLE void | clear () |
| \qmlmethod void QtMultimedia::mediaMetaData::clear() Removes all data from the MediaMetaData object. | |
| Q_INVOKABLE bool | isEmpty () const |
\qmlmethod bool QtMultimedia::mediaMetaData::isEmpty() Returns true if the meta data contains no items: otherwise returns {false}. | |
| Q_INVOKABLE QString | stringValue (Key k) const |
| \qmlmethod string QtMultimedia::mediaMetaData::stringValue(Key key) Returns the meta data for key key as a QString. | |
| QT_POST_CXX17_API_IN_EXPORTED_CLASS auto | asKeyValueRange () const |
| \variable QMediaMetaData::data | |
| Static Public Attributes inherited from QMediaMetaData | |
| static constexpr int | NumMetaData = HasHdrContent + 1 |
| Static Protected Member Functions inherited from QMediaMetaData | |
| static QMetaType | keyType (Key key) |
| Returns the meta type used to store data for Key key. | |
| Protected Attributes inherited from QMediaMetaData | |
| QHash< Key, QVariant > | data |
Definition at line 23 of file qffmpegmediametadata_p.h.
|
static |
Definition at line 75 of file qffmpegmediametadata.cpp.
|
static |
Definition at line 127 of file qffmpegmediametadata.cpp.
|
static |
Definition at line 164 of file qffmpegmediametadata.cpp.
|
static |
Definition at line 137 of file qffmpegmediametadata.cpp.