v20260405
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- https://github.com/mpv-player/mpv/blob/266cb79f38fd1a5fd448b453dee5971795a145ca/player/lua/osc.lua | |
| local assdraw = require 'mp.assdraw' | |
| local msg = require 'mp.msg' | |
| local opt = require 'mp.options' | |
| -- === thumbnail request example codes ===>> | |
| local utils = require 'mp.utils' | |
| -- === thumbnail request example codes ===<< |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 在鼠标光标位置绘制一个圆形 | |
| //!PARAM mouse_x | |
| //!TYPE DYNAMIC float | |
| //!MINIMUM 0 | |
| //!MAXIMUM 99999 | |
| 0.0 | |
| //!PARAM mouse_y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Holy's ported AviSynth functions for VapourSynth. | |
| Main functions: | |
| daa | |
| daa3mod | |
| mcdaa3 | |
| santiag | |
| FixChromaBleedingMod | |
| Deblock_QED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local assdraw = require "mp.assdraw" | |
| local usr_bars = "brightness,contrast,gamma,saturation,hue," | |
| local enabled = false | |
| local active_bars = {} | |
| local bar_being_dragged = nil | |
| local stale = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| 文档_ 无 | |
| 强制自动刷新mpv的overlay | |
| 可用的快捷键示例(在 input.conf 中写入): | |
| <KEY> script-message F5-timer stop # 停止刷新 | |
| <KEY> script-message F5-timer resume # 恢复刷新 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| SOURCE_ https://github.com/wiiaboo/mpv-scripts/blob/master/audio-balance.lua | |
| COMMIT_ 20220811 03cfc0e39682a73d9d24a6e01a3c02716a019d1d | |
| 声道平衡 | |
| 立体声使用的是仅削弱单边的逻辑,但多声道仍沿用了原设计(存在问题)中的混合思路 | |
| 示例在 input.conf 中写入 : | |
| Ctrl+A script-binding audio_balance/bal2l # 平衡偏左(步进1%,按住可持续触发) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| 依赖的前置脚本: https://github.com/hooke007/MPV_lazy/tree/main/portable_config/scripts/uosc | |
| 用于: | |
| 实时简易快速切换 --cscale --scale --dscale --tscale 的各值 | |
| 快速预览各用户着色器(仅解析 `~~/shaders/` 目录) | |
| input.conf 示例: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| -- 旧实现和 https://github.com/mpv-player/mpv/issues/11541 的问题一致 | |
| function check_achannels() | |
| local channel_count = mp.get_property_number("audio-params/channel-count") | |
| if channel_count and channel_count > 2 then | |
| mp.commandv("af", "pre", "@vocal:loudnorm") | |
| else | |
| mp.commandv("af", "remove", "@vocal") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###匹配版本 https://github.com/mpv-player/mpv/blob/828dd65ef84b4d8e95e70752b9eb0833909d1d23/TOOLS/lua/autoload.lua | |
| ###不支持参数后注释,须另起一行 | |
| ##是否禁用所有自动加载相关功能,默认:no | |
| #disabled=yes | |
| ##是否自动加载当前目录(不含子目录)所有图片(视频、音频)到播放列表,默认:yes | |
| images=no | |
| #videos=no | |
| audio=no |
NewerOlder