-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I find a way to use mpv and opengl in Avalonia #5
Comments
Great. Does it use OpenGL API integration, or what method does it use? Has filenames with OpenGL. That was literally published 6 hours ago. Keep working on it, once you have something that works, I can integrate it into MediaPlayerUI. Did you look at this sample? |
This is my new example https://github.com/Zhou-Pixel/ApvPlayer.git and it uses opengl fbo to render video in Avalonia It seems all events do not work in OpenGlControl so I can only suspend the work |
Looks like it's been quite a lot of work! I won't look at it for some time because I got other priorities at the moment. You might want to check that MPV implementation It's for WinForms/WPF and never got updated to MPV-2 API, but has perhaps a more established and complete API. It seems like what we need is that library but updated for OpenGL support and MPV-2 APIs; either update his library (he was working on a new version that never got published) or develop a whole new library from scratch. For MediaPlayerUI, it would help a lot to separate the MediaPlayer UI integration from the MPV API complexity, so if that's done in a separate library, that's better. |
Someone finally did an OpenGL implementation API |
https://github.com/Zhou-Pixel/AvaloniaWithMpv
It is my example and it still have some problems
The text was updated successfully, but these errors were encountered: