embeddable libmpv (minimalistic)? #16458
rubyFeedback
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using mpv quite a lot; basically for everything related to multimedia.
On my current setup, getting libplacebo was actually a bit difficult, but now it is working again. Wish we could have a super-lean variant of mpv too, such as "core-mpv". Anyway, that's not the main issue here.
I am also using libui-ng, which works on linux (via gtk) and on windows. It's quite small, but the benefit here is that it is super-fast and trivial to get GUIs up and working.
My idea was to also have this in a minimalistic GUI, that basically is just a minimal front-end over mpv. I assume for this I have to embed mpv somehow. I know only very little C, so I am a slow learner, but given enough time, perhaps I can have a minimal mpv on windows (mpv.exe works fine, so mpv works on windows too, I tested this some time ago already).
Do we have something like an embeddable libmpv? Something that we can call API-wise and it would just play a video? Naturally we may have to embed that window in, say, that gtk-widget or whatever libui-ng would be using internally. Has anyone had this idea and perhaps implemented something? Perhaps even in simpler languages such as python, lua or crystal? I am not even sure how to go about this process either. Would current mpv work for this? Is there anyone on the mpv team that has a similar idea, e. g. embedded use of mpv? Could also be for mpv via the browser, for instance. I can play .mp4 files fine but older .avi files I can not play in the browser, but mpv plays it fine on my local system, so the browser is limited, but I don't understand why it is limited if it could, in theory, just shell out to mpv. Anyway these were just some semi-random thoughts I had.
Beta Was this translation helpful? Give feedback.
All reactions