Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51200

QMediaPlayer on Windows does not play MP3 files with prepend ID3 tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Won't Do
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Windows 7 x64 Ultimate in default installation, no codec packs.

      Description

      QMediaPlayer fails to play (and QAudioDecoder fails to decode) the attached MP3 file on Microsoft Windows. QMediaPlayer plays this file file on Linux and Mac, and Windows Media Player plays it fine on Windows in default installation (no codec packs), as well as GStreamer on Windows.

      The problem seems to be that the file contains prepend ID3v2 tag. I have a workaround in my code where I pass a fake QIODevice which just strips the tag, as you can see here: https://github.com/gyunaev/karaokeplayer/blob/master/src/universalplayer_qmediaplayer.cpp - but this is obviously a workaround and not a solution.

        Attachments

        1. test.mp3
          256 kB
        2. 01 Track 1_id3v2.3_ro.mp3
          4.47 MB
        3. 01 Track 1_id3v2.4_ro.mp3
          4.47 MB
        4. Test_MediaPlay_id3v24.pro
          1.0 kB
        5. Test_MediaPlay_id3v24.pro.user
          46 kB
        6. main.cpp
          0.2 kB
        7. mp.cpp
          2 kB
        8. mp.h
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            valentyn.doroshchuk Valentyn Doroshchuk
            Reporter:
            gyunaev gyunaev
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes