How might one embed MPV into a DearPyGui interface?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • - Download’s Tech Salary Report
  • imgui_glfw_pythonmpv_demo

    Minimal video playback ui using imgui+glfw and the python mpv render context API to render to a FBO

    I was hoping that since this example works, it should also work with Dear PyGui (as it also uses GLFW for window and OpenGL context). I haven't investigated that yet, but if you did, then it's sad news.

  • python-mpv

    Python interface to the awesome mpv media player

    I've stumbled upon this library: Likely that is the way, but from quick evaluation I discovered that it fails for me on Mac OS. Other platforms are seemingly fine, so if you target Windows or GNU/Linux, it will probably suit you.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts