-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5ebf3f7
Showing
35 changed files
with
338 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.bat linguist-language=Batchfile | ||
*.glsl linguist-language=GLSL | ||
*.hook linguist-language=GLSL | ||
*.html linguist-language=HTML | ||
*.conf linguist-language=INI | ||
*.lua linguist-language=Lua | ||
*.md linguist-language=Markdown | ||
*.vpy linguist-language=Python |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# mpv播放器折腾记录 | ||
|
||
## 简介 | ||
|
||
此分支仅用于存储个人设置(除conf外都是空白占位的伪文件,请前往主分支获取对应的真实文件) | ||
|
||
如需完整的参数和注释应切换到 [**main**](https://github.com/hooke007/MPV_lazy/tree/main) 分支查看 | ||
如需参考或对比旧版本应切换到 [**obs**](https://github.com/hooke007/MPV_lazy/tree/obs) 分支查看 | ||
|
||
## 预览 | ||
|
||
![](Temp/mpv-lazy-lite.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
### UOSC界面的专属定制快捷键方案,无法直接用于普通mpv | ||
|
||
# script-binding uosc/open-file #! 加载 > ※ 文件浏览器 | ||
# script-binding uosc/load-subtitles #! 加载 > ※ 导入 字幕轨 | ||
|
||
# script-binding uosc/playlist #! 导航 > ※ 播放列表 | ||
# script-binding uosc/chapters #! 导航 > ※ 章节列表 | ||
# script-binding uosc/video #! 导航 > ※ 视频轨列表 | ||
# script-binding uosc/audio #! 导航 > ※ 音频轨列表 | ||
# script-binding uosc/subtitles #! 导航 > ※ 字幕轨列表 | ||
# playlist-shuffle #! 导航 > 播放列表乱序重排 | ||
|
||
, frame-back-step #! 播放 > 上一帧 | ||
. frame-step #! 播放 > 下一帧 | ||
l ab-loop #! 播放 > 设置/清除 AB循环点 | ||
c add audio-delay -0.1 #! 播放 > 音频预载 100ms | ||
v add audio-delay 0.1 #! 播放 > 音频延迟 100ms | ||
z add sub-delay -0.1 #! 播放 > 字幕预载 100ms | ||
x add sub-delay +0.1 #! 播放 > 字幕延迟 100ms | ||
SHIFT+BS set audio-delay 0 ; set sub-delay 0 #! 播放 > 重置 音频与字幕同步 | ||
|
||
# vf clr "" #! VF 滤镜 > 清空 | ||
! vf set vapoursynth="~~/vs/rife-2x.vpy" #! VF 滤镜 > 预设 RIFE倍帧 | ||
@ vf set vapoursynth="~~/vs/rife-std.vpy" #! VF 滤镜 > 预设 RIFE标准 | ||
|
||
# change-list glsl-shaders clr "" #! 着色器 > 清空 | ||
CTRL+1 change-list glsl-shaders toggle "~~/shaders/AMD-FSR-EASU_rgb.glsl" #! 着色器 > 开关 FSR_EASU_后 | ||
CTRL+2 change-list glsl-shaders toggle "~~/shaders/Anime4K_Restore_CNN_L.glsl" #! 着色器 > 开关 A4K_重建_CNN_L | ||
CTRL+4 change-list glsl-shaders toggle "~~/shaders/Anime4K_Upscale_GAN_x2_M.glsl" #! 着色器 > 开关 A4K_放大_GAN_M | ||
CTRL+3 change-list glsl-shaders toggle "~~/shaders/adaptive-sharpen.glsl" #! 着色器 > 开关 自适应锐化_后 | ||
CTRL+5 change-list glsl-shaders toggle "~~/shaders/KrigBilateral.glsl" #! 着色器 > 开关 Krig | ||
CTRL+6 change-list glsl-shaders toggle "~~/shaders/FSRCNNX_x2_16-0-4-1.glsl" #! 着色器 > 开关 FSRCNNX_16 | ||
|
||
# screenshot window #! 截屏 当前画面 | ||
|
||
# cycle-values hwdec "auto" "auto-copy" "no" #! 视频 > 切换 解码模式 | ||
# cycle deband #! 视频 > 切换 去色带状态 | ||
# cycle deinterlace #! 视频 > 切换 去隔行状态 | ||
# cycle icc-profile-auto #! 视频 > 切换 自动校色 | ||
# cycle correct-pts #! 视频 > 切换 时间码解析模式 | ||
1 add contrast -1 #! 视频 > 均衡器 > 对比度 - | ||
2 add contrast 1 #! 视频 > 均衡器 > 对比度 + | ||
3 add brightness -1 #! 视频 > 均衡器 > 明度 - | ||
4 add brightness 1 #! 视频 > 均衡器 > 明度 + | ||
5 add gamma -1 #! 视频 > 均衡器 > 伽马 - | ||
6 add gamma 1 #! 视频 > 均衡器 > 伽马 + | ||
7 add saturation -1 #! 视频 > 均衡器 > 饱和度/纯度 - | ||
8 add saturation 1 #! 视频 > 均衡器 > 饱和度/纯度 + | ||
9 add hue -1 #! 视频 > 均衡器 > 色相 - | ||
0 add hue 1 #! 视频 > 均衡器 > 色相 + | ||
CTRL+BS set contrast 0 ; set brightness 0 ; set gamma 0 ; set saturation 0 ; set hue 0 #! 视频 > 均衡器 > 重置 全部 | ||
|
||
I script-binding stats/display-stats-toggle #! 工具 > 常驻显示统计信息 | ||
` script-binding console/enable #! 工具 > 显示控制台 | ||
CTRL+r script-message-to save_global_props clean_data #! 工具 > 清除已记录的属性值 | ||
# cycle border #! 工具 > 切换 窗口边框 | ||
# cycle ontop #! 工具 > 切换 窗口置顶 | ||
# script-binding uosc/audio-device #! 工具 > ※ 音频输出设备列表 | ||
# script-binding uosc/stream-quality #! 工具 > ※ 流式传输品质 | ||
# script-binding uosc/show-in-directory #! 工具 > ※ 打开 当前文件所在路径 | ||
# script-binding uosc/open-config-directory #! 工具 > ※ 打开 设置目录 | ||
|
||
# stop #! 停止 | ||
# quit #! 退出mpv | ||
|
||
|
||
### ====================== 不映射菜单 ====================== | ||
|
||
POWER quit | ||
PLAY set pause no | ||
PAUSE set pause yes | ||
PLAYPAUSE cycle pause | ||
STOP stop | ||
REWIND seek -30 | ||
FORWARD seek 30 | ||
PREV playlist-prev | ||
NEXT playlist-next | ||
|
||
MBTN_BACK playlist-prev | ||
MBTN_FORWARD playlist-next | ||
MBTN_LEFT ignore | ||
MBTN_LEFT_DBL cycle fullscreen | ||
MBTN_RIGHT script-binding uosc/menu | ||
MBTN_RIGHT_DBL ignore | ||
Wheel_DOWN add volume -1 | ||
Wheel_UP add volume 1 | ||
|
||
ESC set fullscreen no | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/mpv.conf | ||
|
||
input-conf = "~~/input_uosc.conf" | ||
include = "~~/profiles.conf" | ||
include = "~~/script-opts.conf" | ||
#log-file = "~~desktop/mpv-lazy.log" | ||
|
||
######## | ||
# 基础 # | ||
######## | ||
|
||
vo = gpu | ||
gpu-context = d3d11 | ||
#d3d11-exclusive-fs = yes | ||
#d3d11-flip = no | ||
|
||
hwdec = auto-copy | ||
hwdec-codecs = all | ||
|
||
#d3d11-adapter = "NVIDIA GeForce RTX 2070 Super" | ||
|
||
|
||
######## | ||
# 功能 # | ||
######## | ||
|
||
idle = yes | ||
#input-ipc-server = mpvpipe | ||
input-builtin-bindings = no | ||
#pause = yes | ||
|
||
hr-seek-framedrop = no | ||
save-position-on-quit = yes | ||
watch-later-options = vid,aid,sid | ||
|
||
keep-open = yes | ||
ontop = yes | ||
#border = no | ||
autofit-smaller = 40%x40% | ||
keepaspect-window = no | ||
hidpi-window-scale = no | ||
|
||
demuxer-max-bytes = 1024MiB | ||
icc-cache-dir = "~~/_cache/icc" | ||
gpu-shader-cache-dir = "~~/_cache/shader" | ||
watch-later-directory = "~~/_cache/watch_later" | ||
|
||
|
||
####### | ||
# OSD # | ||
####### | ||
|
||
osd-on-seek = msg | ||
osd-blur = 0 | ||
osd-bar-w = 100 | ||
osd-bar-h = 1 | ||
osd-bar-align-y = -1 | ||
osd-color = "#B300FFFF" | ||
osd-border-color = "#B3008B8B" | ||
osd-border-size = 1 | ||
osd-font-size = 40 | ||
osd-fractions = yes | ||
osd-playing-msg = "${filename}" | ||
osd-duration = 2000 | ||
osd-playing-msg-duration = 3000 | ||
|
||
|
||
######## | ||
# 音频 # | ||
######## | ||
|
||
ao = wasapi | ||
#audio-device = "wasapi/{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" | ||
#audio-exclusive = yes | ||
|
||
volume = 100 | ||
volume-max = 130 | ||
audio-channels = stereo | ||
ad-lavc-downmix = yes | ||
alang = chs,sc,zh,chi,zho | ||
audio-file-auto = fuzzy | ||
|
||
|
||
######## | ||
# 视频 # | ||
######## | ||
|
||
#icc-profile-auto = yes | ||
|
||
#target-prim = display-p3 | ||
|
||
video-sync = display-resample | ||
video-sync-max-video-change = 5 | ||
interpolation = yes | ||
tscale = linear | ||
|
||
cscale = bilinear | ||
scale = spline36 | ||
dscale = spline36 | ||
#sigmoid-upscaling = yes | ||
#correct-downscaling = yes | ||
|
||
#dither-depth = 8 | ||
#dither = error-diffusion | ||
#deband = yes | ||
|
||
|
||
#################### | ||
# 脚本 滤镜 着色器 # | ||
#################### | ||
|
||
osc = no | ||
#ytdl-raw-options-append = cookies=[D:/cookies.txt] | ||
|
||
#load-scripts = no | ||
|
||
glsl-shaders-append = "~~/shaders/AMD-FSR-EASU_rgb.glsl" | ||
|
||
|
||
######## | ||
# 字幕 # | ||
######## | ||
|
||
sub-auto = fuzzy | ||
sub-file-paths = sub;subtitles | ||
slang = chs,sc,zh,chi,zho | ||
#blend-subtitles = video | ||
|
||
sub-codepage = utf-8 | ||
sub-font = "LXGW WenKai Mono" | ||
sub-font-size = 58 | ||
#sub-scale-with-window = no | ||
sub-color = "#FFFF00" | ||
sub-back-color = "#641C1C1C" | ||
sub-shadow-offset = -2 | ||
sub-use-margins = yes | ||
|
||
#sub-ass-override = force | ||
#sub-ass-scale-with-window = yes | ||
sub-ass-force-margins = yes | ||
#sub-ass-force-style = Fontname=LXGW WenKai Mono | ||
|
||
#stretch-image-subs-to-screen = yes | ||
#image-subs-video-resolution = yes | ||
|
||
|
||
######## | ||
# 截图 # | ||
######## | ||
|
||
screenshot-format = png | ||
|
||
screenshot-jpeg-quality = 100 | ||
#screenshot-jpeg-source-chroma = no | ||
screenshot-webp-lossless = yes | ||
screenshot-webp-compression = 0 | ||
screenshot-jxl-distance = 0 | ||
|
||
#screenshot-tag-colorspace = yes | ||
screenshot-high-bit-depth = no | ||
screenshot-template = "~~desktop/MPV-%P-N%n" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
############## | ||
# 配置预设组 # | ||
############## | ||
|
||
[ontop_playback] | ||
profile-cond = pause | ||
profile-restore = copy | ||
ontop = no | ||
|
||
|
||
[HDR] | ||
profile-cond = p["video-params/sig-peak"]>1 | ||
profile-restore = copy | ||
blend-subtitles = no | ||
#target-peak = 100 | ||
#tone-mapping = bt.2390 | ||
tone-mapping-mode = hybrid | ||
gamut-mapping-mode = clip | ||
|
||
|
||
[Dolby_Vision] | ||
profile-cond = filename:match("%.DV.mkv")~=nil | ||
profile-restore = copy | ||
vo = gpu-next |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
############ | ||
# 脚本选项 # | ||
############ | ||
|
||
##⇘⇘控制台 | ||
|
||
#script-opts-append = console-scale=1.2 | ||
script-opts-append = console-font=Ubuntu Mono | ||
script-opts-append = console-font_size=20 | ||
|
||
|
||
##⇘⇘统计数据 | ||
|
||
script-opts-append = stats-duration=2 | ||
script-opts-append = stats-redraw_delay=0.5 | ||
script-opts-append = stats-persistent_overlay=yes | ||
script-opts-append = stats-filter_params_max_length=1 | ||
|
||
|
||
##⇘⇘YTDL | ||
|
||
#script-opts-append = ytdl_hook-all_formats=yes | ||
#script-opts-append = ytdl_hook-force_all_formats=no | ||
#script-opts-append = ytdl_hook-use_manifests=yes | ||
|
||
#script-opts-append = ytdl_path=youtube-dl | ||
|
||
|
||
##⇘⇘保存全局属性并恢复 | ||
|
||
script-opts-append = save_global_props-props=volume,glsl-shaders | ||
script-opts-append = save_global_props-cache_dir=~~/ | ||
|
||
|
||
##⇘⇘新缩略图引擎 | ||
|
||
script-opts-append = thumbfast-max_height=240 | ||
script-opts-append = thumbfast-max_width=240 | ||
#script-opts-append = thumbfast-max_thumbs=33120 | ||
|
||
#script-opts-append = thumbfast-precise=no | ||
#script-opts-append = thumbfast-hwdec=no |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.