Can you watch a YouTube video with MPV?

Can you watch a YouTube video with MPV?

I watch YouTube videos by piping URLs to mpv. Sometimes I would like to keep the video file after having watching it; just like if I had downloaded it with youtube-dl. I was wondering if there is a mpv option I am unaware of to do that (before writing my own script).

Which is more powerful youtube dl or mpv?

One more thing… youtube-dl is so much more powerful than just allowing you to watch all those online videos through mpv. You can download videos, playlists, download just the audio, bypass georestrictions etc etc etc. For a complete list of what youtube-dl can do for you see the official github page …

Is there an open source version of MPV?

MPV is free, open source and cross platform. It will work on Linux, macOS, Windows and Android. I’m going to show you how to install it on macOS but if you want to install it on another platform check out the official webpage for instructions.

How do I install MPV on my Mac?

The easiest way to install MPV on macOS is via Homebrew 1. ( With homebrew installed on your system ) open up the terminal and type: brew install mpv 1. ( With homebrew installed on your system ) open up the terminal and type: brew install youtube-dl 1. Let’s say you want to watch a YouTube video.

Can you use youtube dl as a video player?

When using the –no-video option, mpv automatically instructs youtube-dl to choose the audio only format. You can try it like this: And it will play like expected. If it doesn’t, then be sure to check if you’re using the latest version of mpv.

What’s the best way to play YouTube videos?

You can use mpsyt, which lets you search for youtube videos in your terminal emulator, or, you can use Open With, or OLiP to open them in your favorite media player.

Where can I find a YouTube URL on my computer?

Passing the URL directly on the command-line is fine, eg. typing something like mpv https://www.youtube.com/watch?v=NAh9oLs67Cw into the command prompt. You can also drag/drop a YouTube URL from your browser to the mpv window. I tried both options but they don’t seem to work for me.