Important: Please read the Qt Code of Conduct -

Unresolved error code 80040266 when play mp3 with Qmediaplayer

  • Please help me when I try to play mp3 file with qmediaplayer I got this error

    8004B200 DirectShowPlayerService::doRender: Unresolved error code 80040266

    I don't know why this it works fine on any other type of mp3s why this file exactly not work ??!!!!!!!
    it works fine with any other player like windows player or MPC-HC
    any player it works fine ?
    this my code !

    void MainWindow::on_pushButton_Play_clicked()
        QString mp3 = QFileDialog::getOpenFileName();
        QMediaPlayer *player = new QMediaPlayer();

    please if you want me to upload the mp3 it's a small file please help me
    iam using qt 5.6.1 Mingw
    windows 10

Log in to reply