-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmpv.conf
More file actions
150 lines (125 loc) · 7.79 KB
/
Copy pathmpv.conf
File metadata and controls
150 lines (125 loc) · 7.79 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
priority=high #Set process priority high in Windows
# Global Rendering Config ====================
vo=gpu # Literally just use the GPU. (gpu-next faster and hopefully better, but has compatibility issues)
gpu-api=vulkan # Use vulkan instead of D3D11
#hwdec=no # Not needed for high perf. CPUs
hwdec=auto-safe # Uses best hardware decoder.
ao=wasapi
audio-exclusive=yes # Make exclusive audio, bit perfect
audio-channels=stereo # Downmix surround to stereo, fits headphones well
video-output-levels=full # Use full range colour, disable this for old TVs.
deinterlace=no # Global reset of deinterlacing to off, remove this if watching interlaced video is intended.
# Deband filter. ==================== Always turn on for anime.
# Apply debanding before other shaders (like static noise)
#glsl-shader="C:\Users\Jacob\mpv\shaders\deband-pre.glsl"
# Debanding videos where it isn't needed can result in detail loss
deband=no
# Deband steps (More = Better quality, but higher GPU cost)
#deband-iterations=4
# Deband strength (More = Less banding, but more detail loss)
#deband-threshold=48
# Deband range (More = Less banding, but higher GPU cost)
#deband-range=16
# Dynamic Grain (More = More dynamic grain)
# Set it to "0" in case you prefer the static grain shader (otherwise use 24)
#deband-grain=24
# Dithering ====================
dither-depth=auto # Set the dither depth to match monitor.
dither=fruit
#dither=error-diffusion # Use intensive dithering.
#THIS OPTION HAS NO EFFECT WITH "vo=gpu-next"
#Selects the kernel in case of error-diffusion
#"sierra-lite" is the fastest choice with decent results, alternatives are "floyd-steinberg" (slow), "atkinson" (slower) and "jarvis-judice-ninke" (slowest)
#error-diffusion=sierra-lite
# Motion Interpolation ==================== Will cause redrawing because of new frames - apparently Gsync works, so disable this?
#video-sync=display-resample # Sync up the video with Vsync, resamples audio.
#interpolation=yes # Enable that sweet, sweet interpolation.
#tscale=sphinx
#tscale-blur=0.6991556596428412
#tscale-radius=1.0 #lower (e.g. 0.955) = sharper; higher (e.g. 1.005) = smoother
#tscale-clamp=0.0
#Alternitave:
#tscale=box
#tscale-window=sphinx
#tscale-radius=1.0
#tscale-clamp=0.0
video-sync=audio #for Gsync display
video-sync-max-factor=1 # This restrics the player's FPS to that of the video so Gsync can do its magic
# Scaling algorithms ===================
# SSimDownscaler performs better than any standalone filter, but also adds a lot of computational weight for minimal quality gains over catrom or lanczos.
# Not to mention it makes grain ugly
#Sigmoid downscaling could potentially dampen the ringing but as far as I'm aware mpv only supports sigmoidal light upscaling.
#ewa_lanczossharp is deprecated and will be removed from vo=gpu-next in the future, use --scale=ewa_lanczos --scale-blur=0.981251 to replicate it.
correct-downscaling=yes
linear-downscaling=no # all filters perform better with this off
sigmoid-upscaling=yes # This is incompatible with and replaces linear-upscaling, is also best.
#glsl-shader="C:\Users\Jacob\AppData\Roaming\mpv\shaders\FSRCNNX_x2_16-0-4-1.glsl" # For normal content
#glsl-shader="C:\Users\Jacob\AppData\Roaming\mpv\shaders\FSRCNNX_x2_16-0-4-1_enhance.glsl" # for expremely conpressed content
#glsl-shader="C:\Users\Jacob\AppData\Roaming\mpv\shaders\FSRCNNX_x2_8-0-4-1_LineArt.glsl" # For anime
#glsl-shader="C:\Users\Jacob\AppData\Roaming\mpv\shaders\FSRCNNX_x2_8-0-4-1.glsl" # For normal high-fps content
#glsl-shader="C:\Users\Jacob\AppData\Roaming\mpv\shaders\KrigBilateral.glsl"
#glsl-shaders="C:\Users\Jacob\AppData\Roaming\mpv\shaders\nnedi3-nns256-win8x6.hook"
#For EXTREME use, check out the computer version as well.
scale=ewa_lanczossharp # If further scaling is needed after FSRCNNX doubling
dscale=lanczos # Sharpest downscaler for after AI doubling
cscale=ewa_lanczossharp
# Tonemapping HDR to SDR ====================
#Best method of converting HDR to SDR
#tone-mapping=bt.2446a #THIS OPTION HAS NO EFFECT WITH "vo=gpu"
# Decent alternative
tone-mapping=hable
hdr-compute-peak=yes #(if you use "hable")
# Static Grain ====================
# If you use scaling shaders like “nnedi3”, “ravu”etc., make sure you run grain shaders after them. Don’t forget to tune the “STRENGTH” inside the shader to your screen resolution! (Default is 48, some say 7, some say 1440, idfk)
#glsl-shader="C:\Users\Jacob\mpv\shaders\noise_static_luma.hook"
# Chroma is not needed
#END OF VIDEO CONFIG-----------------------------------------------------------------------------------------------------------------------
# Audio stuff, makes sure normal volume is outputted. _____________________________________________________________________________________
volume=100 # Set volume to 100% on startup.
volume-max=100 # Set player max vol to 100%.
# Dynamic range compression (DRC)
# In theory, turns quieter stuff loader and loader stuff quieter
# It can result in overall worse results
#af="acompressor=ratio=4,loudnorm"
# Youtube-DL ______________________________________________________________________________________________________________________________
ytdl-format="bestvideo+(bestaudio[asr=48000]/bestaudio)" # Set max streaming quality, best audio.
# Default demuxer is 150/75 MB, note that this uses RAM so set a reasonable amount.
demuxer-max-bytes=300000000 # 300MB, Max pre-load for network streams (1 MiB = 1048576 Bytes).
demuxer-max-back-bytes=150000000 # 150MB, Max loaded video kept after playback.
force-seekable=yes # Force stream to be seekable even if disabled.
# UI/Behavoir setup _______________________________________________________________________________________________________________________
alang = 'jpn,jp,eng,en' # Preferes Japanese audio if available.
slang = 'eng,en,enUS' # enUS for Crunchyroll.
keep-open=yes # Prevents closing of window when a video is complete. Set to 'yes' to autoload. Both "always" and "yes" prevents player from auto closing upon playback complete.
osd-font='Trebuchet MS' # Use a slightly nicer font.
#loop-file=inf # As the name says, it loops the video/photo.
#autofit=50% # Opens mpv to fill 50% of screen
#save-position-on-quit=yes # The last position of your video is saved when quitting mpv.
audio-display=no
# Subtitle stuff __________________________________________________________________________________________________________________________
# Subtitle blending in scenechanges (smoother effect)
# This is recommended if you use Interpolation
# Use "video" if you want to render it to video resolution instead, this will display typeset more accurate, but for the cost of sharpness
blend-subtitles=video # Sharper PGS subs cause scaled with video
sub-auto=fuzzy # Allow loading external subs that do not match file name perfectly.
sub-fix-timing=no # Fixes subtitle timing for gaps smaller than 210ms (works with PGS subtitles)
demuxer-mkv-subtitle-preroll=yes # Forces showing subtitles while seeking through the video
# Some settings overwritting the default Arial for .srt subtitles (or .ass if you force it)
sub-font=Andika New Basic Bold
sub-font-size=52
sub-blur=0.2
sub-border-color=0.0/0.0/0.0/1.0
sub-border-size=3.0
sub-color=1.0/1.0/1.0/1.0
sub-margin-x=100
sub-margin-y=50
sub-shadow-color=0.0/0.0/0.0/0.25
sub-shadow-offset=0
# Screenshots _____________________________________________________________________________________________________________________________
screenshot-sw=yes
screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=9
screenshot-directory="C:\Users\Jacob\Desktop"
screenshot-template="%f-%wH.%wM.%wS-#%#00n"
# _________________________________________________________________________________________________________________________________________