![]() |
Qt 6.x
The Qt SDK
|
#include <qffmpegmediametadata_p.h>
Inheritance diagram for QFFmpegMetaData:
Collaboration diagram for QFFmpegMetaData: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 } |
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. | |
Static Public Attributes inherited from QMediaMetaData | |
| static constexpr int | NumMetaData = Resolution + 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 72 of file qffmpegmediametadata.cpp.
References QLocale::codeToLanguage(), QListSpecialMethodsBase< T >::contains(), date, QMediaMetaData::Date, QUrl::fromEncoded(), QString::fromUtf8(), QVariant::fromValue(), QMetaType::id(), QMap< Key, T >::insert(), QLocale::ISO639Part2, Qt::ISODate, QMap< Key, T >::keys(), QMediaMetaData::keyType(), map, qCDebug, qstrcmp(), QString::split(), tag, tagToKey(), QByteArray::toDouble(), QByteArray::toInt(), and QByteArray::toLongLong().
Referenced by fromAVMetaData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 124 of file qffmpegmediametadata.cpp.
References addEntry().
Referenced by Q_LOGGING_CATEGORY().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 161 of file qffmpegmediametadata.cpp.
References QMediaMetaData::keys(), and keyToTag().
Referenced by Q_LOGGING_CATEGORY().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 134 of file qffmpegmediametadata.cpp.
References QMetaType::id(), QLocale::ISO639Part2, Qt::ISODate, QMediaMetaData::keyType(), QLocale::languageToCode(), QByteArray::number(), QString::toUtf8(), and QMediaMetaData::value().
Here is the call graph for this function: