points by superkuh 3 days ago | 0 comments
Every time you watch a youtube video you are downloading the youtube video to disk. It is just to prevent the lawyers from exploding that we all pretend that deleting it afterword means it never was downloaded.
But yes, everyone should be not deleting the videos they've downloaded.
[–] em-bee 3 days ago
to the layman download means the whole video is stored in its entirety on my disk. and possibly to lawyers too. that is not happening with streaming videos. youtube videos in particular most likely never hit the disk. not even the cache. when i am watching youtube then i am not deleting the video after it is done. the "downloaded" segments disappear automatically as i watch. so there is no delete step that i could skip in order to keep the file. rather, actually downloading a video requires an entirely different operation.
[–] SirFatty 2 days ago
"to the layman download means the whole video is stored in its entirety on my disk."
Yes, that's exactly what it means.
[–] asdff 2 days ago
No its the same operation just you save instead of not save.
[–] amiga386 2 days ago
It used to be but not now. Your browser is served little slices of the video and audio, and the player adapts in realtime, giving you lower or higher bitrate, depending on your network congestion.
yt-dlp, as far as I know, always asks for the same consistent quality/bitrate of your choosing (and saves them to disk and joins the segments and muxes the video and audio into one stream)
[–] asdff 2 days ago
Bitrate is irrelevant. It’s a download either way. Serving little slices is downloading.
[–] amiga386 2 days ago
My point it that it's not the same slices firstly, and secondly the muxing of the slices and streams is an extra operation that the browser cannot do.
[–] ivanjermakov 3 days ago
[–] superkuh 2 days ago
In fact when youtube started the entire file would be downloaded to /tmp/. And it was this way for a long time. Then the lawyers heard about it and instead youtube would download the file then delete it and read from the filehandle of the deleted file. Then flash went away. And the replacement video streaming services would send chunks that would be on disk and then the lawyer pacification process repeated and now everything is only stored "in ram" but often, and on many systems, that isn't true either. But it's enough to keep the lawyers calm.
[–] ivanjermakov 2 days ago
[–] superkuh 2 days ago