Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That demo looks too good for 30kbps for any codec, especially single pass real time. I am skeptical.

Also find it funny they use a 2.5MB GIF to show a demo for ultra video compression.

https://storage.googleapis.com/gweb-uniblog-publish-prod/ori...



I watched my fair share of RealPlayer video at about that bitrate 25 years ago. I see absolutely no reason that a modern codec designed for low bitrates couldn’t look that good on a talking head. It’s not like they are pandering though. They released the software. There is no need to speculate.


The software is released, but I would like to see the actual encode instead of the phony looking side-by-side GIF.


We are discussing state of the art video codecs on a page that's serving 26MB GIFs.


If you want to discuss the quality of video it is important that your own encoding does not alter the image.

GIF allows animation and lossless compression.


GIF only allows 256 colors per frame, so not really lossless when it comes to photos/video that exceed that limit. I guess there are some hacks around this, but typically they're not used.


The hacks you allude to are based on the fact that GIF also allows you to use:

* Transparency in a frame, which will show the previous frame underneath

* A different color palette per frame

* An infinite frame rate (no delay between two frames), which is also configured per frame

These three points combined allow you to show any video in full 8-bit color via the GIF format.

Unfortunately there's a difference between what GIF allows and what popular browsers allow GIF to do. Specifically all browsers set a minimum frame delay to 10ms == 100fps. This got started in the 90s due to performance concerns in Internet Explorer. Then people kept setting frame delay to 0 in their GIFs but it looked still fine in Internet Explorer. This resulted in a lot of GIFs that would look broken when the browsers would follow the GIF spec. This desire to support broken GIF files is why even in 2020 browsers limit GIF frame delay to 10ms.

Even so, if you only need 25fps for your video, you can get 4*256=1024 colors. Again, these colors can be different from frame to frame.


What other lossless "video" format is widely available in browsers?


It’s not lossless. It’s lossless after quantization of the color palette, and pretty much every encoder out there does a crap job of not losing too much perceptual or actual data in that step.


I'm just going to guess that's for those browsers that don't yet support AV1? I mean it basically just shipped

https://caniuse.com/#feat=av1


Chrome 81, still get GIFs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: