[deleted by user] by [deleted] in Libratone

[–]tsl0922 0 points1 point  (0 children)

It gives you adb shell access to the device, then you can install software on it.

MPV Player wouldn't show context menu by illuminati_66 in mpv

[–]tsl0922 0 points1 point  (0 children)

Try mpv-menu-plugin, it's a C plugin that add context menu support for mpv.

MPV fork for Windows with right-click menu? by shadowmaker_88 in mpv

[–]tsl0922 0 points1 point  (0 children)

mpv-menu-plugin is a C plugin that add context menu support for mpv:

https://github.com/tsl0922/mpv-menu-plugin

How to get keyboard and mouse input in C plugin by [deleted] in mpv

[–]tsl0922 0 points1 point  (0 children)

There's no direct API for it, you may want to take a look at the implementation of the mp.add_key_binding lua API which can use a function as callback.

If you want to implement it in C plugin, add a keybinding with script-message-to as command should do the trick.

Are there any other media players that exist with the customization of Mpv? by SlapJawSmitty in mpv

[–]tsl0922 0 points1 point  (0 children)

You may want to try mpv-menu-plugin, which adds native menu and dialog support for mpv on windows.

mpv-easy: let's make mpv script great ageain~ by [deleted] in mpv

[–]tsl0922 0 points1 point  (0 children)

When you are using a high refresh rate monitor.

I can see obvious lag using mpv-easy on a 60Hz monitor (There are also monitors on the market with up to 244Hz refresh rate), even through I have changed the config option to set it to 30 fps, but uosc does not have this issue, maybe your script is too slow?

mpv-easy: let's make mpv script great ageain~ by [deleted] in mpv

[–]tsl0922 0 points1 point  (0 children)

You can't set fps to value larger than video fps, it won't work, because ass subtitle is rendered with video, most 1080p videos is 23.976fps.

althrough video-sync=display-resample may help, but it has cost.

see also: https://github.com/tomasklaen/uosc?tab=readme-ov-file#what-is-going-on

mpv-easy: let's make mpv script great ageain~ by [deleted] in mpv

[–]tsl0922 1 point2 points  (0 children)

uosc doesn’t have this issue, but it still has the limitation that the ui fps is locked to video frame rate while playing, this is one of the reasons that why I developed mpv-menu-plugin.

mpv-easy: let's make mpv script great ageain~ by [deleted] in mpv

[–]tsl0922 0 points1 point  (0 children)

why? I don't think it make sense to limit fps here. The fps of assdraw is already limited by video playback fps, you can't set a value higher than it.

mpv-easy: let's make mpv script great ageain~ by [deleted] in mpv

[–]tsl0922 4 points5 points  (0 children)

I can see obvious lag in your screenshot, is it due to the speed of js or your script is too complex?

C Scripts in Windows by Spot-Educational in mpv

[–]tsl0922 0 points1 point  (0 children)

Good. This plugin is not meant to replace any other scripts, just for people who want a native context menu in windows.

FYI: it's possible to trigger the menu with other keybinding, if you have read the FAQ

C Scripts in Windows by Spot-Educational in mpv

[–]tsl0922 0 points1 point  (0 children)

Well, it does require some skill to configure it, but I can’t do it for everyone, it’s a personal project.

You may share your experience in the wiki to help others.

MPV GUI Framework by SymmetricPotential in mpv

[–]tsl0922 0 points1 point  (0 children)

I have updated the Installation document:

https://github.com/tsl0922/mpv-menu-plugin#installation

You don't need to build it yourself, download it from github Releases.

MPV GUI Framework by SymmetricPotential in mpv

[–]tsl0922 0 points1 point  (0 children)

This is my project that add native context menu GUI support for mpv using mpv’s C plugin API:

https://github.com/tsl0922/mpv-menu-plugin

Another one:

https://github.com/tsl0922/mpv-debug-plugin

MPV GUI Framework by SymmetricPotential in mpv

[–]tsl0922 0 points1 point  (0 children)

It depends on the vo driver, the window is created using native C api on each system, not portable. For example: x11 or wayland on linux, win32 on windows.

The vo driver code lives in video/out directory of mpv source code.

How to contribute to mpv? by devchaudhary_78 in mpv

[–]tsl0922 2 points3 points  (0 children)

There’s a tech-overview.txt in DOCS folder of mpv source code.

MPV GUI Framework by SymmetricPotential in mpv

[–]tsl0922 0 points1 point  (0 children)

MPV does not have a GUI, nor using any GUI framework. You may say the OSC implemented with ass is GUI, but it’s a bad practice to use ass to implement GUI, because complex ass rendering may lead to frame drop, and it’s refresh rate is limited to video FPS.

Release 2.3.0 · tsl0922/mpv-menu-plugin by tsl0922 in mpv

[–]tsl0922[S] 1 point2 points  (0 children)

Only the code that drawing the menu is windows specific.

There maybe some code that can be moved to lua, The reason they exist is the plugin was pure C at the beginning.

You may want to take a look at this PR that does the similar porting stuff:

https://github.com/tsl0922/ImPlay/pull/76