Is it posible to pass video frames into DirectX?

Topics: Windows 8 Xaml
Apr 13, 2015 at 6:46 AM
Edited Apr 13, 2015 at 6:47 AM
Hi All,

I have been working on a project. I have two monitor one for Controller scenario and other out put to Projector scenario.

As you know the one that output to Project no XAML control or any UI element(only a MediaPlayer). I am using following architecture

https://code.msdn.microsoft.com/windowsapps/Multiple-Views-Sample-2582fcf3

In my experience, running two MediaPlayer are completely overhead. Sync two MediaPlay is no problem. However, the most important problem is that, it is not sync exactly

We have completely two UI Thread, I would say two application. If there's a way to accomplish some thing like Visual Brush that would helpful.

https://msdn.microsoft.com/en-us/library/aa969770(v=vs.110).aspx

or if there's a way for me to pass the video's content to DirectX 11 then render that video frame and send it back to C#. Please let me know.

I have a plan to use C++/CX, C# and XAML.

I can use Media Foundation but, there's lot of work for me to do and the video file is Live Streaming so that the MF doesn't support

Please help

Thanks and Best Regards,
Weera