# mpv.conf # list profiles with: mpv --profile=help # load hwdec profile automatically profile=hwdec # hardware acceleration profile [hwdec] profile-desc="hardware acceleration, no cache, yt-dlp 1080 or less" vo=gpu hwdec=vaapi # hide: GNOME's wayland compositor lacks support for the idle inhibit protocol. #msg-level=ffmpeg=fatal,vo/gpu/wayland=no msg-level=ffmpeg=fatal # cache no for internet streams cache=no # yt-dlp best format 1080 or less ytdl-format="bestvideo[height<=?1080]+bestaudio/best" # show milliseconds in the on screen display osd-fractions # alsa pipewire audio device audio-device=alsa/pipewire # youtube subs - J to switch to subs sub-auto=fuzzy ytdl-raw-options=sub-lang="en",write-sub=,write-auto-sub= sub-font='Noto Color Emoji' # screenshot timecode screenshot-template="%F-[%P]v%#01n" # cache profile: mpv --profile=cache [cache] profile-desc="hardware acceleration, cache, yt-dlp 1080 or less" # include hwdec profile profile=hwdec # override hwdec profile cache setting cache=auto # youtube conditional auto profile match any youtube url [youtube] profile-desc="youtube hardware acceleration, cache" profile-cond=path:find('youtu%.?be') ~= nil # include hwdec profile profile=hwdec # override hwdec profile cache setting cache=yes # fullscreen 2nd display fs fs-screen=1 # archive.org conditional auto profile match any archive.org url [archive] profile-desc="archive hardware acceleration, cache" profile-cond=path:find('archive.org') ~= nil # include hwdec profile profile=hwdec # override hwdec profile cache setting cache=auto # fullscreen 2nd display fs fs-screen=1 # bbc iplayer conditional auto profile match any bbc iplayer url [iplayer] profile-desc="archive hardware acceleration, cache" profile-cond=path:find('bbc.co.uk/iplayer') ~= nil # include hwdec profile profile=hwdec # override hwdec profile cache setting cache=no # fullscreen 2nd display fs fs-screen=1 # bbc iplayer conditional auto profile match any bbc iplayer url [bbc] profile-desc="bbc hardware acceleration, cache" profile-cond=path:find('bbc:pips:service') ~= nil # include hwdec profile profile=hwdec # override hwdec profile cache setting cache=no # fullscreen 2nd display fs fs-screen=1