[PySide] QMediaPlayer cannot play mp3 audio files
redstone-cold at 163.com
Mon Nov 7 14:47:47 CET 2022
I tester with win11 64bit Python: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
I changed the example to https://bpa.st/BKWA to have a test, now one just need to click the 'Open' button to test.
With line 144 uncommented, after clicking the 'Open' button, works!
With line 143 uncommented, after clicking the 'Open' button, the status bar show "Unsupported media type", but with PyQt5 version, it can really play it, but not PyQt6 either.
At 2022-11-07 18:47:46, "Friedemann Kleint via PySide" <pyside at qt-project.org> wrote:
>please also check the Qt for Python player example
>It is able to play MP3 fine here on Windows 10 using the shipped
>The Qt Company GmbH
>PySide mailing list
>PySide at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PySide