mpvnet-player / mpv.net

🎞 mpv.net is a media player for Windows with a modern GUI.
GNU General Public License v2.0
3.44k stars 162 forks source link

State of mpv.net development #527

Open stax76 opened 1 year ago

stax76 commented 1 year ago

I'm working on larger changes here:

https://github.com/mpvnet-player/mpv.net-experimental

rollingmoai commented 1 year ago

You might want to have a look at https://github.com/tsl0922/ImPlay, a new cross-platform mpv GUI.

Ping @tsl0922

stax76 commented 1 year ago

I tried ImPlay some days ago and added it to awesome-mpv, it probably was the first Dear ImGui app I've tried/used/seen.

Today, I installed JetBrains Rider and applied for an open source license, so there is some slow progress.

tsl0922 commented 1 year ago

Thanks for recommending ImPlay. It's a new attempt to create a cross platform mpv gui.

I posted it to mpv issues when I started it, at the very early stage of the development progress. It does not even work good on linux and macOS at that time (I develop ImPlay on windows with msys2 and vscode).

The main issue for libmpv app using OpenGL API is: OpenGL is not as fast as directx on windows, and apple deprecates OpenGL. Yes there is --wid, I tried it, but have not found a good way to render imgui with OpenGL on top of a window with another render method (eg: directx), maybe always render in a new overlay window is a good idea.

candrapersada commented 1 year ago

will there be flatpak support on Linux?

stax76 commented 1 year ago

will there be flatpak support on Linux?

Probably yes if it works well.

I've created a first hello world app with AvaloniaUI and noticed slow startup, so I measured it and got 1 second as result. For most types of apps, that's totally fine, but some types of apps need to start faster, like a text editor or video player, because these types of apps are possibly started dozens of times per day by some users. It was pointed out to me that the next AvaloniaUI version will have greatly improved startup performance, which I will certainly try.

tsl0922 commented 1 year ago

Good news for libmpv OpenGL rendering on windows:

I found that using translation layer like ANGLE on windows will improve render performance greatly, because ANGLE translated OpenGL API to D3D 9/11.

[libmpv_render] GL_VERSION='OpenGL ES 3.0.0 (ANGLE 2.1.20194 git hash: 6c41793f39e5)'
[libmpv_render] Detected GLES 3.0.
[libmpv_render] GL_VENDOR='Google Inc. (AMD)'
[libmpv_render] GL_RENDERER='ANGLE (AMD, Radeon RX 580 Series Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.12027.7000)'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.20194 git hash: 6c41793f39e5)'
megapro17 commented 1 year ago

You might want to have a look at tsl0922/ImPlay, a new cross-platform mpv GUI.

Holy shit it's ugly

aicynide commented 1 year ago

You might want to have a look at tsl0922/ImPlay, a new cross-platform mpv GUI.

Holy shit it's ugly

Your mom

aicynide commented 1 year ago

I started developing a cross-platform successor of mpv.net here:

https://github.com/mpvnet-player/mpv-gui

Please support android also. And add bluray/dvd menu support

stax76 commented 1 year ago

Sadly I have to announce that I discontinue programming due to progressing chronic illness, nerve pain, back pain and insomnia caused by:

https://www.wikiwand.com/en/Fibromyalgia

https://www.wikiwand.com/en/Chronic_fatigue_syndrome

https://www.wikiwand.com/en/Post-exertional_malaise

There is a chance that the condition improves, and I can continue, otherwise I will focus to improve my health and make the best out of it.

TheBestPessimist commented 1 year ago

Take as long as you need to get better @stax76 !

One thing which helps me is to go to the swimming pool. Physical fatigue helps with mental fatigue too. (it sounds weird, i know). So if you dont regularly exercise, consider going 4 days a week to the swimming pool for 1 hour. You don't need to go hard at the start, just go and swim around.

Good luck!

stax76 commented 1 year ago

I wasn't swimming since a while and definitely should go soon. Thanks!

megapro17 commented 1 year ago

I hope that you will be able to recover, I wish you a good health, your applications are very valuable.

ghost commented 1 year ago

Best regards on your recovery!

stax76 commented 1 year ago

Thanks, I took a timeout, did some running and got into practicing spirituality and meditation. But having not much to do got me too depressed, so back working on the software again.

TheBestPessimist commented 1 year ago

Hey @stax76, welcome back. Me, and everybody else here hope you're feeling better 🎉 .

I'm happy you returned to development, but please, if you feel like you're working too hard, don't push it. I'd say you should especially not give your 100% right from the start. Better start with medium dedication, else the situation might reverse back to unpleasant. Mental health (and physical for that matter) is not an easy topic and what works for one person might make it worse for the other.

Take care.

Nriver commented 1 year ago

Best news of this month. Welcome back.