Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QFFmpegMetaData Class Reference

#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)
 

Additional Inherited Members

 Provides meta-data for media files. More...

Detailed Description

Definition at line 23 of file qffmpegmediametadata_p.h.

Member Function Documentation

◆ addEntry()

void QFFmpegMetaData::addEntry ( QMediaMetaData & metaData,
AVDictionaryEntry * entry )
static

Definition at line 75 of file qffmpegmediametadata.cpp.

References QLocale::codeToLanguage(), QListSpecialMethodsBase< T >::contains(), date, QMediaMetaData::Date, QUrl::fromEncoded(), QString::fromUtf8(), QVariant::fromValue(), QMap< Key, T >::insert(), QLocale::ISO639Part2, Qt::ISODate, QMap< Key, T >::keys(), QMediaMetaData::keyType(), map, QByteArray(), qCDebug, qstrcmp(), tag, and tagToKey().

Referenced by fromAVMetaData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromAVMetaData()

QMediaMetaData QFFmpegMetaData::fromAVMetaData ( const AVDictionary * tags)
static

Definition at line 127 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:

◆ toAVMetaData()

AVDictionary * QFFmpegMetaData::toAVMetaData ( const QMediaMetaData & metaData)
static

Definition at line 164 of file qffmpegmediametadata.cpp.

References QMediaMetaData::keys(), and keyToTag().

Referenced by QFFmpeg::RecordingEngine::start().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ value()

QByteArray QFFmpegMetaData::value ( const QMediaMetaData & metaData,
QMediaMetaData::Key key )
static

Definition at line 137 of file qffmpegmediametadata.cpp.

References QLocale::ISO639Part2, Qt::ISODate, QMediaMetaData::keyType(), QLocale::languageToCode(), QByteArray::number(), and QMediaMetaData::value().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: