diff --git a/multimedia/.config/mpv/mpv.conf b/multimedia/.config/mpv/mpv.conf index fd148db..781b6b2 100644 --- a/multimedia/.config/mpv/mpv.conf +++ b/multimedia/.config/mpv/mpv.conf @@ -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