aboutsummaryrefslogtreecommitdiff
path: root/files/.config/mpv/mpv.conf
blob: df9cf014a70bc80028e8956f5a2dd9bded15b923 (plain) (blame)
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
#
# GENERAL
#

keep-open=yes
autofit-larger=70%x70%  # Don't create window larger than 70 %
autofit-smaller=30%x30% # Don't create window smaller than 30%
no-terminal             # Disable any use of the terminal  and  stdin/stdout/stderr

save-position-on-quit  # Always save the current playback position  on  quit
watch-later-options-remove=fullscreen
watch-later-options-remove=volume
watch-later-options-remove=mute
ignore-path-in-watch-later-config

screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=0
screenshot-directory=~/Documents/mpv-screenshots
screenshot-template="%F-%{media-title}-%p-%n"

hwdec=auto-safe        # Enable any whitelisted hardware video decoding API
interpolation=yes
video-sync=display-resample
tscale=oversample

#
# OSD/OSC
#

osc=no
osd-bar=no

#
# PLAYBACK
#

speed=1.33 # Speed up playback by the factor
volume-max=100
image-display-duration=inf # If the current file is an image, kept open forever

demuxer-max-bytes=500M # Cache size
demuxer-max-back-bytes=100M

#
# STREAMING
#

ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
ytdl-raw-options=sponsorblock-mark=all

#
# PROFILES
#

[loudnorm]
af=lavfi=[loudnorm]

[audio]
speed=1

[streams]
profile-cond=path:match('streams/.+[.]ts') ~= nil
profile-restore=copy
cache=no

[protocol.https]
force-window=immediate # Create a video output window even if there is no video

[protocol.http]
force-window=immediate # Create a video output window even if there is no video

[protocol.ytdl]
profile=protocol.https

#
# EXTENSIONS
#

[extension.gif]
loop-file=yes

[extension.flac]
profile=audio

[extension.mp3]
profile=audio

[extension.ogg]
profile=audio