Re:Firefox slow to load YouTube? Just another front in Googl...
by thot_experiment on Tuesday December 12, 2023 @10:50PM
(#38622409)
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.
[ Parent
| on HN ]
Re:Firefox slow to load YouTube? Just another front in Googl...
by chii on Tuesday December 12, 2023 @10:52PM
(#38622428)
which 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).
Re:Firefox slow to load YouTube? Just another front in Googl...
by this_machine on Tuesday December 12, 2023 @10:59PM
(#38622475)
Not 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
Re:Firefox slow to load YouTube? Just another front in Googl...
by thaumasiotes on Tuesday December 12, 2023 @11:03PM
(#38622504)
mpv will play youtube videos given the URL if it can see a youtube-dl executable.
Re:Firefox slow to load YouTube? Just another front in Googl...
by thot_experiment on Tuesday December 12, 2023 @11:22PM
(#38622618)
oh 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.
Re:Firefox slow to load YouTube? Just another front in Googl...
by skeletonjelly on Tuesday December 12, 2023 @11:00PM
(#38622491)
VLC can stream Youtube can't it?
Re:Firefox slow to load YouTube? Just another front in Googl...
by hackernewds on Tuesday December 12, 2023 @10:51PM
(#38622423)
too many steps vs $10/month
Re:Firefox slow to load YouTube? Just another front in Googl...
by kelnos on Tuesday December 12, 2023 @11:23PM
(#38622621)
To 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).