Poor performance of h264 video decoding

Jotto 21 Reputation points

I'm decoding a H264 video stream using Media Foundation. It works, but performance is really poor on both Windows (desktop) and HoloLens 2 (UWP). Decoding a single 1920x1080 frame takes 30 ms on a fairly powerful PC, 100 ms on the HoloLens .

I'm wondering if it's using software rendering instead of hardware rendering. Any idea on how to make sure that I'm doing hardware decoding, or any other hints on how to improve performance?

The code is here:


Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,982 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.3K Reputation points MVP

    QnA currently only supports the products listed in right-hand pane (more to be added). Your post is off topic here. Better to reach out to subject matter experts in dedicated forums over here.


    (please don't forget to mark helpful replies as answer)

    0 comments No comments

0 additional answers

Sort by: Most helpful