python-mpv icon indicating copy to clipboard operation
python-mpv copied to clipboard

can i use python-mpv with Kivy Library ?

Open Goyp95 opened this issue 4 years ago • 3 comments
trafficstars

How to import mpv player to kivy screen, any ideas? winId or winfo_id don't work ..

Goyp95 avatar Aug 03 '21 14:08 Goyp95

If X11 embedding does not work, OpenGL may be an option. Kivy seems to have OpenGL API support. Here is an example of python-mpv embedding using OpenGL. [Here] is another example of python-mpv embedded into imgui via OpenGL, which I think is similar to your use case.

neinseg avatar Aug 05 '21 15:08 neinseg

Hey neinseg, thank for reply but the link [Here] that you gave don't work.

Goyp95 avatar Aug 06 '21 23:08 Goyp95

Hmm, not sure what's up with github there. Here's the target URL:

https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py

neinseg avatar Aug 08 '21 08:08 neinseg

https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py

jaseg avatar Jun 03 '23 16:06 jaseg