less than 1 minute read

How to stream https flow with mpv and yt-dlp ?

yt-dlp -o - <url_to_stream> | mpv --demuxer-max-bytes=1G -
  • with --demuxer-max-bytes, image stays sync with sound.
  • to set specific configuration, you can use:
    • ~/.config/yt-dlp/config
    • ~/.config/mpv/mpv.conf

Updated: