148 points · by tinnet · 9y ago · 140 comments
It's the most serious attempt to date to make an open source replacement for JPEG which misses a lot of advances in data/image compression. I hope it stops the spreading of HEIF plagued by patents.
Unfortunately the license is holding back implementations.
The reference implementations are also open source (dual licensed between LGPL and Apache 2)... But even if you don't like those, you can write your own under whatever license you like. They're just implementations of a spec.
HEIF is just an image container format. The current implementation of HEIF supports JPEG, H.264, and H.265. So, yes, if you use H.264 or H.265 inside HEIF then you have all of those attendant patent licensing issues. But if you use JPEG inside HEIF or if someone implements support for VP8 or VP9 or eventually AV1 then I think you should be able to use HEIF royalty-free.
The GitHub repository is at: https://github.com/nokiatech/heif
The "License Grant" section of LICENSE.TXT sounds like it grants a royalty-free patent license to the HEIF format itself, exclusive of any codec patent licenses as you'd expect. So I think once VP9 or AV1 support is added HEIF may be a nice container format for images.
Have you considered using Daala's lapped transforms? They work with variable block sizes and are quite effective for still images.
Also, was there anything that motivated doing a custom image format rather than applying Butteraugli to WebP?
Just thought of the Teledyne Waterpik brand. What did they ever do with that in Denmark? According to this FB post:
https://www.facebook.com/JstTht/posts/134568413284684?_fb_no...
Quote:
Waterpik uses another name in Denmark. "Pik" is the common Danish word for male genitals. Most Danes can easily translate "water" to the danish word "vand". And "vandpik" is a term for the morning erection. "And you put that thing in your mouth?!?!"
/s
But I'll look forward to hearing about people sending a dick pic in pik format. ^_^
Despite the fact that Dutch people are often fluent in English, and despite the fact that we even had a prime-minister with the name 'Kok', there's a surprisingly low number of jokes, in my opinion, involving this particular surname. I guess somehow the context switch from Dutch to English is big enough that it's just not all that funny.
It uses the same 8x8 DCT blocks, but with adaptive quantization. Like JPEG it also codes DC separately, but with 8 predictors instead of 1, etc.
It's like a combination the Guetzli JPEG encoder and Lepton JPEG recompressor.
Any ideas why?
(And please don't say "patent free" unless you are certain Pik will not infringe on those same patents)
[1] https://en.wikipedia.org/wiki/High_Efficiency_Image_File_For...
HEVC/HEIF: Absolutely can't use because patents. Pik: Maybe can't use because patents.
Pik has potential to be useful, HEVC does not.
Most people use patent-encumbered media formats all the time.
HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.
Web browsers. H.264 was finalized in 2003 and while it was supported by Chrome at launch in 2010, it wasn't supported in Firefox until 2013, a full 10 years later, though admittedly support was in Flash in 2007.
> Most people use patent-encumbered media formats all the time.
A major difference between HEVC and other patent-encumbered formats is that HEVC has no single licensing pool with a clear pricing scheme. There's no single place you can go and say "I want HEVC" and know how much you're going to need to pay. Off the top of my head, there's MPEG-LA, HEVC Advance, Velos Media and Technicolor. All of them have different requirements and cost schemes. Also importantly, HEVC Advance was intending to charge for distribution separately from encoding.
As much as I hate MPEG-LA, it definitely helped with H.264's adoption.
> HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.
Yes but that hardware support needs to be piped through to browsers, which will take time and consent. Is Mozilla going to allow patent-encumbered HEVC into its browser when it's part of AOM and AV1 is just around the corner?
To be clear, I'm mainly talking about web browsers, since they're how most people consume images these days. I'm sure HEVC will find its way into things like TVs, cameras and home theatre systems without issue but I have doubts about its viability on the web.
As a result the Alliance for Open Media (AOM) was formed by major hardware and software companies. AOM is developing an alternative to HEVC. AOM has almost all hardware manufacturers of any significance as members.
[1]: Other essential patent holders who have not officially licensed their patents include AT&T, Microsoft, Motorola, Nokia, and Cisco. They may elect to license their patents unilaterally, which adds additional uncertainty to HEVC.
We can certainly discount Pik as soon as a patent that covers it is discovered, until then it's just a promising project to pay attention to.
Disclaimer: I have no idea what I am talking about. For all I know possible use of these instructions is already a feature of HEIF and that statement is irrelevant.
Worth noting: Skylake with Integrate Graphics includes an x265 encoder and decoder. If that can't be adapted to HEIF, that's a huge win for the format.
Can anyone explain this to me? It is posted under the Google organization. Are they just not actively supporting it?
I guess the former, and the author might be doing it as a 20% project owned by Google in the hopes of making it a larger, more successful project.
> "This project is in the initial research stage, please don't use it for any purpose."
So it's not a product at all, it's a research project. In particular, not being a product means that if you try to store or distribute images in this format, they'll probably be hard to recover a few years from now.
(Yes, it means dick)
Joke aside, Pik is also Spades in German. Since its a compression library and it looks like Jan Wassenberg works at the the Zurich office, it might also be some food, in line with the other work they have been doing: brotli, butteraugli, brunsli, guetzli
Most names are poorly chosen by this standard, given the diversity of existing languages.
https://en.wikipedia.org/wiki/Twatt,_Orkney
There is also a Minge Lane I used to drive past each day in a previous job. Always gave me a chuckle, being a Brit.
The decoder can be in different formats, e.g. bytecode, WASM, i386, ARM, etcetera. But of course, any binary decoders should be verified by the standards organization before it is published.
You can see it as a "democratization" of encodings.