⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
how to get the details of a media file
-
im trying to get the details of mp3 file
look at the picture: http://imgur.com/Xw0PFSP
QFileInfo doesnt help me.
can someone help me ? ty
-
Check the documentation for QMediaObject class: http://doc.qt.io/qt-5/qmediaobject.html
Especially
QVariant QMediaObject::metaData(const QString & key) const
You probably will need to use QAudioDecoder class which is derived from QMediaObject.