Heif and hevc the future of multimedia files explained – androidpit apple cider nutrition facts

The first term refers to a digital container in which photos and other data with different extensions can be stored, such as JPG, but not only. The second term refers to a video encoding system whose result can be stored in different digital containers such as, for example, MOV or even HEIF, as mentioned above. Confused? Let us make it clear.

Acronym of high efficiency image file format, HEIF is a format used to contain single or multiple images. Files using this format can host at the same time high quality images compressed with the HEVC codec (which we will talk about later) and further information related to these images also of a different type.

These operations are saved inside the container as instructions for the imager to perform. This means that the original image is not changed (it preserves the shot, it is not overwritten with changes) or compressed again at the end of the operation, thus avoiding loss of quality.HEVC codec


The HEIF introduces also a framework for other non-destructive editing operations that can be clarified by external specifications. Once these operations are applied, the result is known as a derived image.

• derivative images: this type of non-destructive editing allows the image viewing software to apply a set of instructions "on the fly" without destroying the source image as described above.

• image sequences: multiple images that share certain properties such as close shooting time, their properties, and their thumbnails. This format is used mainly for serial exposures or cinemagraph animations.

Also known as H.265, it is the successor of the now universally used AVC/H.264. It is a high efficiency compression standard that can support resolutions up to 8192×4320 and 8K UHD. HEVC has been designed with the aim of reducing the bitrate in video while maintaining the same quality at the cost of greater computational complexity.These formats this codec is also used to compress images inside the HEIF containers described above.

As already happens in the H.264 codec, HEVC controls the frames of the image stream in search of areas where they are redundant both within the same image and within consecutive frames. These redundant areas are then replaced by a description of the area itself instead of the individual pixels in order to occupy less space in the memory.

Key changes for HEVC include expanding the areas of model comparison and encoding differences from 16×16 pixels to 64×64 pixels, improving variable size segmentation, better intra-forecast within the same image, better motion vector prediction and motion region fusion, better motion compensation filtering, and a further filtration step called adaptive sample offset filtering.

The first taste of the HEVC codec comes from 2012 when qualcomm, during the MWC, showed a tablet equipped with soc snapdragon S4 dual core able to play the same video encoded in H.264 and H.265 side by side.HEVC codec the video in HEVC already showed 50% bit rate reduction at the same quality.

2014 saw the first introduction of the codec on consumer mobile devices thanks to apple that used the standard for facetime video calls over data network via iphone 6 and iphone 6 plus.

The first mobile soc with specific hardware dedicated to HEVC decoding arrived in 2015 from nvidia who used a decoder on its tegra X1 similar to the one inserted a few months earlier in the geforce 900 series video cards. Where do we find these formats?

HEIF and HEVC files can be found on some of the most modern devices. For example, apple has introduced support for this type of file on ios 11, so you can capture photos and record videos in high efficiency formats on iphone 7 and later (playback is supported up to iphone 5S but with limitations). Of course, some ipads with ios 11 and macs updated to macos high sierra can also play these files.Same quality

Apple uses the .Heic (.Heics for image sequences) extension for images, but supports playback of .Heifs (.Heifs for image sequences) files produced by third parties. Recorded videos are saved by apple devices in .Mov format like normal videos but are still encoded using the HEVC/H.265 codec.

In the android world, official support for these formats has arrived at different times: HEVC is supported since android lollipop while HEIF was introduced only recently with android P (available in a first developer preview) even if the google pixel camera application of first or second generation still does not have the option related to their use.

Samsung allows you to record HEVC encoded video files on the new galaxy S9 and S9+ even if it does not have the HEIF format for saving photos. It seems that the xiaomi mi MIX 2S will also have HEVC codecs for videos.

HEIF containers can also be used on web pages according to HTML 5.2 standard in order to store different versions of the same photo and leave to the browser the task of deciding which to upload and use according to different situations.These formats why use HEIF and HEVC?

The main reason we should encourage ourselves to use these new image and video file formats is because they are more efficient. As we know, on smartphones the available space is never enough and thanks to these formats it is possible to store the same number of files at the same quality but in less space or the same number of files in higher quality but occupying the same amount of memory.

According to the HEIF standard, it is possible to save twice as much information in these files as in a JPG file of the same size and even higher quality. To say that the result is impressive is understatement.

In addition, HEIF/HEIC files (and all derivatives) may contain information about source image transformations without altering the original. This allows you to edit your photos on a device, save the result and can undo or make further changes later and on a different device without affecting the quality of the original image.HEVC codec

For example, on a JPG file it is not possible to reverse the editing process later and the image quality deteriorates with every saving due to the continuous switching through the JPG compression algorithm.

The same efficiency is true for videos encoded with HEVC (H.265): this video codec is able to offer twice the compression at the same quality level as an AVC encoded file (H.264) or a substantial increase in quality with the same bit rate. The practical use of the improvements introduced requires more power during encoding and compression but much less computing power during decompression and playback.