Tech 101: Benefits of HEVC, HEIF File Formats in High Sierra and iOS 11

In the midst of all of the anticipation of Apple’s upcoming operating system upgrades, one major change seems to be getting less attention than others. Apple will be switching from the existing image and video compression file formats used on our devices to two new standard formats: High Efficiency Video Compression (HEVC) and High Efficiency Image File Format (HEIF). How will the change affect your photos and video? Read on for a description of the new formats and the benefits of the change.

Why The Change?
When Apple first introduced the iPhone in 2007, nobody anticipated that within a few years it would be the most widely-used still and video camera on the planet. With each iteration of iPhone, photo and video quality has improved, with files sizes getting larger. Sure, Apple’s been keeping up with the need for storage by increasing the amount included in our devices, but even with that improvement storage is barely keeping up with the rapid growth of photo and video libraries.

When you shoot a video on an iPhone with iOS 10, it uses H.264/MPEG-4 Advanced Video Coding to compress the video in real time to a smaller file size without losing too much quality. Likewise, iPhone photos are currently compressed in the Joint Photographics Experts Group — JPEG — format unless you choose to use a camera application that can capture the image without compression (RAW format).

The HEIF and HEVC formats are fairly new, with both having been finalized as standardized formats in 2015. HEIF (and HEIC, another file extension) will replace .JPG as the standard file format for photos on Apple devices, while HEVC will replace H.264 for compression and storage of video, including streaming video.

Image via 4KShooters.Net

(Image via 4KShooters.Net.)

By making this change, file sizes will be cut about in half from their current size with no loss in quality. While this has the immediate benefit of making photos and videos taken with our devices half the size of similar image and videos, it also has the future benefit of meaning that Apple and other camera manufacturers can increase the resolution and bit depth of future cameras while still keeping pace with the increase in storage capacity on our devices.

Is Apple Currently Using HEVC For Anything?
Absolutely! It’s actually been used in FaceTime beginning with the iPhone 6. This allowed the iPhone to use less bandwidth during FaceTime video calls, while providing clearer video at the same time. In FaceTime, HEVC uses a “deblocking filter” to get rid of blockiness in live video streams, producing a much more realistic looking stream. The image seen below shows an example from WWDC 2017, showing the effect of the deblocking filter.

HEVC deblocking (right). Image from WWDC 2017

(HEVC deblocking (right). Image from WWDC 2017.)

Is HEVC HDR video?
No, HEVC is not high dynamic range video. However, to support HDR10, a device would need to both be able to play HEVC video content and have support for 10-bit graphics. Guess what? The new 2017 iPad Pro models (10.5- and 12.9-inch) will support HDR video, so it’s obvious that Apple is moving in this direction. Over at Streaming Media back in June, Dan Rayburn speculated that Apple may eventually “re-encode their entire library including SD and HD videos to take advantage of the 40% bitrate reduction that HEVC can deliver…”

Rayburn also points out that the new iMacs support HDR as well, so HEVC and 10-bit graphics support are going to be big in the desktop and laptop market as well.

What Happens When I’m Sending Content In The New Formats To An Incompatible Device, Operating System or App?
When exporting, sharing or sending images or videos from an iOS device that’s able to take photos in HEIF or video in HEVC to an older device that’s not compatible with the new formats, it converts the images to the JPG and H.264 formats.

Apple has recommended to developers that their transcode HEIF files to JPG in those cases where the older device or operating system may not have the capabilities, including having apps “judge” other devices they’re sending images to and transcoding the files automatically if needed.

Finally, expect that for at least a while, many of the apps that are currently used on iOS and macOS will be unable to open or manipulate images stored in the .heif/.heic file formats. The same will be true with the video files. However, as iOS 11 and macOS High Sierra quickly saturate the market, most developers who wish to stay in business will need to update their applications to handle the new file formats.

There’s one other possibility; users can continue to shoot still images using iOS apps that currently capture RAW files, and use existing apps that manipulate RAW images. For many professional photographers who already shoot RAW by default, this is likely to be their choice for the future as well.

As soon as the final “Golden Masters” of iOS 11 and macOS High Sierra ship, we’ll take a more detailed look at HEVC and HEIF in action.