QML MediaPlayer stopped playing local Audio in Qt 6.6
Unsolved
QML and Qt Quick
-
Hi,
I'm using a MediaPlayer in QML. For testing, I provide URLs referencing local Audio files.
In Qt 6.4.3, the following worked:
...
mediaPlayer.source = "file://C:/Windows/media/Ring02.wav"
mediaPlayer.play()
...With Qt 6.6.3, however, it does not play anything, but eventually reports an error 1, Could not open file
I've already tried to percent-encode the URL, but to no avail.
Any ideas?
-
Hi,
Can you try to force the native plugin for Windows ?
-
There are still plugins, the way they are managed has changed. Currently the native and ffmpeg with default being ffmpeg since 6.5.