From acca0f8e80306f14362d36005c7e7db7449803c4 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 26 Jul 2022 16:23:17 -0500 Subject: feat(mpv): set up mpv and streamlink configs --- mpv/.config/mpv/mpv.conf | 17 +++++++++++++---- mpv/.config/yt-dlp/config | 3 +++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 mpv/.config/yt-dlp/config (limited to 'mpv/.config') diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index a7fdb44..a23fabc 100755 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -6,6 +6,14 @@ profile-restore=copy-equal hwdec=auto-copy # vo=gpu +# Smoother video +video-sync=display-resample +interpolation +tscale=oversample + +# HD audio passthrough +audio-spdif=ac3,eac3,dts-hd,truehd + # Window save-position-on-quit=yes @@ -22,15 +30,16 @@ demuxer-max-back-bytes=1200M # Audio volume=60 +# Subtitles +sub-font-size=16 +sub-align-x=center +sub-align-y=bottom + [twitch] profile-cond=get("media-title", ""):find("twitch.tv/[^ /]+") ~= nil profile-restore=copy-equal -# border=no force-seekable=yes hr-seek=yes hr-seek-framedrop=yes demuxer-max-bytes=750k demuxer-max-back-bytes=1200M -sub-font-size=14 -sub-align-x=right -sub-align-y=top \ No newline at end of file diff --git a/mpv/.config/yt-dlp/config b/mpv/.config/yt-dlp/config new file mode 100644 index 0000000..04a163f --- /dev/null +++ b/mpv/.config/yt-dlp/config @@ -0,0 +1,3 @@ +--sub-langs=all +--cookies-from-browser=chromium +--embed-subs -- cgit v1.2.3-70-g09d2