update mpv config

This commit is contained in:
LordMZTE 2024-07-06 22:48:18 +02:00
parent 4948e97f5b
commit e2ee0962d8
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 18 additions and 5 deletions

View file

@ -1,5 +0,0 @@
vo=gpu-next
profile=gpu-hq
hwdec=auto
hwdec-codecs=all

18
.config/mpv/mpv.conf.cgt Normal file
View file

@ -0,0 +1,18 @@
<!
local opts = {
-- Enable hardware decoding
vo = "gpu-next",
profile = "gpu-hq",
hwdec = "auto",
["hwdec-codecs"] = "all",
-- YTDL: Don't go over 1080p
["ytdl-format"] = "bestvideo[height<=1080]+bestaudio/best[height<=1080]",
-- YTDL: Mark Sponsorblock segments (YT-DLP Only, also doesn't work lol)
--["ytdl-raw-options"] = "sponsorblock-mark=all",
}
!>
<! for k, v in pairs(opts) do !>
<% k %>=<% v %>
<! end !>