Qt 6 / Multimedia / Hardware Video Decoding / Windows
-
Hi.
I'm almost done porting our software from Qt 5 to Qt 6 but I have one huge showstopper:
With Qt 5 using DirectShow on Windows, we were able to utilize modern hardware quite well (using LAV filters with adjusted settings) when playing videos (in Qml). However, after the Qt 6 multimedia rewrite, Qt went back to Windows Media Foundation (WMF) and no matter what I try, I can't get hardware accelerated video to work (works perfectly fine otherwise, like in VLC, or DS / LAV). Hiqh quality 4k videos are hardly usable SW only. But not only this, some videos seem to jump back and forth a few frames after pause / play.
We tested this on Intel and on Nvidia but nothing. It would be suifficient if this would work for h264 or h265 / hevc codecs. I downloaded the hevc codecs using the links provided here http://codecguide.com/media_foundation_codecs.htm, tried the ones from the store, updated drivers, enabled Hardware-accelerated GPU scheduling in Windows settings (Settings/System/Display/GPU scheduling), all without success.
I know that there's a ffmpeg plugin on the horizon (unfortunately not yet available using aqtinstaller) but it probably won't be usable / available for some time - so, does anybody have a solution for me?
tl;dr:
How to enable hardware video decoding using the new WMF based multimedia plugin on Windows?Thanks in advance!