summaryrefslogtreecommitdiff
path: root/.config/mpv
diff options
context:
space:
mode:
Diffstat (limited to '.config/mpv')
-rw-r--r--.config/mpv/mpv.conf21
-rw-r--r--.config/mpv/script-opts/encode_webm.conf2
2 files changed, 16 insertions, 7 deletions
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
index e467c61..8dcfc78 100644
--- a/.config/mpv/mpv.conf
+++ b/.config/mpv/mpv.conf
@@ -1,13 +1,22 @@
-profile=gpu-hq
-#scale=ewa_lanczossharp
-#cscale=ewa_lanczossharp
+profile=high-quality
-vo=gpu
+vo=gpu-next
+gpu-api=vulkan
+hwdec=vdpau
+scale=ewa_lanczossharp
+cscale=ewa_lanczossharp
+dscale=ewa_lanczossharp
+
+ao=pipewire
+pipewire-buffer=16
+audio-swresample-o=resampler=soxr,precision=28
+audio-samplerate=192000
+audio-format=float
keep-open=yes
-stop-screensaver
border=no
no-border
+scale-antiring=0.7
msg-color=yes
term-osd-bar=yes
@@ -20,6 +29,6 @@ screenshot-template="%F - [%P]v%#01n"
[extension.webm]
loop-file=inf
+
[extension.gif]
loop-file=inf
-
diff --git a/.config/mpv/script-opts/encode_webm.conf b/.config/mpv/script-opts/encode_webm.conf
index 93dbb74..f6d661c 100644
--- a/.config/mpv/script-opts/encode_webm.conf
+++ b/.config/mpv/script-opts/encode_webm.conf
@@ -13,7 +13,7 @@ preserve_filters=yes
append_filter=
# additional parameters passed to ffmpeg
-codec=-c:v libvpx-vp9 -b:v 800k -c:a libvorbis
+codec=-c:v libvpx-vp9 -crf 1 -b:v 1M -c:a libvorbis
# format of the output filename
# Does basic interpolation on the following variables: $f, $x, $t, $s, $e, $d, $p, $n which respectively represent