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
vd=vo
ao=pulse
video-sync=display-resample-vdrop
scale=ewa_lanczossharp
hwdec=auto-copy
video-output-levels=full
video-sync=display-resample
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
script-opts=ytdl_hook-all_formats=yes,ytdl_hook-use_manifests=yes
# Languages/Tracks
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
save-position-on-quit=yes
force-window=no
fullscreen=no
cursor-autohide=1000
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
no-keepaspect-window
[1080p-anime]
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
keepaspect-window=no
native-keyrepeat=yes
autosync=1
# Profiles
[v]
force-window=yes
force-window=immediate
player-operation-mode=pseudo-gui
profile=bg
[m]
ytdl-format=bestaudio/best
input-ipc-server=~/.mpvsock
no-video
profile=bg
@ -61,9 +81,10 @@ profile=bg
keep-open=yes
reset-on-next-file=pause
idle=yes
input-ipc-server=~/.mpvsock
[protocol.https]
cache=yes
cookies=yes
cookies-file=~/.surf/cookies.txt
user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0'
cookies-file=~/.config/netrc
user-agent='MemeMachine/69.420 (cum powered)'