-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmpv.conf
More file actions
131 lines (99 loc) · 2.17 KB
/
mpv.conf
File metadata and controls
131 lines (99 loc) · 2.17 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
# MPV Configuration
# Author: Binoy Manoj
# GitHub: https://github.com/binoymanoj
###################
# Video Settings
###################
# Hardware decoding (use GPU acceleration)
# hwdec=auto-safe
# gpu-context=auto
# Video output driver
# vo=gpu-next
# High quality video scaling
scale=ewa_lanczossharp
dscale=mitchell
cscale=ewa_lanczossharp
# Enable deband filter to reduce banding
deband=yes
# Video sync method
video-sync=display-resample
# Interpolation for smooth motion
interpolation=yes
tscale=oversample
###################
# Audio Settings
###################
# Audio output driver
ao=pulse
# Audio channels (auto-detect)
audio-channels=auto
# Volume control
volume=80
volume-max=150
# Audio normalization
af=dynaudnorm
###################
# Subtitles
###################
# Enable subtitles by default
sub-auto=fuzzy
# Subtitle font and styling
sub-font='Noto Sans'
sub-font-size=44
sub-color='#FFFFFFFF'
sub-border-color='#000000FF'
sub-border-size=2
sub-shadow-offset=2
sub-shadow-color='#33000000'
# Subtitle positioning
sub-margin-y=40
sub-align-y=bottom
###################
# OSD Settings
###################
# On-screen display
osd-level=1
osd-duration=2500
osd-font='Noto Sans'
osd-font-size=32
osd-color='#FFFFFFFF'
osd-border-color='#000000FF'
osd-border-size=1
###################
# General Settings
###################
# Keep player open after file ends
keep-open=yes
# Save position on quit
save-position-on-quit=yes
# Resume playback
resume-playback=yes
# Screenshot settings
screenshot-format=png
screenshot-png-compression=8
screenshot-directory=~/Pictures/mpv-screenshots
# Cache settings
cache=yes
demuxer-max-bytes=150MiB
demuxer-max-back-bytes=50MiB
# Window settings
autofit=85%x85%
geometry=50%:50%
# Always show window title
title='MPV - ${filename}'
# Disable screensaver
stop-screensaver=yes
###################
# Language Priority
###################
# Audio language priority
alang=en,eng,english
# Subtitle language priority
slang=en,eng,english
###################
# Youtube-dl/yt-dlp
###################
# Use yt-dlp for streaming
script-opts=ytdl_hook-ytdl_path=yt-dlp
# Streaming quality
ytdl-format=bestvideo[height<=?1080]+bestaudio/best