Skip to content

mpv Snippets

Terminal window
# Play internet video
mpv "https://www.youtube.com/watch?v=VPMyBOqCcsw"
# Play video using yt-dlp and constrain video height and use best audio
mpv --ytdl-format="bestvideo[height<=1080]+bestaudio "https://www.youtube.com/watch?v=myvideoid"
# Upscaling video
# Edit `mpv.conf`
# Add the following lines / uncomment gpu use
# ~~ stands for mpv configuration directory (e.g. ~/.config/mpv)
profile=gpu-hq
glsl-shaders="~~/shaders/shader_whatever_name.glsl"
# Or run command line
mpv --glsl-shaders="~~/shaders/FSR.glsl" video.mp4