Skip to content

Commit

Permalink
mpv-lazy-20230101
Browse files Browse the repository at this point in the history
  • Loading branch information
hooke007 committed Jan 1, 2023
1 parent fc1ab86 commit 3f68c5b
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 17 deletions.
10 changes: 6 additions & 4 deletions portable_config/mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@
input-conf = "~~/input_uosc.conf"
include = "~~/profiles.conf"
include = "~~/script-opts.conf"
use-filedir-conf = yes
#log-file = "~~desktop/mpv-lazy.log"

########
# 基础 #
########

vo = gpu
gpu-context = d3d11
#vo = gpu-next
#gpu-context = winvk
#d3d11-exclusive-fs = yes
#d3d11-flip = no

hwdec = auto-copy
hwdec-codecs = all
hwdec-codecs = h264,hevc,vp8,vp9,av1,prores

#d3d11-adapter = "NVIDIA GeForce RTX 2070 Super"
#vulkan-device = "NVIDIA GeForce RTX 2070 Super"


########
Expand Down Expand Up @@ -115,7 +117,7 @@
####################

osc = no
#ytdl-raw-options-append = cookies=[D:/cookies.txt]
#ytdl-raw-options-append = cookies-from-browser=edge

#load-scripts = no

Expand Down
7 changes: 5 additions & 2 deletions portable_config/profiles.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/profiles.conf


##############
# 配置预设组 #
##############

[ontop_playback]
profile-desc = 基于播放状态的自动置顶
profile-cond = not pause
#profile-cond = not pause
profile-restore = copy
ontop = yes

Expand All @@ -32,6 +31,10 @@
profile-restore = copy
blend-subtitles = no
#target-peak = 100
#sub-color = 0.7
#sub-border-color = 0.1
#sub-back-color = "#00000000"
#sub-shadow-offset = 0


[HDR_DolbyVision]
Expand Down
33 changes: 22 additions & 11 deletions portable_config/script-opts.conf
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
### https://github.com/hooke007/MPV_lazy/blob/main/portable_config/script-opts.conf

##⇘⇘脚本选项

############
# 脚本选项 #
############

##⇘⇘控制台
##########
# 控制台 #
##########

#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
########
# YTDL #
########

#script-opts-append = ytdl_hook-all_formats=yes
#script-opts-append = ytdl_hook-force_all_formats=no
Expand All @@ -29,28 +33,35 @@
#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-min_duration=30
#script-opts-append = thumbfast-precise=yes
#script-opts-append = thumbfast-hwdec=no


##⇘⇘多功能控制界面
##################
# 多功能控制界面 #
##################

#script-opts-append = uosc-timeline_size_min=0
#script-opts-append = uosc-timeline_size_min_fullscreen=4

#script-opts-append = uosc-autoload=yes


#script-opts-append = uosc-ui_scale=2
#script-opts-append = uosc-click_threshold=1000
script-opts-append = uosc-media_types=aac,ape,avi,dsf,flac,flv,m2ts,m4a,m4v,mka,mkv,mov,mp3,mp4,mpeg,mpg,ogg,ogv,opus,rm,rmvb,ts,vob,wav,webm,wma,wmv,wv
script-opts-append = uosc-media_types=aac,ape,avi,dsf,dts,flac,flv,m2ts,m4a,m4v,mka,mkv,mov,mp3,mp4,mpeg,mpg,ogg,ogv,opus,rm,rmvb,ts,vob,wav,webm,wma,wmv,wv
script-opts-append = uosc-subtitle_types=ass,idx,lrc,mks,pgs,sup,srt,ssa,txt,vtt

script-opts-append = uosc-curtain_opacity=0

0 comments on commit 3f68c5b

Please sign in to comment.