3 ms·
Season to taste but I have this as `yt.bat` on my path and just hit Win `yt [paste youtube url]` and it will download it, cut out sponsor segments and queue it
by thot_experiment 3y ago
Season to taste but I have this as `yt.bat` on my path and just hit Win `yt [paste youtube url]` and it will download it, cut out sponsor segments and queue it up in my VLC.
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 {}"
- hackernewds 3y agotoo many steps vs $10/month
- kelnos 3y agoTo be fair, YouTube Premium doesn't cut out the sponsor segments for you. I pay for Premium, but I also use SponsorBlock (and toss a bit to a channel's Patreon if I watch their stuff regularly).
- OtomotO 3y agoIt's 17€ here and 25 for the family package. These days I only have Disney+ and Prime.
- chii 3y agowhich kinda sucks, as this requires downloading the entire video before you can watch, so you cannot decide _not_ to watch it quickly (it takes at least the time to download, which, if the video is long, might take a while).
- this_machine 3y agoNot necessarily. 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 https://alexdelorenzo.dev/linux/2020/03/14/pipes
- thaumasiotes 3y agompv will play youtube videos given the URL if it can see a youtube-dl executable.
- skeletonjelly 3y agoVLC can stream Youtube can't it?
- thot_experiment 3y agooh sure, you can stream too if you want but I generally queue up a lot of videos so the latency doesn't bother me, and I appreciate the lack of latency when seeking I also really like having the resultant archive.