H.264, H.265 and H.265 + video codecs. Pros and cons

H.264, H.265 and H.265 + video codecs. Pros and cons

H.265

The first versions of H.264 video compression codecs appeared in 2013. Today, the Н.265 format has confidently entered the video surveillance market and dictates its own terms. Many manufacturers produce equipment that supports this video compression format.

H.265 / HEVC

The H.264 compression format, unlike previous MJPEG and MPEG-4 codecs, enables you to efficiently solve the problem of streaming a large number of high-definition video streams.

Using H.264 in IP video surveillance systems provides high image quality with less data, requires less network bandwidth, and fewer hard drives to store video files. However, there is also a downside of fat. Using H.264 places heavy loads on IT equipment.

To increase the efficiency of the use of computing resources, developers apply various methods. For example, transfer part of the operations to the video card. Thanks to this, the video card can take care of part of the decoding calculations. The use of this feature provided a reduction in processor load up to two times, and the possibility of using processors of lower power, and therefore the cost.

Transferring decoding operations to a video card also allows you to save not only on the server, but also on the client side of the video surveillance system. To use this function, in the configuration of the client part of the software, you must specify where to perform the processing: on the central processor or on the video card.

To reduce the load on IT equipment, video analysis technology of compressed video streams from IP cameras without their complete decoding is also used. The use of this technology leads to an increase in data processing speed, thereby reducing the load on the central processor. In addition, the decrease can reach an average of 4 times.

Thanks to this, it is possible to connect 4 times more cameras to one server. Another option to save is the use of less powerful processors and, therefore, more budgetary, and a decrease in the cost of the server equipment.

Another disadvantage of the H.264 codec is that most web and mobile clients for video surveillance systems do not support this format and, to receive a video image, a procedure is required to transcode the video stream into MJPEG. Such an operation is resource intensive and places additional loads on computing resources.

H.264 processing is possible with sufficiently powerful computing resources of a mobile device. If resources are insufficient, the video stream is automatically switched to the MJPEG format. And the user himself can independently choose the format of the video transmission.

As you can see, the H.264 codec used for video surveillance has many pros and cons. However, a heavy load on computing resources often nullifies all benefits.

The new H.265 format supports even more uploads. It uses stronger and more advanced video compression algorithms in its work. With the same visual quality, the new H.265 codec represents an approximately double reduction in file size compared to its H.264 predecessor. This saves a lot of space on the disk space of video recorders and servers. And half the bit rate reduces traffic on video transmission networks.

Thanks to more powerful compression mechanisms, the H.265 codec does an excellent job of encoding high and high definition video over 8K UHD (8192 × 4320). In addition, for high-quality video playback at 4K codec resolution, a transmission speed of only 50MB / s is required.

It is important that H.265 compress the video almost without loss, the quality of the compressed video is kept at a high level. Special compression algorithms eliminate artifacts inherent in H.264, such as graininess or blurry edges of moving objects.

But the main advantage of the H.265 codec is that the volume of video processed according to the new standard turned out to be almost 85% lower than when using H.264. However, the H.265 codec requires more powerful elements and processors in the hardware.

Moving towards increasing video compression, the H.265 + codec recently appeared on the market that allows you to reduce the bit rate of video cameras, which in turn reduces the cost of implementation and uses fewer matrices of disk for storing video files.

H.265 + improves the compression ratio through three key technologies: predictive encoding technology, background noise suppression technology.

COMPRESSION AND VIDEO FORMATS

COMPRESSION AND VIDEO FORMATS

In the world of digital video production and distribution, few topics are as complicated and confusing as the choice of format to use.

There are many reasons.

First of all, it must be said that not all video formats are compatible with all digital platforms.

This can lead to major problems with the input, output, upload and download of the required files.

Therefore, one cannot generally speak of the “best video format”.

video formats

A lot depends on what you need and which platform you should use.

Second, video formats can cause big problems because there are so many of them.

And to make things even more complicated, a large number of these formats are now largely out of date.

In this article I will reveal everything I know about this topic.

I have to be honest: for me, like most filmmakers, this has always been a difficult topic.

I still remember the hours I spent with my editor trying to figure out which video format could best be sent to the manufacturer.

video formats

I will never forget the call in the middle of the night from one of the most famous Mediaset producers who yelled at me: “Hello Francesco, you cannot see the file you just sent me.”

I hung up and after banging my head against the wall, I called the editor to tell him what had happened.

Finally, you need to realize that a video format is more than its file extension.

The term “video format” per se confuses people because it contains two different components: the codec and the container.

With that premise, we can get to the heart of this article, which, believe me, was really hard to write.

1) Let’s start with the vocabulary

First, here is a list of the most commonly used words:

A) FRAME / RATE SPF

The number of frames per second.

I recently wrote an article on this topic, which you can find here.

B) VIDEO SIZE

This data is used to measure the width and height of the video.

The most common measurements are (in pixels):

426 x 240 (240p)
640 x 360 (360p)
854 x 480 (480p)
1280 x 720 (720p)
1920 x 1080 (1080p)
2560 x 1440 (1440p)
3840 x 2160 (2160p)

C) PROPORTIONS

The aspect ratio of an image describes the proportional relationship between width and height.

D) CODEC

Codecs are programs that digitally encode and decode data, making it easy to store and reproduce.

When it comes to codecs, it basically means that our video file has been compressed.

After compression, this file must be stored in a container, which we will discuss later.

There are different types of codecs, e.g. B. the recording codec.

This is the software that your camcorder uses to compress your movie files.

Then there is the export codec, which is instead the format we assigned to our output video.

Finally we have the codec for the master in which we will save our final project.

The most common codecs are:

MJPEG
MPEG-4
H264
H265
WMV
PRO RES
DNxHD

Let’s see them together:

MPEG-4

The ‘MPEG-4 is one of the most popular codecs in the world.

It was introduced in late 1998 and is mainly used for applications such as video telephony or digital television, for streaming films over the Internet and for storing CD-ROMs.

The advantage of MPEG-4 is, in fact, the ability to compress a two-hour video on a CD for a high quality result.

Thanks to this, MPEG-4 has become very popular with users around the world.

Today, MPEG-4 is compatible with a wide range of devices, from satellite television to cell phones.

H264

The H264 is part of the latest generation of codecs and offers high quality videos with relatively low bit rates.

The standard offers up to double MPEG-4 compression.

In addition to improving the quality of perception, the H.264 standard can deliver high quality DVD-Videos with less than 1 Mbit / s.

Personally, I use H264 for the videos that I upload to YouTube.

H265

L ‘H265, also known as High Efficiency Video Coding or HEVC, is the latest in a long line of video codecs.

Like its predecessor, the H264, the H265 was developed by the ITU-T Video Coding Expert Group for the broadcasting industry.

Compression is great for H264, but is used for resolutions of SD, HD and 4K films.