Raumfahrtagentur - Hackerspace - Berlin

 tags  RSS

27.11.2023 13:26:58 reposted from linux

Directly streaming youtube video using yt-dlp and mpv

This way you can avoid any hassle that comes with ads by avoiding them entirely by streaming video content directly to input of your video player such a mplayer or mpv and playing ir directly as shown below. The example below shows video of Never Gonna Give You Up by Rick Astley inside a new video player window.

$ yt-dlp https://www.youtube.com/watch?v=dQw4w9WgXcQ -o - | mpv -