Poor performance of h264 video decoding

Jotto 21 Reputation points
2020-02-04T16:09:00.733+00:00

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:

https://pastebin.com/r8RwwmFx

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

Accepted answer
  1. Anonymous
    2020-02-04T16:17:19.04+00:00

    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.

    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=mediafoundationdevelopment

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

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.