News for hackers. Stuff that matters.
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?