0dist / oscc Goto Github PK
View Code? Open in Web Editor NEWDark-themed interface for the mpv player
Dark-themed interface for the mpv player
~/.config $ mpv -version
mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
FFmpeg library versions:
libavutil 57.28.100
libavcodec 59.37.100
libavformat 59.27.100
libswscale 6.7.100
libavfilter 8.44.100
libswresample 4.7.100
FFmpeg version: 5.1.3
~/.config $ tree mpv
mpv
├── fonts
│ └── oscc.ttf
├── mpv.conf
├── osc.conf
└── scripts
└── oscc.lua
I assume that deadzonesize
is supposed to have the same effect as script-opts=osc-deadzonesize
would in mpv.conf.
but if i change that number, be that to 1 or 100, nothing actually changes, the osd shows up whenever the mouse cursor is within the mpv window at all no matter where (whereas if it is indeed supposed to be the same, then setting it to 1 should map it so the osc only shows if the mouse would be hovering over it, at least vertically speaking)
Mplug is like a package manager but for mpv scripts.
Please add your script there (if already not there) and also installation instructions in manifest - https://github.com/Nudin/mpv-script-directory/blob/master/HOWTO_ADD_INSTALL_INSTRUCTIONS.md
The default behavior for osc in mpv is to only show when mouse is moving within deadzone (the deadzone is just by default the entire lower half of the window)
Oscc however always shows the osc whenever the mouse moves within the mpv window regardless of what the deadzone is set to.
I would like to make oscc only show up when the mouse is in the deadzone like the default mpv osc, but how do I do that? I don't see any options for it.
The message in the title is what pops up at the very first line of mpv when playing any file or stream and it is due to a change in mpv 0.37. Unfortunately, I do not have the knowledge to fix it, but some other (forks of) osc scripts have already done it, e.g.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.