Update config

This commit is contained in:
Alex D. 2021-04-08 04:01:38 +00:00
parent b4a09a006e
commit 4ce2b3a650
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 58 additions and 37 deletions

View File

@ -1,59 +1,79 @@
# Video
vo=gpu vo=gpu
vd=vo hwdec=auto-copy
ao=pulse video-output-levels=full
video-sync=display-resample-vdrop video-sync=display-resample
scale=ewa_lanczossharp
deband=yes deband=yes
#deinterlace=yes deband-iterations=3
deband-threshold=45
deband-range=25
deband-grain=15
correct-downscaling=yes
sigmoid-upscaling=yes
scale=ewa_lanczossharp
dscale=mitchell
cscale=ewa_lanczossoft
fbo-format=rgba32f
icc-profile-auto
#dither=error-diffusion
#dither-depth=auto
#error-diffusion=floyd-steinberg
# Audio
ao=pulse
# Youtube-DL
ytdl-format=bestvideo[height<=?1080][fps>=?60]+bestaudio/bestvideo[height<=?1080]+bestaudio/best ytdl-format=bestvideo[height<=?1080][fps>=?60]+bestaudio/bestvideo[height<=?1080]+bestaudio/best
script-opts=ytdl_hook-all_formats=yes,ytdl_hook-use_manifests=yes
# Languages/Tracks
slang=enm,en,eng,de,deu,ger slang=enm,en,eng,de,deu,ger
alang=ja,jp,jpn,en,eng,de,deu,ger alang=en,eng,de,deu,ger
# OSD
osd-fractions=yes
osd-font-size=18
osd-border-size=1
osd-font='Roboto'
term-osd-bar=yes
term-osd-bar-chars=[=>-]
msg-color=yes
# Screenshots
screenshot-format=png
screenshot-png-compression=8
screenshot-template='/tmp/%F (%P) %n'
# Caching
cache=yes
demuxer-max-bytes=400M
demuxer-max-back-bytes=100M
demuxer-lavf-analyzeduration=1
# Misc
rebase-start-time=no rebase-start-time=no
save-position-on-quit=yes save-position-on-quit=yes
force-window=no force-window=no
fullscreen=no fullscreen=no
cursor-autohide=1000 cursor-autohide=1000
prefetch-playlist=yes prefetch-playlist=yes
osd-fractions
osd-font-size=18
osd-border-size=1
osd-font='Roboto'
screenshot-format=png
screenshot-png-compression=8
screenshot-template='/tmp/%F (%P) %n'
cache=yes
cache-secs=360
demuxer-max-bytes=100M
demuxer-lavf-analyzeduration=0.1
demuxer-thread=yes
image-display-duration=inf image-display-duration=inf
no-keepaspect-window keepaspect-window=no
native-keyrepeat=yes
[1080p-anime] autosync=1
glsl-shaders="~~/shaders/Anime4K_Upscale_CNN_L_x2_Denoise.glsl:~~/shaders/Anime4K_Auto_Downscale_Pre_x4.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"
[720p-anime]
glsl-shaders="~~/shaders/Anime4K_Denoise_Bilateral_Mode.glsl:~~/shaders/Anime4K_DarkLines_HQ.glsl:~~/shaders/Anime4K_ThinLines_HQ.glsl:~~/shaders/Anime4K_Upscale_CNN_M_x2_Deblur.glsl"
[inter]
interpolation=yes
tscale=robidouxsharp
# Profiles
[v] [v]
force-window=yes force-window=immediate
player-operation-mode=pseudo-gui player-operation-mode=pseudo-gui
profile=bg profile=bg
[m] [m]
ytdl-format=bestaudio/best ytdl-format=bestaudio/best
input-ipc-server=~/.mpvsock
no-video no-video
profile=bg profile=bg
@ -61,9 +81,10 @@ profile=bg
keep-open=yes keep-open=yes
reset-on-next-file=pause reset-on-next-file=pause
idle=yes idle=yes
input-ipc-server=~/.mpvsock
[protocol.https] [protocol.https]
cache=yes cache=yes
cookies=yes cookies=yes
cookies-file=~/.surf/cookies.txt cookies-file=~/.config/netrc
user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0' user-agent='MemeMachine/69.420 (cum powered)'