How hardware acceleration works on UWP?

​VLC for Windows Store​ specific questions

This includes WinRT, Windows RT, Windows Phone, Windows Mobile and Xbox 1
TommyVCT
New Cone
New Cone
Posts: 1
Joined: 22 Feb 2021 09:43

How hardware acceleration works on UWP?

Postby TommyVCT » 22 Feb 2021 10:21

Hi everyone,

Recently I got a Surface Pro X, and I ported OBS Studio to Windows on ARM, most of the thing works fine, except for hardware encoding. I'm trying to find some reference code to implement that feature.

To make it work, I have 2 so far so vague approaches:
1. Let Windows to work with FFmpeg handle it (maybe dxva2, have no idea where to start, UWP VLC code maybe a good start point, but still no idea where to start)
2. Use the Qualcomm Adreno SDK (They claim they support DirectX, but the video codec sample is android only, maybe possible to make use of it)

I tried the win32 VLC for Windows on ARM, the hardware decoding didn't work. Then I tried the UWP version of VLC, the hardware decoding worked just fine.

How does video hardware acceleration work on the UWP builds? And how much can I take from here to OBS Studio?

mfkl
Developer
Developer
Posts: 746
Joined: 13 Jun 2017 10:41

Re: How hardware acceleration works on UWP?

Postby mfkl » 24 Feb 2021 01:43

How does video hardware acceleration work on the UWP builds?
The same as with win32 mostly. Have a look at this https://code.videolan.org/videolan/vlc- ... ce.cs#L332
https://mfkl.github.io


Return to “​VLC for Windows Store​”

Who is online

Users browsing this forum: No registered users and 9 guests