microsoft/Windows-classic-samples

MFPlayer2 crashes on nVidia GPU

battlegoat opened this issue · 3 comments

Playing any MP4 video on MFPlayer2 results in a crash in the d3d9.dll when selecting PLAY. Intel and AMD video plays fine.

In creating another set of basic test code using MFPCreateMediaPlayer() function it also crashes. Tests were done on three different systems on Windows 10, using local file MP4 and web url MP4 content.

Is there a workaround to allow MFPlayer (and Media Foundation Player in general) to function on nVidia GPUs?

This does not appear to be a question about a sample in this repo. You can follow the instructions on Windows developer support for support options. (Click "Forums and community".)

Haha - yes, it IS a sample in this repo... here is the path:
Windows-classic-samples / Samples / Win7Samples / multimedia / mediafoundation / MFPlayer2

This is the Media Foundation Player sample as referenced in the Microsoft MF docs.
In further testing, the sample crashes on most nVidia GPU systems, but not all. (3 out of 4 tested). Silent crash, no Windows crash dialog.

Windows-classic-samples/Samples/Win7Samples/multimedia/mediafoundation/MFPlayer2/

Okay, thanks for clarifying.