diff --git a/portable_config/input_uosc.conf b/portable_config/input_uosc.conf index ad276e92..e2f366cf 100644 --- a/portable_config/input_uosc.conf +++ b/portable_config/input_uosc.conf @@ -1,5 +1,5 @@ -### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/input.conf -### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/input_uosc.conf +### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/input.conf +### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/input_uosc.conf # script-binding uosc/open-file #! 加载 > ※ 文件浏览器 @@ -16,8 +16,8 @@ , frame-back-step #! 播放 > 上一帧 . frame-step #! 播放 > 下一帧 l ab-loop #! 播放 > 设置/清除 AB循环点 - [ cycle-values speed 2 1 0.8 #! 播放 > 切换 速度 - - ] cycle-values speed 0.8 1 2 #! 播放 > 切换 速度 + + [ cycle-values speed 2 1.5 1.2 1 ; script-message-to uosc flash-elements speed #! 播放 > 切换 速度 - + ] cycle-values speed 1 1.2 1.5 2 ; script-message-to uosc flash-elements speed #! 播放 > 切换 速度 + - no-osd add volume -1 ; script-message-to uosc flash-elements volume #! 播放 > 音量 - = no-osd add volume 1 ; script-message-to uosc flash-elements volume #! 播放 > 音量 + c add audio-delay -0.1 #! 播放 > 音频预载 100ms @@ -27,11 +27,11 @@ Shift+BS set audio-delay 0 ; set sub-delay 0 #! 播放 > 重置 音频与字幕同步 ~ vf clr "" #! VF 滤镜 > 清空 - ! vf set vapoursynth="~~/vs/mvtools_2x.vpy" #! VF 滤镜 > 预设 MVTools_补帧_2x - @ vf set vapoursynth="~~/vs/mvtools_std.vpy" #! VF 滤镜 > 预设 MVTools_补帧_标准 - SHARP vf set vapoursynth="~~/vs/rife_2x.vpy" #! VF 滤镜 > 预设 RIFE_补帧_2x - $ vf set vapoursynth="~~/vs/rife_std.vpy" #! VF 滤镜 > 预设 RIFE_补帧_标准 - % vf set vapoursynth="~~/vs/rife_cuda.vpy" #! VF 滤镜 > 预设 RIFE_补帧_NVIDIA + ! vf set vapoursynth="~~/vs/MEMC_MVT_LQ.vpy" #! VF 滤镜 > 预设 补帧-MVTools_2x + @ vf set vapoursynth="~~/vs/MEMC_MVT_STD.vpy" #! VF 滤镜 > 预设 补帧-MVTools_标准 + SHARP vf set vapoursynth="~~/vs/MEMC_RIFE_STD.vpy" #! VF 滤镜 > 预设 补帧-RIFE_标准 + $ vf set vapoursynth="~~/vs/MEMC_RIFE_NV.vpy" #! VF 滤镜 > 预设 补帧-RIFE_RTX (*) + % vf set vapoursynth="~~/vs/SR_ESRGAN_NV.vpy" #! VF 滤镜 > 预设 超分-ESRGAN_RTX (*) Ctrl+` change-list glsl-shaders clr "" #! 着色器 > 清空 Ctrl+1 change-list glsl-shaders toggle "~~/shaders/KrigBilateral.glsl" #! 着色器 > 开关 Krig @@ -93,15 +93,15 @@ MBTN_LEFT_DBL cycle fullscreen MBTN_RIGHT script-binding uosc/menu MBTN_RIGHT_DBL ignore - Wheel_DOWN no-osd add volume -1 ; script-message-to uosc flash-elements volume - Wheel_UP no-osd add volume 1 ; script-message-to uosc flash-elements volume +#WHEEL_DOWN no-osd add volume -1 ; script-message-to uosc flash-elements volume +#WHEEL_UP no-osd add volume 1 ; script-message-to uosc flash-elements volume ESC set fullscreen no ENTER set fullscreen yes Alt+ENTER cycle fullscreen SPACE cycle pause - UP seek -1 exact - DOWN seek 1 exact + UP set pause yes ; seek -1 exact + DOWN set pause yes ; seek 1 exact LEFT seek -5 RIGHT seek 5 Ctrl+UP playlist-prev diff --git a/portable_config/mpv.conf b/portable_config/mpv.conf index 00a6e3b0..2b148e8d 100644 --- a/portable_config/mpv.conf +++ b/portable_config/mpv.conf @@ -1,4 +1,4 @@ -### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/mpv.conf +### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/mpv.conf input-conf = "~~/input_uosc.conf" @@ -45,7 +45,9 @@ hidpi-window-scale = no demuxer-max-bytes = 1024MiB + icc-cache = yes icc-cache-dir = "~~/_cache/icc" + gpu-shader-cache = yes gpu-shader-cache-dir = "~~/_cache/shader" watch-later-directory = "~~/_cache/watch_later" @@ -91,11 +93,12 @@ #icc-profile-auto = yes #target-prim = display-p3 +#target-trc = gamma2.2 video-sync = display-resample video-sync-max-video-change = 5 interpolation = yes - tscale = linear + tscale = oversample cscale = bilinear scale = spline36 @@ -143,6 +146,8 @@ #sub-shadow-offset = 2 sub-use-margins = yes +#sub-ass-vsfilter-aspect-compat = no + sub-ass-vsfilter-blur-compat = no #sub-ass-override = force #sub-ass-scale-with-window = yes sub-ass-force-margins = yes diff --git a/portable_config/profiles.conf b/portable_config/profiles.conf index b272fb01..de0e5737 100644 --- a/portable_config/profiles.conf +++ b/portable_config/profiles.conf @@ -1,4 +1,4 @@ -### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/profiles.conf +### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/profiles.conf ############## # 配置预设组 # @@ -13,8 +13,8 @@ ## https://github.com/mpv-player/mpv/issues/11122 [vsync_auto] - profile-desc = 基于刷新率的同步模式 - profile-cond = p.display_fps>122 + profile-desc = 基于刷新率或帧率的同步模式 + profile-cond = p.display_fps>122 or p.container_fps>32 profile-restore = copy interpolation = no video-sync = audio @@ -48,7 +48,7 @@ [HDR_DolbyVision] profile-desc = hdr杜比视界 - profile-cond = filename:match("%.DoVi")~=nil + profile-cond = filename:match("%.DoVi") profile-restore = copy vo = gpu-next hdr-compute-peak = no diff --git a/portable_config/script-opts.conf b/portable_config/script-opts.conf index d62ad56f..f0057aa5 100644 --- a/portable_config/script-opts.conf +++ b/portable_config/script-opts.conf @@ -1,4 +1,4 @@ -### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/script-opts.conf +### 文档_ https://github.com/hooke007/MPV_lazy/blob/main/portable_config/script-opts.conf ##⇘⇘脚本选项 @@ -7,9 +7,9 @@ # 控制台 # ########## -#script-opts-append = console-scale=1.2 - script-opts-append = console-font=Ubuntu Mono - script-opts-append = console-font_size=20 + script-opts-append = console-scale=1.5 +#script-opts-append = console-font=Ubuntu Mono +#script-opts-append = console-font_size=24 ############ @@ -26,8 +26,9 @@ # YTDL # ######## -#script-opts-append = ytdl_hook-all_formats=yes -#script-opts-append = ytdl_hook-force_all_formats=no +#script-opts-append = ytdl_hook-try_ytdl_first=yes + +#script-opts-append = ytdl_hook-exclude="%.avi$|%.flv$|%.m3u$|%.m3u8$|%.m4v$|%.mkv$|%.mp4$|%.ts$|%.VOB$|%.webm$|%.wmv$" #script-opts-append = ytdl_hook-use_manifests=yes #script-opts-append = ytdl_path=youtube-dl @@ -37,17 +38,24 @@ # 保存全局属性并恢复 # ###################### +#script-opts-append = save_global_props-save_mode=0 script-opts-append = save_global_props-props=volume,glsl-shaders -#script-opts-append = save_global_props-cache_dir=~~/ +#script-opts-append = save_global_props-cache_dir=~~/_cache/ ################ # 新缩略图引擎 # ################ - script-opts-append = thumbfast-min_duration=30 -#script-opts-append = thumbfast-precise=yes +#script-opts-append = thumbfast-max_height=400 +#script-opts-append = thumbfast-max_width=400 + +#script-opts-append = thumbfast-precise=1 +#script-opts-append = thumbfast-quality=2 +#script-opts-append = thumbfast-sw_threads=1 #script-opts-append = thumbfast-hwdec=no +#script-opts-append = thumbfast-network=yes + script-opts-append = thumbfast-min_duration=30 ################## @@ -57,7 +65,10 @@ #script-opts-append = uosc-timeline_size_min=0 #script-opts-append = uosc-timeline_size_min_fullscreen=4 +#script-opts-append = uosc-controls=menu,ST-stats_tog + #script-opts-append = uosc-autoload=yes +#script-opts-append = uosc-autoload_types=video,audio #script-opts-append = uosc-ui_scale=2 #script-opts-append = uosc-click_threshold=1000 @@ -68,3 +79,7 @@ script-opts-append = uosc-subtitle_types=ass,idx,lrc,mks,pgs,sup,srt,ssa,txt,vtt script-opts-append = uosc-curtain_opacity=0 + +#script-opts-append = uosc-default_directory=D:\Videos + + script-opts-append = uosc-idlemsg=mpv-lazy diff --git a/portable_config/fonts/UbuntuMono-Regular.ttf b/portable_config/vs/MEMC_MVT_LQ.vpy similarity index 100% rename from portable_config/fonts/UbuntuMono-Regular.ttf rename to portable_config/vs/MEMC_MVT_LQ.vpy diff --git a/portable_config/vs/mvtools_2x.vpy b/portable_config/vs/MEMC_MVT_STD.vpy similarity index 100% rename from portable_config/vs/mvtools_2x.vpy rename to portable_config/vs/MEMC_MVT_STD.vpy diff --git a/portable_config/vs/mvtools_Pot.vpy b/portable_config/vs/MEMC_RIFE_STD.vpy similarity index 100% rename from portable_config/vs/mvtools_Pot.vpy rename to portable_config/vs/MEMC_RIFE_STD.vpy diff --git a/portable_config/vs/mvtools_std.vpy b/portable_config/vs/mvtools_std.vpy deleted file mode 100644 index e69de29b..00000000 diff --git a/portable_config/vs/rife_2x.vpy b/portable_config/vs/rife_2x.vpy deleted file mode 100644 index e69de29b..00000000 diff --git a/portable_config/vs/rife_std.vpy b/portable_config/vs/rife_std.vpy deleted file mode 100644 index e69de29b..00000000