What's Going on with HEIF and Mac OS 10.13
shapeof.com
shapeof.com
So I think it's fine to leave HEIF as basically an internal format of Apple's camera app, and for everything else export to formats more suitable for interchange (e.g. BPG which uses same the compression scheme, but is a simple lightweight container).
I can imagine at least a dozen use cases for this format that current formats don’t serve at all.
Considering that all the widely supported formats throughout the industry have various severe limitations so that it’s impossible to cover the typical use cases (even for just web images, say) using less than 3 or 4 completely different formats, it’s not clear that anyone else has figured out how to really solve this one either.
Too bad that the world couldn’t find someone with good taste, extensive experience, and a forward-looking vision to make a more future-compatible image format about 15–20 years ago.
Previously, with Apple 'live photos', having two separate files sitting on the disk was good enough.
HEIF is very new, but it's now blessed by the premier standardization organizations in this space as a component of the next wave of media coding. Aside from the the innate value of standards in which industry players agree on common formats and semantics, Apple's move needs to be seen in context of the rival 'Alliance for Open Media' [1], which includes many big names working on future open media codecs outside of the usual MPEG / ITU-T / contributors' patent pool combo. Apple's adoption of an MPEG standard is also signalling its commitment to that particular brand of standardization.
Not that webp is as incredible as Google claimed, but that was always a given with the inferior codec it’s based upon.
But not all compression techniques that are applicable to video are relevant with still images. WebP's performance has been evaluated and some have found it lacking [3], while some have found it good [4].
Discounting the fact that the HEIF container has some useful features on its own, the picture inside is often an HEVC I-frame, which is the same idea as Fabrice Bellard's BPG. Therefore, comparisons between VP8 and BPG may also be indicative of typical HEIF-as-it-will-be-typically-deployed performance.
[1] https://developers.google.com/speed/webp/docs/riff_container [2] https://en.wikipedia.org/wiki/VP9 [3] https://en.wikipedia.org/wiki/WebP#Criticism [4] https://blog.cloudflare.com/a-very-webp-new-year-from-cloudf... [5] https://bellard.org/bpg/
FLIF compresses better than webp, but it also compresses/decompresses more slowly, and the difference in size is quite small so overall for lossless compression, WebP is my choice.
PIK had flown under my radar, looks really interesting. Any estimate of when a first release will be out ?
Also, it is legally terrifying to build anything on HEVC, I'm frankly surprised Apple is even trying. The basic license fees are easily ten times as much for HEVC as they were for H.264, and there are known applicable patents which aren't even in the pools (both pools! there are two!). There are also potentially license fees that apply to individual performances/transfers of content, so if you're Netflix or something you'll end up paying for every unit of content shipped.
For the lot of these reasons, the Alliance for Open Media (including the Daala team (Xiph and Mozilla), The Thor team (Cisco), Microsoft, Nvidia, AMD, Intel, Mediatek, Netflix, Google, and a good couple dozen other major players) has formed and will probably be freezing a standard bitstream format this year on a format that outperforms HEVC for a given bitrate, a given CPU time target, and on energy consumption (and implementation complexity) in hardware.
There's actually three now, but the newest one hasn't announced their pricing yet: http://velosmedia.com/
Outside of Apple I can't see this have any uptake due to being patent/royalty laden, which means that images you encode using this format need to be reencoded again (and degraded in case of lossy, which is the most common type) in order to be shown on the web or on other operating systems/devices.
For sending to other people, most photos are going to be downsized anyway so a transcoding isn’t the end of the world.
Now whether the software for HELF support will catch up is another question.
What happens if you edit a HEIF in Photos.app, and perhaps try to share a flattened version via imessage, email or upload to wordpress? Do you get a transcoded JPEG out? (What's the quality loss like for that case?)
Without industry buy-in and high quality open source support, I'm struggling to see how this will ever expand beyond archiving iPhone camera rolls...?
Not sure if they somehow accidentally opted in to getting HEIF from the chooser or what.. but there you go.
Something about this sequence of words reminds me of Kruppe (From the Malazan Book of the Fallen series).
It wouldn’t surprise me to see Microsoft support this, or perhaps camera makers. After all it’s 50% smaller than an equivalent JPEG, thats a nice feature.
There’s nothing stopping google from supporting it other than the fact that they seem to like to force their own standards on everyone else (locking 1080p+ YouTube behind VP9).
Even if it’s only available in the Mac/iPhone ecosystem… that’s a HUGE ecosystem. Anytime something is being sent over iMessage you can be pretty sure that the receiving device can decode that image format so you don’t have to send a JPEG or an H264 file.
The ability to effectively double the capacity of iPhones when it comes to taking pictures and/or video is a really big deal. Combined with the fact they finally got rid of the stupid 16 GB tier and even the cheapest iPhone can now hold a LOT more pictures.
It would be nice to see camera maker support, but camera makers have been more than a bit retrograde in the software department for a long time: https://jakeseliger.com/2017/09/22/if-i-were-a-camera-compan...
1) histograms for processed jpeg using a built in preset instead of the actual raw (want to know if you've really clipped the highlights? Can't)
2) no automated ETTR even on mirrorless cameras / while using live view, despite all the necessary information being available
3) no automated hyperfocal distance focusing, despite this being absolutely trivial to implement on any autofocus body
4) only 1d series canon cameras (which are used for action and sport photography, not landscape, so this feature is mostly useless) do multi-spot averaged metering, despite this being trivial and having been done on old Olympus film cameras
5) they're not programmable (i.e. focus to 5m, fire shutter after 4s, then...)
It's like they don't let anyone using the things with any skill get their hands on the firmware. Using Android would be a disaster of latency, boot times and bloat, they should just stop being terrible.
ArsTechnica discussed sharing from Photos.app in their High Sierra review:
> And when you send an image or movie via Mail or any Share extension, macOS assumes the worst of whatever device might be on the receiving end. At least for now, all of these files will automatically be converted when they’re sent.
https://arstechnica.com/gadgets/2017/09/macos-10-13-high-sie...
Now get this--HEVC encoding is faster on a last-gen iPhone than it is on a top-of-the-line current MBP!
Better yet, how good is it for the bitrate and speed? (This is the really hard part.)
The mystery deepends with video: when I do a 4k60 video, MPC-HC is listing it as still using H264 but I thought 4k60 required H265:
Video: MPEG4 Video (H264) 3840x2160 60fps 90829kbps [V: Core Media Data Handler (h264 high L5.1, yuv420p, 3840x2160, 90829 kb/s)]
Audio: AAC 44100Hz mono 92kbps [A: Core Media Data Handler (aac lc, 44100 Hz, mono, 92 kb/s)]
What am I missing?
https://encode.ru/threads/2814-Psychovisual-analysis-on-mode...
What surprises me is how fast HEIF files are on my iPhone 7 Plus (instantaneous browsing through photo library on iPhone. No different to JPEGs), yet how sluggish it is on my 2017 MBP 13". Select a .heic on your Mac and spacebar-preview it. Then select another one in the same folder and you'll see it takes a good few seconds (depending on size of image).
They may have assumed that many people would associate HEIF with HEVC (what would technically be a .heic file), and wanted to avoid confusion. But we’re still confused!
Everything about VP8 (and, by extension, webp) was such a bungled mess. You come out with a format that barely competes with something released 5 years earlier then release an image format based on it while its superior replacement is being developed and close to release?
AVC was released 10 years prior to HEVC; it had a good run and that encouraged adoption. Google barely got people to support their inferior (though mostly free) replacement before they obviated it not five years later, thus guaranteeing no one would ever bother with hardware encoding for an ever changing always outdated on arrival family of codecs.
A real shame.