1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
# audio
#ao=... (in case you use e.g. jack)
audio-channels=auto
audio-display=no
volume-max=150.0
alang=ja,jp,jpn,en,eng
# generic video/gpu
vo=gpu
gpu-api=opengl
opengl-pbo
#opengl-glfinish=yes
#opengl-swapinterval=0
#fbo-format=rgba16f
dither-depth=auto
hwdec=auto
#linear-scaling=yes
sigmoid-upscaling=yes
correct-downscaling=yes
#video-sync=display-resample
#scale=spline36
#cscale=mitchell
#dscale=mitchell
scale=spline36
dscale=mitchell
cscale=mitchell
# deband (enabled for shitty video sources below)
deband=yes
#deband-iterations=4
#deband-threshold=48
#deband-range=16
#deband-grain=0
# static grain
#glsl-shader=~~/shaders/noise_static_luma.hook
#glsl-shader=~~/shaders/noise_static_chroma.hook
# luma upscale
#scale=ewa_lanczos
#glsl-shader=~~/shaders/FSRCNNX_x2_8-0-4-1.glsl
# luma downscale
#dscale=gaussian
#glsl-shader=~~/shaders/SSimDownscaler.glsl
# chroma scale
#cscale=ewa_lanczossoft
#glsl-shader=~~/shaders/KrigBilateral.glsl
# interpolation
#interpolation
#tscale=box
#tscale-window=sphinx
#tscale-radius=1.01
#tscale-clamp=0.0
# subtitles
blend-subtitles=yes
demuxer-mkv-subtitle-preroll=yes
sub-ass-vsfilter-blur-compat=no
sub-fix-timing=no
sub-auto=fuzzy
slang=enm,en,eng
# user interface
save-position-on-quit
force-window=yes
image-display-duration=3
keep-open=yes
no-hidpi-window-scale
pause
script-opts=osc-timems=yes
window-scale=1.0
# screenshot
screenshot-directory=~/p/ss/
screenshot-template="%f_snapshot_%wH.%wM.%wS_[%ty.%tm.%td_%tH.%tM.%tS]"
screenshot-format=png
#screenshot-high-bit-depth=yes
screenshot-png-compression=3
screenshot-png-filter=0
screenshot-tag-colorspace=yes
# don't bork on slow-responding disks
cache=yes
cache-secs=10
# stolen from https://pastebin.com/dxWhweXZ
[WebDL1]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "%[1080p%]%[AAC%]%[JapDub%]%[GerSub%]%[Web%-DL%]")~=nil
deband=yes
[WebDL2]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "%[1080p%]%[E%-AC3%]%[JapDub%]%[GerSub%]%[Web%-DL%]")~=nil
deband=yes
[WebDL3]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "%[1080p%]%[AAC%]%[JapDub%]%[EngSub%]%[Web%-DL%]")~=nil
deband=yes
[WebDL4]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "%[1080p%]%[E%-AC3%]%[JapDub%]%[EngSub%]%[Web%-DL%]")~=nil
deband=yes
[HorribleSubs]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "HorribleSubs")~=nil
deband=yes
[EraiRaws]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "Erai%-raws")~=nil
deband=yes
[Legacy1]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "1080p.WebRip")~=nil
deband=yes
[Legacy2]
profile-desc=cond:string.match((p.filename and p.filename or "NULL"), "1080p.Web%-DL")~=nil
deband=yes
|