Skip to content
  • 0 Votes
    9 Posts
    2k Views
    T
    @jsulm In Qt Creator and in VS 2022 as well. Qt Creator: [image: ab42b025-d090-40a9-b8df-07cfb6529e87.png] VS 2022: [image: 9d71fabb-f3ca-4381-8b50-5f50b76f71c0.png] EDIT: I found the problem... QAbstractVideoSurface has been replaced by the QVideoSink class in Qt6: https://doc.qt.io/qt-6/qtmultimedia-changes-qt6.html EDIT2: I think i will open two different topic since I found different "bug?"
  • 0 Votes
    2 Posts
    2k Views
    Banshee10000B
    Hi there, I'm in the exact same boat as you. also QMediaMetaData::Author returns blank on Linux but works in Windows Using Qt5.5.1... Been looking for a few days now for a solution with no luck too.
  • 0 Votes
    2 Posts
    840 Views
    D
    meta_player is my media player objext Signal: connect(meta_player, SIGNAL(metaDataChanged()), SLOT(metadata_capture())); Code of capture: if((meta_player->isMetaDataAvailable()) &&( inc < file_list.length())) { qDebug() << "Meta info available"<<endl; QStringList list = meta_player->availableMetaData(); qDebug() << " Meta Data ="<<list.count()<<endl; for(int i=0;i<list.count();i++){ qDebug() << list.at(i) << " = "<< meta_player->metaData(list.at(i)).toString(); } qDebug()<<"**********************************************************************************"; inc++; qDebug()<<"After Icrement "<<inc; qDebug()<<"File Name"<<file_list.at(inc); meta_player->setMedia(QUrl::fromLocalFile(file_list.at(inc))); qDebug()<<"File Name"<<file_list.at(inc); } The Signal meta_player->setMedia(QUrl::fromLocalFile(file_list.at(inc))); is not emitted properly. For example when I add 6 songs i get met info for two songs. The result is ambiguous, its not constant.