Which video codec to choose? H264 or H265?


Free Download Mp4Gain
picture

When we finish editing our issues in our editing software, the first hurdle we face (due to lack of hard disk space …) is often the format in which we decided to export our video. Digital or physical. We are faced with a list of video codec names that are sometimes difficult to enter. And which many amateur cameramen are also afraid of.

h.264 h.265

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

H.264 VS H.265

The concept of containers and codecs.

To illustrate what a container and a codec are, imagine a jar (the container) that contains letters (the codec). The video player that will “decode” this file can be compared to a person who has the key to the pot. And who will put the letters together to make words and then make meaningful sentences? In fact, the container is the file that can be related to a box or jar where the video codec, audio codec and sometimes even the subtitle file are found. If you have a video in .avi or .mp4 or .mov or even .mkv, the container will end after the period. What videographers also call ‘video format’.

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

Accompanied by the audio track which can be in mp3, AC3 or AAC, but we’ll return to the audio codecs in another article. And since we don’t 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 biggest concern in the video is this famous lack of compatibility that ALL multimedia platforms have. Play a video file if no codec package is installed yet. In fact, every codec has affinity with this or that manufacturer (Windows, Apple, etc.).

About H265 (HEVC)

Let’s be clear, this is tomorrow’s codec, which will replace the H264 very soon. Why ? One is made for UHD (4K) but also for 8K (Super Ultra HD?). It also supports HDR, which the H264 does not. And two because it offers a more optimized encryption algorithm than H264. This allows you to deliver as beautiful, if not more beautiful and more detailed, H264 image quality to a file with almost the same bit rate … but with two obvious advantages: size and quality!

Example: for a 2 hour movie in Full HD encoded with 6 Mbs in H264, you get a file of about 8-9 GB, while with the H265 codec you are at a lower bit rate (for example 5 Mbs) a file of 5 GB with the same image quality or even better! A bit rate of 10 Mbs in H265 is enough to get high quality 4K video. You will understand that the algorithm is completely different from H264. It allows streaming services to deliver 4K content without needing too much bandwidth.

But all this comes at a price …

The disadvantage of H.265 is that it consumes a lot of resources when encoding. You need a very good computer configuration to edit or export with this codec. The algorithm requires a lot of processor resources.

Another detail, it is compatible with YouTube. That was not the case before.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

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.