On 5/24/2018 at 11:51 PM, SkyPenguin said:youtube/netflix utilize an encoded stream to stop most (not all) piracy. Downside (beyond the difficulty of building such a thing) is that it takes about 25 times as much processing power as just streaming normally because the site uses some custom decrypter to decrypt the stream in real time. Also takes like 2-4x as much ram i believe... Ty youtube for chewing up my battery life to stop piracy?
Got some citations to quote for those figures?
The only "protections" I'm aware of YouTube employing are piecewise delivery of the unheadered video stream; they don't make something so blatant as "an MP4 file" exposed at a URL, but instead deliver chunks of the video progressively as you play. If you want to "rip" the stream, you have to play it effectively "normally," and can't just download a single file containing the entire video. There is no high-CPU-cost decryption going on that I've seen evidence of.
By serving video chunkwise, this costs less data transfer, disk-as-cache space, and RAM overhead as downloading all or nearly-all of the video ahead of time, with the (often inconvenient) tradeoff of clamping the best resolution you can experience not to the screen or hardware you have, but to the bandwidth you can afford.