Media Foundation DX11 Presenter: Testing RRS feed

  • Question

  • Re: http://code.msdn.microsoft.com/windowsdesktop/DirectX-11-Video-Renderer-0e749100

    Hi guys,

    Firstly some comments on the docs  :

    1. The page states :

    "Note  This sample requires Microsoft Visual Studio Ultimate 2012 and will not build in Microsoft Visual Studio Express 2012 for Windows 8"

    Yeah it will. I just built it using vs2010 express. Just need to point the compiler at the win 8 SDK which you must download & install of course. You may also need to switch the runtime from v110 to v100. (required for vs 2010 express)

    2. The docs also state that to run the sample you run the .exe the compiler generates. It doesn't generate an exe, it generates a presenter .dll. So you can probably run it from one of the media foundation player sample apps that look for a presenter.

    Please explain how to test this presenter. It's likely similar to the earlier DX9 equivalent.

    Best regards,

    Monday, October 14, 2013 10:35 AM

All replies

  • (1) I believe the page is trying to say that it will not build in the version of Visual Studio express for Windows store apps.  There is a separate version of Visual Studio 2012 Express called 'Express 2102 for Windows Desktop' that should build this sample just fine.

    (2) This sample generates a COM dll that can used to create a media sink by CLSID.  Unfortunately, there is no app that will do this by default.  You would need to register the DX11 renderer dll and modify an existing sample to create the DX11 renderer by CLSID.  TopoEdit allows insertion of a media sink by CLSID if you just want to give it a try.

    Wednesday, October 30, 2013 7:23 PM