-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmpv.conf
84 lines (67 loc) · 1.76 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
# mpv config
# arch wiki: https://wiki.archlinux.org/index.php/Mpv
# mpv --list-options to list defaults for all options
ao=pulse # audio driver
screenshot-directory=/tmp
cache-pause=no # dont pause if the cache goes below a certain fill size
prefetch-playlist=yes
## Video
sub-auto=all
sub=no
sub-delay=-.1
alang=jpn,jp,eng,en,de # audio, prefer jp over en
## Big cache
cache=yes
demuxer-max-bytes=123400KiB
demuxer-readahead-secs=720
## Overlay
geometry=100%:96% # bottom-right corner
autofit-larger=35%x35% # 35% of screen wide
ontop=yes
fullscreen=yes
## Quality
video-sync=display-resample-vdrop # sync a/v by adjusting to output display and dropping frames
# or video-sync=display-vdrop
framedrop=vo # drop frame when behind audio to maintain sync
# ytdl-format=bestvideo[height<=?720]
# ytdl-format=bestvideo[height<=?720]+bestaudio/best # force yt to 720p
script-opts=ytdl_hook-ytdl_path=/bin/yt-dlp
# ytdl-raw-options=sponsorblock-mark=all,sponsorblock-api=https://sb.doubleuu.win/
## Scripts
### thumbnail
osc=no # replaces the built in one: https://github.com/marzzzello/mpv_thumbnail_script#configuration
### fuzzydir
sub-file-paths=** # any sub files in pwd
## Profiles
# use with --profile=<profile-name>
# high quality, noticible difference
[hq] # 60fps, 12% cpu
profile=gpu-hq
deband=yes
# not really noticible (to hq), bad performance (on my machine)
[ultra] # 30-40fps, ~15% cpu
profile=hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
[overlay]
fullscreen=no
[movie]
profile=hq
fullscreen=yes
[anime]
profile=movie
slang=eng,en # english subs if avail
[music]
audio-display=no
video=no
[extension.mp3]
profile=music
[extension.webm]
loop-file=inf
[yt]
cache=yes
cache-secs=4000
demuxer-max-bytes=800MiB