mpv: Refactor into more simple config
Using some of the advice from here: <https://kenhv.com/blog/setting-up-mpv>, we can simplify the configuration a little.
This commit is contained in:
parent
9a53fd5775
commit
df78905778
1 changed files with 9 additions and 17 deletions
|
|
@ -9,9 +9,17 @@
|
||||||
fullscreen=no
|
fullscreen=no
|
||||||
# if playing the last file in e.g. a playlist, simply pause after finishing
|
# if playing the last file in e.g. a playlist, simply pause after finishing
|
||||||
keep-open=yes
|
keep-open=yes
|
||||||
|
# restart where we left off
|
||||||
|
save-position-on-quit=yes
|
||||||
|
autofit-larger=80%x80%
|
||||||
# allow remote operation through ipc, see https://mpv.io/manual/stable/#json-ipc
|
# allow remote operation through ipc, see https://mpv.io/manual/stable/#json-ipc
|
||||||
input-ipc-server=/tmp/mpv-socket
|
input-ipc-server=/tmp/mpv-socket
|
||||||
|
|
||||||
|
# video decode options
|
||||||
|
vo=gpu-next
|
||||||
|
gpu-api=auto
|
||||||
|
hwdec=auto-safe
|
||||||
|
|
||||||
# display a little seek bar in term
|
# display a little seek bar in term
|
||||||
term-osd-bar=yes
|
term-osd-bar=yes
|
||||||
# colorful term output
|
# colorful term output
|
||||||
|
|
@ -73,24 +81,12 @@ sub-spacing=0.5
|
||||||
|
|
||||||
### Audio
|
### Audio
|
||||||
|
|
||||||
volume=80
|
|
||||||
volume-max=150
|
volume-max=150
|
||||||
# find audio files even if slightly mismatched
|
# find audio files even if slightly mismatched
|
||||||
audio-file-auto=fuzzy
|
audio-file-auto=fuzzy
|
||||||
# playing at different speed will pitch-correct
|
# playing at different speed will pitch-correct
|
||||||
audio-pitch-correction=yes
|
audio-pitch-correction=yes
|
||||||
|
|
||||||
### Video
|
|
||||||
|
|
||||||
hwdec=auto
|
|
||||||
opengl-early-flush=auto
|
|
||||||
opengl-pbo=no
|
|
||||||
# ever so slightly up saturation
|
|
||||||
saturation=12
|
|
||||||
# interpolation options, will take some more cpu
|
|
||||||
interpolation=yes
|
|
||||||
video-sync=display-resample
|
|
||||||
|
|
||||||
### Cache
|
### Cache
|
||||||
|
|
||||||
# use cache if it seems like a networked connection
|
# use cache if it seems like a networked connection
|
||||||
|
|
@ -137,17 +133,13 @@ loop-file=yes
|
||||||
ytdl-raw-options=playlist-reverse=
|
ytdl-raw-options=playlist-reverse=
|
||||||
|
|
||||||
[lowquality]
|
[lowquality]
|
||||||
scale=bilinear
|
|
||||||
cscale=ewa_lanczossharp
|
|
||||||
interpolation=no
|
interpolation=no
|
||||||
video-sync=audio
|
video-sync=audio
|
||||||
|
|
||||||
[highquality]
|
[highquality]
|
||||||
scale=ewa_lanczossharp
|
|
||||||
cscale=ewa_lanczossharp
|
|
||||||
video-sync=display-resample
|
|
||||||
interpolation=yes
|
interpolation=yes
|
||||||
tscale=oversample
|
tscale=oversample
|
||||||
|
video-sync=display-resample
|
||||||
|
|
||||||
# default to hq
|
# default to hq
|
||||||
profile=highquality
|
profile=highquality
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue