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
|
||||
# if playing the last file in e.g. a playlist, simply pause after finishing
|
||||
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
|
||||
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
|
||||
term-osd-bar=yes
|
||||
# colorful term output
|
||||
|
@ -73,24 +81,12 @@ sub-spacing=0.5
|
|||
|
||||
### Audio
|
||||
|
||||
volume=80
|
||||
volume-max=150
|
||||
# find audio files even if slightly mismatched
|
||||
audio-file-auto=fuzzy
|
||||
# playing at different speed will pitch-correct
|
||||
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
|
||||
|
||||
# use cache if it seems like a networked connection
|
||||
|
@ -137,17 +133,13 @@ loop-file=yes
|
|||
ytdl-raw-options=playlist-reverse=
|
||||
|
||||
[lowquality]
|
||||
scale=bilinear
|
||||
cscale=ewa_lanczossharp
|
||||
interpolation=no
|
||||
video-sync=audio
|
||||
|
||||
[highquality]
|
||||
scale=ewa_lanczossharp
|
||||
cscale=ewa_lanczossharp
|
||||
video-sync=display-resample
|
||||
interpolation=yes
|
||||
tscale=oversample
|
||||
video-sync=display-resample
|
||||
|
||||
# default to hq
|
||||
profile=highquality
|
||||
|
|
Loading…
Reference in a new issue