by thot_experiment · 2y ago · 0 comments
youtube-dlp -f "bestvideo[height<=1440]+bestaudio/best[height<=1440]" --add-metadata --no-mtime --sponsorblock-remove default %* -o C:\tmp\ytdlc\%%(title)s-%%(id)s.%%(ext)s --exec "\"c:\Program Files\VideoLAN\VLC\vlc.exe\" --one-instance --playlist-enqueue {}"A while ago, I found the need to stream directly from yt-dlp instead of downloading full videos[1]. You can have yt-dlp write to stdout and pipe that stream into your player of choice.
[1] "Using Unix Pipes to Improve Chromecast Playback": https://alexdelorenzo.dev/linux/2020/03/14/pipes
I also really like having the resultant archive.
These days I only have Disney+ and Prime.