-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmpv.conf
126 lines (95 loc) · 3.79 KB
/
mpv.conf
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
121
122
123
124
125
126
#General
player-operation-mode=pseudo-gui
ytdl-format=bestvideo+bestaudio/best
#######################################################################################################################################
#Decode Opts
vo = gpu-next
#Unix Like OS
profile = gpu-hq
gpu-api = opengl
hwdec = auto-safe #hwdec=videotoolbox #mac only
#Windows Only Decode Opts
#gpu-context = d3d11
#gpu-api = d3d11
#hwdec = d3d11va-copy
#d3d11-flip = no
#######################################################################################################################################
#Scaling settings for profile=gpu-hq
scale = ewa_lanczossharp
scale-antiring = .4
cscale = ewa_lanczossharp
dscale = ewa_robidoux
dscale-param1 = 0
dscale-param2 = 0
dscale-antiring = 0
correct-downscaling = yes
sigmoid-upscaling = yes
#Faster scaling settings
#scale = spline36
#dscale = spline36
#cscale = spline36
#######################################################################################################################################
#Fiters
deband = no
interpolation = no
deinterlace = no
dither-depth = 8 # Set to your displays bitdepth.
dither = fruit # Change to "ordered" if 10 or 12 bit display.
#######################################################################################################################################
#Tweaks/UI
fullscreen
no-osd-bar
osd-font-size = 32
keep-open = yes
volume = 100
volume-max = 100
#######################################################################################################################################
#Subtitles
sub-auto = fuzzy #Allow loading external subs that do not match file name perfectly.
#slang = por,eng #Change to your preferred languages
sub-font = 'Helvetica'
sub-bold = no
#sub-font-size = 40 # Change to your preferred sizes
#sub-border-size = 1
#######################################################################################################################################
#Screenshot
screenshot-format = png
screenshot-sw = no
screenshot-png-compression = 6 #range 0-9, higher values may lag
screenshot-high-bit-depth = no
screenshot-directory = "~/Pictures/" #insert directory between quote marks
#screenshot-directory = "%USERPROFILE%\Pictures\mpv" #windows
#######################################################################################################################################
#Profiles
[Deinterlace-Sports]
profile-desc = "bwif"
vf = bwdif
[Deinterlace-no]
profile-desc = "Deinterlacing mode: disabled"
deinterlace = no
vf-clr
#######################################################################################################################################
#Auto Profiles.
[SDR]
profile-desc = "SDR"
profile-cond=p["video-params/gamma"]~="pq" and p["video-params/primaries"]~="bt.2020" and p["video-params/colormatrix"]~="dolbyvision"
gamut-mapping-mode = saturation # Do not change.
libplacebo-opts = gamut_expansion=yes # Do not change.
[HDR WEBDL & Blu-ray / DV Blu-ray]
profile-desc = "HDR WEBDL & Blu-ray / DV Blu-ray"
profile-cond=p["video-params/gamma"]=="pq" and p["video-params/primaries"]=="bt.2020" and p["video-params/colorlevels"]~="full"
tone-mapping = spline # Change to your preferred if necessary.
target-prim = bt.709
target-trc = bt.1886
hdr-compute-peak = yes
gamut-mapping-mode = perceptual # Change to your preferred if necessary.
target-peak = 120 # Adjust this as you see fit.
[DV WEBDL]
profile-desc = "DV WEBDL"
profile-cond=p["video-params/pixelformat"]=="p010" and p["video-params/colorlevels"]=="full" and p["video-params/colormatrix"]=="dolbyvision"
tone-mapping = bt.2446a # Change to your preferred if necessary.
target-prim = bt.709
target-trc = bt.1886
hdr-compute-peak = yes
gamut-mapping-mode = perceptual # Change to your preferred if necessary.
target-peak = 120 # Adjust this as you see fit.