Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unresolved error code 80040266 when play mp3 with Qmediaplayer

Unresolved error code 80040266 when play mp3 with Qmediaplayer

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 967 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AmrCoderA Offline
    AmrCoderA Offline
    AmrCoder
    wrote on last edited by AmrCoder
    #1

    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();
        player->setMedia(QUrl::fromLocalFile(mp3));
        player->play();
    }
    

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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved