How to get Duration of audio and video files in Qt without using QMediaPlayer
问题 I have been working on an application where I can traverse the system drives using QDirIterator and look for audio/video files, grab the details using QStandardItemModel and display it on QTreeview. I have been successful in displaying file name, type, size, date-modified but DURATION is something which I am not able to do. Here is the code: // Displays Files in Detail View on Clicking Drive void DetailView::on_DriveView_clicked(const QModelIndex &index) { int m_count_row = 0;