Recording standards H.265 and H.264 (MPEG4)

Recording standards H.265 and H.264 (MPEG4)

H.264 H.265

Compression standards for video have been around since the advent of the IP Internet Protocol and are used in a variety of areas, from Internet video conferencing and broadband communications networks to digital TV, video surveillance, and mobile IP networks.

H265/HEVC - what you need to know - Createinmotion

At the moment, the most widespread and popular digital video encoding format is H.264, but manufacturers and consumers are paying more and more attention to the H.265 or HEVC (High Efficiency Video Coding) compression standard. Let’s take a look at its advantages and disadvantages.

H.264 and H.265 compression standards

What is the advantage of H.265?

The H.265 compression format uses only half the bit rate of the H.264 format, which means that you can transfer more information over the same bandwidth and reduce the cost of hardware “hardware”.

But despite this clear advantage, the H.265 format is still far from mainstream adoption. Can you do anything with the H.264 format so far? In fact, taking into account the growth of modern technologies and the popularity of video content, the bandwidth requirements of the channel and the amount of data stored are also growing.

The popular H.264 codec now doesn’t stand still, and its bitrate is optimized in three ways: predictive encoding, noise suppression, and “long-term” bitrate control. As a result, we managed to reduce the occupied video memory by up to 75%, which means that the H.264 codec will compete with the new H.265 codec for a long time.

H.265 Complexities

Since the H.264 codec is being finalized and has been used for a long time, manufacturers are in no rush to invest in equipment modernization. And according to the results of tests of the Н.265 codec by various teams, the conclusions turned out to be ambiguous. In a real comparison, the codecs did not differ much in the size of the video stream. But many gamers had trouble playing the new codec. The difference in video quality was noticeable only at the minimum setting (200 kbps). The H.265 image turned out to be more detailed, which can be useful in video surveillance to recognize license plates at the entrance.

An additional difficulty in the implementation of the H.265 codec is the higher cost of the patent, which means that the cost of the final product will also increase for the consumer, not everyone is ready for this. Modern video equipment is constantly evolving, the quality of the video signal is improving, and the cost of components is increasing.

Enhanced H.264 codec

Another reason for postponing H.265 was the introduction of optimized H.264 encoding technologies by popular manufacturers, using various modern technologies.

Optimized H.264 Technologies

Optimized H.264 technologies use predictive coding to reduce the bit rate spent on an unchanging background image.

Predictive coding

In a simplified version, this encoding is explained in the image. The static background is separated from moving objects and simplified, the bit rate is significantly reduced, the optimized encoding reduces the volume of video transmission.

H.264 + technology

Hikvision has developed a next-generation H.264 + compression standard. The video camera detects the moving parts of the frame and encodes them with higher bit rate content; less bit rate is assigned to static parts. In addition, the standard H.264 / AVC codec is used, with which you can view and store videos on compatible devices. The only thing is, H.264 + can’t add or subtract keyframes automatically.

Noise reduction

H.264 encoding can effectively suppress various noises that occur during signal recording and transmission. This could be unwanted electrical signals, blurry pixels caused by fluctuations in light, temperature, or other external interference. By intelligently coding foreground objects, the image becomes sharper and more accurate in color.

So is H.264 encoding better than H.265?

With the above in mind, let’s draw conclusions: H.264 encoding offers nothing less than the offerings of the H.265 standard. Also, H.264 is compatible with all existing systems, is more common, and costs less.

As a result, the H.265 standard offers up to a 50% advantage in video streaming compression: you will save on hard drive size or increase drive life.

Which video codec should you choose? H264 or H265?

When we finish editing our problems in our editing software, the first obstacle we face (after lack of hard disk space …) is often the format in which we decided to export our video. Whether digital or physical. We are faced with a list of video codec names that we sometimes have trouble entering. And that also scares many amateur friends.

Which internet user has never searched for a codec or codec package to play a video. And if not, then at best you only heard the audio … As I wrote in another article, the video codec will mainly depend on the medium in which your video is sent in. In fact, it is not as simple as the image, which is often enough to export in jpeg or other format so that it can be seen anywhere. Video has this major drawback choosing the correct codec based on streaming platform.

codec

The concept of containers and codecs.

To illustrate what a container and a codec are, imagine a jar (container) containing letters (codec). The video player that will “decode” this file can be compared to someone who holds the key to the pot. And who puts the letters together to make words and then meaningful sentences? Basically, the container is the file that can be related to a box or jar that contains video codec, audio codec and sometimes even the subtitle file. When you have a video in .avi or .mp4 or .mov or even .mkv, the container ends after the period. What videographers are also used to call “video format”.

For example, for .mp4, the container is MP4. So far so good. And then in this container there can be Mpeg4, H264 or x264, which are video codecs.

Accompanied by the audio track which may be in mp3, AC3 or AAC, but we will return to the audio codecs in another article. And since we don’t just like doing things in the video, these video codecs can also be found in other containers …

Yes, otherwise it would be too easy. So the main concern found in the video is this famous lack of compatibility that ALL multimedia platforms have. Being able to play a video file if a codec package is not installed before. In fact, each codec has an association with this or that manufacturer (Windows, Apple, etc.).

The main containers

My goal here is not to make a complete list of existing containers today. But rather to give you the most useful, the most widespread. And especially its compatibility according to the multimedia support you want to distribute them to.

mp4.MP4
So it can contain Mpeg4, H264, x264, XAVC, VP9 (YouTube codec), H265 and even Mpeg2 (super logical, we agree …). That’s why so many people get confused with codecs! MP4 is widely used, but unfortunately it is not supported everywhere. It runs on the latest smartphones and tablets. But this does not happen in, for example, multimedia DVD players that have a USB port, such as

.mov.MOV
The Apple-owned Quicktime container. Very popular with publishers on Mac with Final Cut. This container can contain a sacred package of codecs (DV, Divx, WMV, Mpeg2, H264, x264, DVCPRO …). But unfortunately it is only almost compatible only on Apple (Mac, Ipad, Iphone) and PC after installing Quicktime.

.avi.AVI
The King Container from the 2000s, but which I think is destined to disappear very soon. Except for those who want to watch standard definition videos. It may contain DV, Divx 5, Xvid and even H264 codecs, but I do not guarantee the comfort of reading or editing with this container for HD content. Except for HDV format.

mkv.MKV (Matroska)
The successor to AVI for HD, Full HD, 4K and also 8K! Free Container is the container I advise you to use when exporting your videos (or RIP for your Blurays) 🙂 so they are compatible almost everywhere. It can contain Divx, Xvid, Mpeg2, Mpeg4, H264, x264 and H265 (also called HEVC, the new codec), and you’ll probably forget it. It has great advantages over other containers. For example, managing subtitle tracks in various formats, chapter support. You can also embed attachments, such as illustrations, for example (cover or cover). And finally, it also allows you to “chapters” from videos like Bluray’s creation.

.mts.mts.MTS (and .M2TS)
The AVCHD (Advanced Video Codec HD) container is often found on Sony and Panasonic cameras. It is MPEG-4 and it also has a declination for Bluray discs that are M2TS (Mpeg 2 TS).