Specify which player to use to feed stream data to (VLC is used by default if found)

streamlink

  • Extracts streams from various services and pipes them into a video player of choice.
    More information: <https://streamlink.github.io>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

streamlink --player={{mpv}} {{example.com/stream}} {{best}}

click the source code to copy install streamlink on any operating system with command-not-found.com