Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richasy/mpv-winui
基于 MPV 的 WinUI 播放器
https://github.com/richasy/mpv-winui
Last synced: 21 days ago
JSON representation
基于 MPV 的 WinUI 播放器
- Host: GitHub
- URL: https://github.com/richasy/mpv-winui
- Owner: Richasy
- License: mit
- Created: 2024-08-12T11:56:34.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T09:52:55.000Z (2 months ago)
- Last Synced: 2024-09-18T13:09:40.192Z (2 months ago)
- Language: C#
- Size: 51.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MPV WinUI
This is a test project primarily aimed at integrating libmpv into WinUI3.
After some modifications, libmpv uses OpenGL to render content, while XAML only supports DirectX content. Therefore, the core task is to convert the OpenGL content into DirectX content required by XAML through a swapchain.
Thanks to the insights provided by this article: [[WinUI 3] 如何利用 D3D11 在 SwapChainPanel 控件上绘制 OpenGL(UWP通用)](https://www.cnblogs.com/xymfblogs/p/17218256.html)
Currently, this player core is already used in the [Richasy/Bili.Copilot](https://github.com/Richasy/Bili.Copilot) project.