Live data from Hacker News

Cloudflare Stream – Combines video encoding, global delivery, and player

blog.cloudflare.com

31–40 of 266 posts

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#31
I like this idea - but I worry about the cost.

YouTube is, essentially, free. Even if I don't want to use them as a host, I can upload a video and a few minutes later download it in DASH and a variety of older formats - again, for free.

If I do use them, I might get a few quid of advertising revenue.

CloudFlare video lets me keep people on my site (damn those distracting cat videos) and possibly gives me a branded player. That's nice - but is the cost of use (per minute transcoding) going to be worth it?

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#32

Earlier quoted context omitted.

As a Tor user, there was a time when Cloudflare's captchas reduced drastically. And as long as you're using the Tor Browser, there's a great chance that you'll rarely see Cloudflare's captchas.

Indeed. If I recall correctly, it was when there was a 200+ comment thread with the top comment being about abusing Tor users WRT Cloudflare. I believe the CEO showed up, and then later ran an internal test on engineers forcing all of them to run through Tor. For a short while, it was significantly better. It probably lasted for 3-5 weeks, and then things fairly quickly progressed back to their usual, namely being ca…

Are you sure that you're using the Tor Browser? If you're shoving up your browser's traffic through Tor and its header is different from the Tor Browser you'll in most cases end up with a captcha.

Edit: Also the event you described happened much earlier than when the drop of Cloudflare captchas happened, which was around if I remember correctly when Google announced "invisible captchas".

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#33

I do a lot of video stuff, and I have no idea what lossless compression is. What does it mean? Does it mean not using a resolution higher than the player is presented on the screen? Does it mean setting a sensible minimum CRF in x264?

Lossless means lossless, i.e. you have no loss of information. The decompressed video is exactly what you had when you started. It's PNG (lossless) vs. JPG (lossy) or FLAC (lossless) vs. MP3 (lossy).

Of course lossless compression is typically a lot less compact than lossy alternatives (the article mentions a 1/2 compression ration, which is not much compared to lossy video codecs) but it means you're not degrading your video at all, you just have additional processing.

Note that some algorithms these days claim to be "visually lossless" which is mainly a marketing gimmick which means that it's lossy but you wouldn't be able to tell the difference with the naked eye in normal conditions (TICO claims that for instance).

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#34

Earlier quoted context omitted.

As a Tor user, there was a time when Cloudflare's captchas reduced drastically. And as long as you're using the Tor Browser, there's a great chance that you'll rarely see Cloudflare's captchas.

This is correct. We radically altered how we handle Tor Browser months and months ago. I personally use TBB and I don't see Cloudflare CAPTCHAs.

Hmm.. Then a slightly different question: Do you handle OBS4 transits differently then? I have a few places that I go that actively block Tor - OBS4 and Scramblesuit both traverse these blocks.

Because of that, I primarily run those transits, and I tend to get captcha hell still. I'd be willing to debug on my end.

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#35
post #23

It's interesting that they have "monetization" in one of the panels in their process diagram. Does that mean Cloudflare is getting into the advertising game?

I am curious if this means they will enable access controls on streams somehow. One of the challenges with video delivery and where sites like YouTube can't work is if your business relies on providing videos to paid or logged-in members only. Patreon creators get around this in a kludgy way by using unlisted YT videos (which can still be shared by rogue patrons) but that's not ideal. But if you want to control acces…

This is commonly solved using Amazon S3 and single-access tokens I think?

Pretty hefty work involved in getting it reliable, would be nice for a "drop in" solution.

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#37

I do a lot of video stuff, and I have no idea what lossless compression is. What does it mean? Does it mean not using a resolution higher than the player is presented on the screen? Does it mean setting a sensible minimum CRF in x264?

Lossless means that the data is compressed on a bit-level. Has nothing todo with encoding. Similar to WinRAR and ZIP, it probably uses a compression algorithm specific to cloudflare storage to serve the video faster?

You can have lossless compressors tailor-made for specific applications who will typically achieve a better compression ratio than the "generic" compression algorithms WinRAR, ZIP and friends use.

For instance try zip'ing a WAV file and compare it to the same file encoded in FLAC. Typically FLAC will achieve better compression while still being lossless.

There are lossless video codecs, like VC-2 for instance. It's not very common in the consumer world however because people generally don't want to stream or store high definition video with a single digit compression factor (that single digit being generally around 2).

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#38

Earlier quoted context omitted.

This is correct. We radically altered how we handle Tor Browser months and months ago. I personally use TBB and I don't see Cloudflare CAPTCHAs.

Hmm.. Then a slightly different question: Do you handle OBS4 transits differently then? I have a few places that I go that actively block Tor - OBS4 and Scramblesuit both traverse these blocks. Because of that, I primarily run those transits, and I tend to get captcha hell still. I'd be willing to debug on my end.

I think you're misunderstanding things, Cloudflare has no way to know which pluggable transport (such as obfs4 and the retired scramblesuit) you use to access the Tor network. They're only interested in exit traffic.

Which Tor Browser version do you have?

Re: Cloudflare Stream – Combines video encoding, global delivery, and player

#39

I do a lot of video stuff, and I have no idea what lossless compression is. What does it mean? Does it mean not using a resolution higher than the player is presented on the screen? Does it mean setting a sensible minimum CRF in x264?

Lossless compression is where you reduce the file size without removing the audio / video data. Where as lossy compression is where you reduce the file size by reducing the audio / video content (typically using methods that are non-obvious to observers)

An easy but somewhat crude comparison would be a text file that reads:

“Space,” it says, “is big. Really big. You just won’t believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it’s a long way down the road to the chemist’s, but that’s just peanuts to space.”

Lossless would be putting that content into a ZIP file (eg winzip / 7zip / etc).

Where as lossy would be rewriting the passage to something like:

“Space is really big. You just won’t believe how vastly, hugely, mindbogglingly big it is. You may think it’s a long way down the road to the chemist’s, but that’s just peanuts to space.”

Generally lossy compression will yield better compression because you can vastly reduce the information you need to compress and then apply lossless techniques as well.

Post reply on HN