An usual way is with a SwapChainPanel, like in this sample : WinAppSDK-MediaPlayer
You can see this doc for DirectX/XAML : DirectX and XAML interop
Render Video from raw frames on WASDK
Hi,
My project is using wasdk c# (winUI3), I have video frame sequences returned by event and I need to render each frame on the view to display as a video (30 to 100 fps).
My current solution is use Image Control and WriteableBitmap, but I wonder that is it based on DirectX?
If not, how can I use directX for above problem since I heard that directX give the best performance?
Thank you.
Windows development | Windows App SDK
Answer accepted by question author
1 additional answer
Sort by: Most helpful
-
Khoa Bui 56 Reputation points
2022-04-27T05:06:31.627+00:00 SwapChainPanel is good way to go, but I just found sample in c++/WinRT
Is there anything related to use with c#?, and also I use mvvm pattern, so, is it supported for binding type or just code-behind?