Live data from Hacker News

WebM support on 4chan

blog.4chan.org

61–70 of 104 posts

Re: WebM support on 4chan

#61
WebM is clearly a far inferior experience compared to gif on firefox:

- at the start there is a stupid "fade in" effect.

- the loading animation does sometimes not disappear even though the video has fully loaded.

- the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data.

- a useless control bar shows at the bottom on hovering.

- Unlike gifs the video does not stop when you scroll beyond it which causes a huge amount of processor load.

Re: WebM support on 4chan

#62
post #61

WebM is clearly a far inferior experience compared to gif on firefox: - at the start there is a stupid "fade in" effect. - the loading animation does sometimes not disappear even though the video has fully loaded. - the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data. - a useless control bar shows at the bottom on hovering. - Unlike gifs the video does…

Hey, I think that a scroll bar is a feature, not a bug. Also, I'm pretty sure now that there's finally some traction happening for HTML5 video, Firefox may now improve the experience.

I'm glad to see WebM happening.

Re: WebM support on 4chan

#63
post #53
post #13

Earlier quoted context omitted.

We don't have the resources to support transcoding, and since so much of our userbase is on browsers that support it I don't think we would regardless.

Not sure how you're going to solve the WebM hosting issues, but I would be really curious to see a list of issues large sites like 4chan have. I think me and other people would surely like to solve such «sysadmin/developer puzzles» for fun. WebP is larger than APNG [1] and is supported more widely according to the following table [2]. There is a way to add compatibility to older browser too [3]. Other than that, ther…

WebP/M and H.264 are lossy formats, so any comparison citing one ultimate filesize for them is nonsensical.

I'd expect them to beat PNG with acceptable quality, since PNG's compression (gzip with some prefilters to make image data more gzippable) is the work of someone either limited by patents or not informed enough to make their own entropy coder.

Also try 'ffv1' in ffmpeg; it's lossless and will win every time.

Re: WebM support on 4chan

#64
post #61

WebM is clearly a far inferior experience compared to gif on firefox: - at the start there is a stupid "fade in" effect. - the loading animation does sometimes not disappear even though the video has fully loaded. - the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data. - a useless control bar shows at the bottom on hovering. - Unlike gifs the video does…

Don't think that's webm specific, just firefox's implementation thereof. I do agree though, they should just play.

Not stopping is probably a feature; if it's music playing it should keep going. But it could stop rendering / taking up much cpu if not in view, I guess.

Re: WebM support on 4chan

#65

Why not use a tag with the 'loop' attribute to better simulate animated GIFs?

And turn off video controls. They get in the way and lack of them never hurt gif.

Some browsers keep playing the video after you scroll past. Being able to stop it using the controls is valuable.

Re: WebM support on 4chan

#66
post #61

WebM is clearly a far inferior experience compared to gif on firefox: - at the start there is a stupid "fade in" effect. - the loading animation does sometimes not disappear even though the video has fully loaded. - the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data. - a useless control bar shows at the bottom on hovering. - Unlike gifs the video does…

>- at the start there is a stupid "fade in" effect.

This is only for non-embedded images. Also, I'm pretty sure this can be "fixed" with ease.

>- the loading animation does sometimes not disappear even though the video has fully loaded.

After viewing hundreds, if not thousands, of WebM files, I have never experienced this.

>- the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data.

Again, I have never seen this happen.

>- a useless control bar shows at the bottom on hovering.

Since when is being able to control playback useless?

>- Unlike gifs the video does not stop when you scroll beyond it which causes a huge amount of processor load.

Fair enough, but this will surely be implemented soon enough.

Re: WebM support on 4chan

#67
post #61

WebM is clearly a far inferior experience compared to gif on firefox: - at the start there is a stupid "fade in" effect. - the loading animation does sometimes not disappear even though the video has fully loaded. - the loading animation is generally annoying. Gifs just stop when bufffering and continue as soon as there is new data. - a useless control bar shows at the bottom on hovering. - Unlike gifs the video does…

Yeah, expanding WebMs inline is probably not the smartest idea. Someone made a video of them browsing a WebM thread in Firefox with the task manager, and Firefox swiftly growing in the gigabytes of memory usage until it ran out of address space (Firefox is still 32-bit only on Windows) and crashed. They will probably need to change the inline extension to automatically close videos after some limit has been reached.

Firefox's implementation of gifs isn't exactly sunshine and roses either. It appears to keep animating gifs in the background, even if they are in separate, not selected tabs. For one, you can see the tab icon animating pointlessly. More importantly, this uses up a surprising amount of CPU. All the time I hear my laptop's fans start whirring, and see that all of my cores are pegged at 20-40% (on a Sandy Bridge i5, mind you, not some toaster). When I realize that I have some gifs open and close those tabs, it immediately drops back down to a normal 0-2% usage idle.

Re: WebM support on 4chan

#68

This is a very big moment for WebM. I feel 4chan has become the 'porn' industry of the internet. With VHS vs Betamax the largely deciding factor was which standard porn supported (this was again to a lesser extent with bluray). The general lack of adoption of animated png's is often pointed squarely on 4chan. Since it generated most of the web's viral funny content. And since most of it was in .gif, who needs to supp…

I just saw a one-minute porn WebM on /gif/. This is unbelievably great.

Re: WebM support on 4chan

#69
post #34
post #14

Has anyone had experience optimizing for webm? I really want to support this codec, but it's insanely slow in my experience. I'm finding that it's generally around 4x slower than mp4, but I've also had cases where it's taken up to a minute to encode a file where h264 take under 10 seconds. My use case is to have the best performance/quality ratio for a 30 second video under 3mb. These are my ffmpeg flags: h264: "-vco…

I don't know the details, but how is the quality on both? I can image that webm takes longer, but if it creates a file that has a higher visual quality for the same filesize that is great. I think nearly all streaming providers would take an increase in processing time for a decrease in bandwith, while quality stays the same..

I'm pretty sure h264 is the superior codec in all regards except for that pesky license issue. It encodes faster and creates smaller files that look better. From (lead x264 developer and HN user) DarkShikari[1]:

"Overall, VP8 appears to be significantly weaker than H.264 compression-wise. The primary weaknesses mentioned above are the lack of proper adaptive quantization, lack of B-frames, lack of an 8×8 transform, and non-adaptive loop filter. With this in mind, I expect VP8 to be more comparable to VC-1 or H.264 Baseline Profile than with H.264. Of course, this is still significantly better than Theora, and in my tests it beats Dirac quite handily as well.

...

Finally, the problem of patents appears to be rearing its ugly head again. VP8 is simply way too similar to H.264: a pithy, if slightly inaccurate, description of VP8 would be “H.264 Baseline Profile with a better entropy coder..."

I won't pretend to know what all of those terms mean off the top of my head, but if the lead x264 developer sees absolutely no technical advantage in WebM vs. h264, that sounds pretty damning to me.

As for why x264 encodes h264 so much faster than ffmpeg or whatever encodes WebM, the simplest explanation would be that there is much greater demand for an optimized h264 encoder. WebM has some admittedly large users (Wikimedia Foundation, Youtube for browsers with no h264 support and no flash player, and now 4chan), but they're still vanishingly small in comparison to the users of h264 ("the entire video industry").

[1] http://x264dev.multimedia.cx/archives/377

Post reply on HN