Difference between CBR (fixed), VBR (variable) and ABR (average) [bit rate]


Free Download Mp4Gain
picture

Difference between CBR (fixed), VBR (variable) and ABR (average) [bit rate]

constant vs variable bit rate

CBR (constant bit rate)
VBR (variable bit rate)
ABR (average bit rate)
There are three types.

Constant bit rate (CBR)

I will present the differences between them.

See the following article for the “bit rate”.

Reference: What is a bit rate? Relationship between image quality and sound quality [Video / Audio]
Related: Difference Between VFR (Variable) and CFR (Fixed) [Frame Rate]

Every feature
I will briefly explain each feature.

CBR (constant bit rate)
CBR (constant bit rate) is

A video with a constant video bit rate.

for instance,

Scenes with intense movement
Scenes with complex audio
Even in “scenes that require a large number of bit rates”, for example, the bit rate to be assigned is constant and

Motionless scene
Scene without audio
Even in “scenes that do not require a lot of bit rate”, the bit rate to be assigned is constant.

In this way, a video that assigns a constant bitrate to “Assign a constant bitrate!” In any scene it is called CBR (constant bit rate) video.

The following are the characteristics of CBR.

(○) Search (fast forward / rewind) is fast
Since the transfer rate is the same, you can search instantly.
(○) File size can be predicted
If you decide beforehand to “encode at XX bit rate”, you can predict the file size from resolution, frame rate, video length, codec, and so on.
(○) Easy to use as a material
In the case of video, there is no need to worry so much, but in the case of the sound source, various problems can occur such as drift of sound with VBR or ABR (so if there is a possibility that it will be used later to video edit material, etc. Better to encode with CBR)
(○) Fast encoding speed
It doesn’t change much, but unlike VBR and ABR, you don’t need to “predict” it, so encoding is faster.
(X) Image quality and sound quality are not very good for the file size
Even a monotonous scene that does not require a lot of bit rate allocation may be assigned a certain number, or a scene that requires a large bit rate may not have enough bit rate, so the image quality and sound quality for the file size. Cospa is bad
VBR (variable bit rate)
VBR (variable bit rate) is

A video whose bit rate varies depending on the scene.

VBR_figure

for instance,

Scenes with intense movement
Scenes with complex audio
In “scenes that require many bit rates”, such as assigning many bit rates and

Motionless scene
Scene without audio
For “scenes that do not require a lot of bit rate”, assign a lower bit rate.

In this way, a video that assigns only the required bitrate according to the scene, “You need this bitrate, don’t you?” It’s called VBR (Variable Bit Rate) video.

The following are the characteristics of VBR.

(○) Image quality (sound quality) by file size is the best
Compared to CBR and ABR, the image quality (sound quality) by file size is the best.
(△) Unpredictable file size after encoding
The file size cannot be predicted because the bit rate fluctuates extremely depending on the content of the material to be encoded. (However with the x264 encoder etc it is possible to predict because it puts an upper limit on the file size and allocates the maximum bit rate within that range)
(X) Old MP3 players may not play well
If you have an old MP3 player, the playing time display may be strange, the bit rate display may be strange, or you may not be able to play from beginning to end.
(X) When used as video editing material, it may cause sound drift.
For more information, see the following article
Reference: Causes and countermeasures for sound deviation [Encoding]
If you want to encode video with high image quality and low capacity, VBR is your choice.

By the way, in VBR, it is common to determine video quality by “quality standard” (CRF value in x264 encoder) rather than by “bit rate standard”.

For example, instead of saying “Encode at 192bps!”, Specify something like “Encode at


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is a bit rate?

What is a bit rate?

Audio Bit rate

The bit rate in a video is “how much information is packed in one second”.

BIT RATE

What if the bit rate is high?
Basically, the higher the bit rate, the better the picture and sound quality.

* Although it is closely related to the “codec” described later, it will basically improve.

There are two types of bit rates
Bit rates are assigned separately for “video” and “audio”.

The higher the bit rate assigned to “video”, the better the “image quality”.
The higher the bit rate assigned to “voice”, the better the “sound quality”.
Also, the sum of the two bit rates is “is called the oval bit rate (total bit rate)”. (This oval bit rate is called “video bit rate”)

▲ If you open the video file properties and open the “Details” tab, you can see “What is the bit rate?”

(However, this Windows function is unreliable, so it is better to use video analysis software like MediaInfo)

soon,

Oval bit rate = video bit rate + audio bit rate
It becomes the calculation formula.

So even if it says “bit rate is high!”, It may mean “video bit rate is high” and “audio bit rate is not high”.

In other words, in such a case, the video will be “Image quality is good, but sound quality is not good …”.

Basically, the file size of “audio” is much smaller than that of “video”, so even if you increase the bitrate of “audio” significantly, the overall size of the file will not change as much.

Therefore, “speech” is often encoded uncompressed (linear PCM).

Relationship to image quality
The higher the “video” bit rate, the more accurate the color information that can be assigned to all pixels.

as a result

High bit rates improve image quality and
If the bit rate is low, the image quality will deteriorate.

▲ High bit rate (12 Mbps, 2.57 MB) ▲ Low bit rate (90 kbps, 20 KB)
* Actually, it is a gif video, so the bitrate is not accurate.

Bit rate difference

Also, in the case of a low bitrate, if you allocate bits evenly to all pixels, you will run out of bits, so in scenes where similar colors are continuous (such as a scene where the blue sky stretches without end), etc. Try to reduce the bits preferably.

As a result, “block noise” ↓ is likely to occur in such scenes.

Block noise
▲ Example of block noise (block noise)

Relationship to sound quality
The audio bit rate is

Sampling rate (Hz) x bit depth (bit) = bit rate (bps)
It can be expressed by the formula.

For example, when recording sound as digital data

How often do you record (= sample rate)
How much data is stored per interval (= bit depth)
Decide and register.

for instance,

Sampling frequency: 44000 Hz
Bit depth: 24 bit
If so, the sound is divided and recorded 44,000 times per second, and the sound is recorded using 24 bits for every 44,000 times.

In other words, if you want to improve the sound quality, you can increase the “sample rate” or “bit depth”.

Increase the sample rate → Soft sound
Increase the bit depth → Increase the expressiveness of the sound, such as finesse and volume
Reference: Meaning and Relationship of Sample Rate, Bit Depth, and Bit Rate

Relationship to codec
I mentioned earlier that “the higher the bit rate, the better the image quality and sound quality”, but the image quality and sound quality are “codecs”. they are closely related to the “.

A “codec” is something like a “compression algorithm” for compressing “video” and “audio”.

Reference: What is video format? Codec difference

for example, “the H.264 video codec” It is a very famous codec that is also used on Youtube and Nico Nico Douga,

(Addendum: Not used now …)

“H.265” which improved the “image quality by file size” from “H.264” There is a codec called “which.

“H.265” is “H.264 at about half the bit rate of”, “H.264 will get the equivalent of image quality and”. (The compression rate is double)

for instance,

Using “2Mbps” video bit rate with “H.264 codec”
Video using “2Mbps” bit rate with “H.265” codec
If there are two videos, the image quality of “H.265” is twice as beautiful even though the bit rate (file size) is the same.

The difference between progressive download and streaming delivery

The difference between progressive download and streaming delivery

Streaming

 

When a business or organization publishes a video on the web or operates a video service, it is important to select a video distribution method.

streaming

On this occasion, we will explain the characteristics and differences between the two distribution methods, “progressive download” and “streaming distribution”.

What is progressive download?
Progressive download is a delivery technology that downloads data such as video and audio and plays them at the same time.

Sometimes referred to as “pseudo-streaming,” the video data is played back as it is saved as a temporary file on a terminal such as a PC or smartphone.

Thus, once the video data is downloaded, it can be freely viewed offline without having to go through the internet.

What is streaming distribution?
Streaming is a technology that transfers audio and video data, plays it back in sequence, and distributes the data to terminals such as PCs and smartphones without saving it.

Streaming distribution uses a dedicated streaming server for video and audio distribution and transfers only the data required for playback, making it suitable for distribution of long duration video such as movies.

Due to the technology to play while data is transferred, if the communication environment is poor, the data reception cannot be maintained and the video may stop in the middle.

Advantages and disadvantages
Let’s take a look at the pros and cons of “progressive download” and “streaming”.

Progressive discharge
merit
Even if the communication environment is bad, smooth playback is possible after the data download is complete.
Since the video data is saved as a temporary file in the terminal, the saved video data can be played repeatedly as long as the cache remains.
Operation is possible without preparing a dedicated streaming server
* Recently, streaming servers are becoming more common.
Demerit
Since the entire video file is downloaded to the terminal and distributed, it is easily copied and no copyright action can be taken.
* Recent video data security
Large video files put a strain on your bandwidth, so they take time to play.
As the number of concurrent viewers increases, the server will become overloaded and viewing will become difficult.
Transmission delivery
merit
Only the video being played is transferred to the user, so if the communication environment is stable, you can comfortably watch long and large-capacity videos.
Since there is no data left on the device, copyright-related measures such as data redistribution and falsification are higher than progressive downloads.
* Recent video data security
By using a CDN, a stable distribution is possible even if the number of concurrent viewers increases.
Reference: What is a CDN that is often used for video distribution?

Demerit
Stable playback is not possible unless the communication environment is protected.
A dedicated streaming server needs to be set up, which requires upfront and running costs.

Video Distribution Advantages and Disadvantages of High Bitrate Part 2

Video Distribution Advantages and Disadvantages of High Bitrate Part 2

Bitrate

Let’s think about the optimal bitrate for each video.
When creating a video, you need to think about how to set the optimal codec, resolution, frame rate, and bit rate yourself.

Bitrate

Then
The higher the bit rate, the better the picture and sound quality.
If the bit rate is high, the network and the playback terminal will be overloaded.
Even if the bit rate is increased, the picture quality and sound quality should not be higher than that of the original video material.
It is useful to remember that.

Also, almost all video editing software, encoding software, YouTube, and other free video publishing services commonly used when creating and publishing videos have preset settings with preset codecs, resolutions, frame rates, and bit rates.

However, the image quality of the presets is not always optimal, so use this bit rate knowledge when you need to make fine adjustments.

Video distribution Advantages and disadvantages of a high bit rate

Video distribution Advantages and disadvantages of a high bit rate

Bitrate

The video bit rate is calculated separately for video and audio and added together.

Bit Rate

The sum of the video and audio bit rates is called the oval bit rate (total bit rate).

Expressed in a formula
Oval bit rate = video bit rate + audio bit rate

High bit rate benefits
The higher the bit rate, the better the picture and sound quality, and the lower the bit rate, the worse the picture and sound quality.
However, note that if the video bit rate is high, there are cases where the video bit rate is high and the image quality is good, but the audio bit rate is low and the sound quality is poor. On the contrary, there may be cases where the image quality is poor and the sound quality is good.

High bit rate video basically has the advantage of improving image quality and sound quality, but you also need to understand the disadvantages.

Disadvantages of high bit rate
The higher the bitrate, the more net bandwidth is consumed and the more playback load is applied.
For example, increasing the bit rate from 500 Kbps to 1000 Kbps doubles the net bandwidth usage and doubles the playback load or more.

It is easy to increase the bit rate for high image quality, but if you increase the bit rate too much, the CPU will become overloaded and you may not be able to reproduce it well, so be careful.

Especially when the radio wave of the smartphone is bad or the band is limited, it may not play smoothly at a high bit rate.

Even if the bit rate is increased, the image quality and sound quality do not improve above a certain level.
In fact, increasing the bit rate does not mean that the image quality and sound quality will increase without an upper limit.

For example, if the image quality of the original video material shot by the camera is 100, even if it is converted at a high bit rate by video editing software or encoding software, a high-quality video with a quality of 100 or more image of the original video will be created. You can not.

No matter how high the bit rate is, if the quality of the original video material is poor, the quality will not be better.

Frame rate

Frame rate

Frame Rate

Frame rate is an important setting factor that affects the “smoothness” and file size of a video.

frame rate

The unit is fps (frames / second). You can also tell how many still image frames are embedded per second.

A moving image uses the image persistence phenomenon of the human eye to display still images continuously so that they can be recognized as a moving image. It is said that the ability of the human eye can recognize up to 60 fps. So if you create a video at 60fps, you can tell that the video doesn’t look jerky.
On the other hand, this frame rate has a great effect on file size. Since it is necessary to save 60 still images in 1 second at 60 fps and 1 still image in 1 second at 1 fps, the file size varies greatly depending on the frame rate.
Generally, TVs and DVDs use 30 fps (29.97 fps) and most of them are set to 30 fps (29.97 fps) or less.
Unless you really need to reduce the file size, specify 30 fps (29.97 fps).
For reference when setting less than 30fps (29.97fps), the movie is 24fps and the 1Seg TV is 15fps. It is said that it can be lowered to 15 fps for videos with little movement, such as a person sitting and talking. If you set it to 10fps or less, it will no longer be a video but a slideshow level, and it will definitely look jerky. The minimum line for video is around 15 fps.

On the other hand, for videos with a lot of motion, such as sports and action, you may feel that 30 fps (29.97 fps) at the TV or DVD level is not enough. The file size will be large and it will be difficult to send and receive it over the Internet, but if image quality is prioritized, it is worth setting it to 60fps.
Current playback devices that support 120 fps are still rare, but next-gen TV streaming standards, 4K and 8K streams are specified up to 120 fps.
2. 2. Resolution (angle of view)
It can also be said that it is the size of the area to display videos. In terms of TV streaming,
1Seg → SD → HD → Full HD → 2K → 4K → 8K How much
The higher the resolution, the larger the rendering area, so naturally the video file size will increase accordingly.

Resolution (angle of view) TV broadcast Compatible storage devices
SD (720 px x 480 px) Analog broadcast DVD
HD (1280px x 720px) HDTV broadcast
* mainly in Europe —
Full HD (1920px x 1080px) High definition transmission
* Japan, strictly speaking,
High Definition BS: 1920px x 1080px Transmission
digital terrestrial: 1440px x 1080px Blu-ray Disc
(BD)
4K UHD (3840px x 2160px) 4K UHD streaming means Ultra HD.
Streaming started on December 1, 2018 with the Next Generation Streaming Standard. Ultra HD Blu-ray Disc
(UHD BD)
8K UHD (7680px x 4320px) 8K Transmission As with
4K, streaming started on December 1, 2018. Unknown current status

When considering Internet video usage, YouTube’s maximum resolution is Full HD (HD1080). With reference to this, if resolution is prioritized, it is set to Full HD, and if file size is prioritized, it is set to SD or less.

aspect ratio
It is the aspect ratio of the resolution (angle of view). 16: 9 is the standard for televisions, and 16: 9 monitors have become mainstream for personal computers, but there are still products with aspect ratios such as 16:10 and 4: 3, iPhone 3: 2, and Andoroid 16. : is not unified like 9.
Therefore, if the prepared video file has an aspect ratio of 16: 9 and the aspect ratio of the playback device is different, it will be played back by adjusting, expanding or contracting it on the side of the playback device.
When uploaded to YouTube, videos other than 16: 9 are automatically rendered with black frames at the top, bottom, left, and right.
For those who create and prepare videos, it is very kind to prepare video files with every aspect ratio, but if you can’t take the trouble, it’s usually fine to just create a 16: 9 aspect ratio.

Video Compression: Bit rate

Video Compression: Bit rate

Video Bitrates

It is not good to increase the bitrate too much
Bit rate = it is useless to rise above a certain level
It does not mean that you need to increase the bit rate.

Video Bitrate

For example, even if you encode a video with an original image quality of 100 at an ultra-high bit rate, the image quality will not exceed 100. (If possible, 99, etc.)

It is often the case that the image quality is 95 at a 5 Mbps bit rate, but the image quality is only 96 even if a 10 Mbps bit rate is assigned.

In such cases, it is useless to assign a bit rate of 10 Mbps.

The bit rate is to maintain the image and sound quality of the original video. It is not intended to raise the bottom.

High bit rate = high playback load
The higher the bitrate, the more playback load will be placed on the PC.

If you use a unnecessarily high bit rate, you will end up with the worst video, “Although the image quality is normal, the playback load is extremely high and the file size is a huge waste.”

So if you want to encode it for your own storage,

Video resolution
Video content
Let’s think about the bitrate to be assigned.

Related: How to Calculate Video Bitrate [Ratio to File Size]

However, if you want to post to Youtube, it will be encoded on the Youtube side and set to a suitable bitrate, so it’s okay if you encode at an ultra-high bitrate for now.

Related: Enco conditions and methods for videos published on Youtube

 

Video Compression: Relationship to Resolution

Video Compression: Relationship to Resolution

Video Bitrate

Higher resolution videos require higher bit rates. (Because it increases the amount of information per frame / second)

Video Bitrate

For example

Video “1280 x 720”
Video “1920 x 1080”
If you have two videos, the latter requires more bitrate. “1280 x 720” may be sufficient bit rate, but “1920 x 1080” is not sufficient.

For “Recommended bit rate” for “Resolution”, see Youtube recommended bit rate.

Recommended encoding settings for uploaded videos (details) – YouTube Help
→ https://support.google.com/youtube/answer/1722171?hl=ja

Relationship to frame rate
If the frame rate doubles, the bit rate will inevitably double.

This is because “the number of frames per second” is doubled.

For example

30 fps (2 Mbps)
60 fps (2 Mbps)
If there are two videos,

For 60 fps, “60 sheets at 2 Mbps” should be displayed, while

For 30fps, you only need to display “30 sheets at 2Mbps”, so the bitrate is actually half.

Reference: What is the frame rate? Difference between VFR (variable) and CFR (fixed)

It is not good to increase the bitrate too much
Bit rate = it is useless to rise above a certain level
It does not mean that you need to increase the bit rate.

For example, even if you encode a video with an original image quality of 100 at an ultra-high bit rate, the image quality will not exceed 100. (If possible, 99, etc.)

It is often the case that the image quality is 95 at a 5 Mbps bit rate, but the image quality is only 96 even if a 10 Mbps bit rate is assigned.

In such cases, it is useless to assign a bit rate of 10 Mbps.

The bit rate is to maintain the image and sound quality of the original video. It is not intended to raise the bottom.

High bit rate = high playback load
The higher the bitrate, the more playback load will be placed on the PC.

If you use a unnecessarily high bit rate, you will end up with the worst video, “Although the image quality is normal, the playback load is extremely high and the file size is a huge waste.”

So if you want to encode it for your own storage,

Video resolution
Video content
Let’s think about the bitrate to be assigned.

Related: How to Calculate Video Bitrate [Ratio to File Size]

However, if you want to post to Youtube, it will be encoded on the Youtube side and set to a suitable bitrate, so it’s okay if you encode at an ultra-high bitrate for now.

Related: Enco conditions and methods for videos published on Youtube

Resume
In short, it looks like the following.

If you want to make a video that emphasizes the quality of the image
→ Increase the video bit rate

If you want to make a video that emphasizes the sound quality
→ Increase the audio bit rate (increase the sample rate and bit depth)

When you want to make a video that emphasizes movement (smoothness)
→ Increase the frame rate of the video (simply doubling the frame rate requires doubling the bit rate)

Reference: What is the frame rate? Difference between VFR (variable) and CFR (fixed)
Reference: How to Change the Frame Rate (fps) of a Video

By the way, it is a bit rate encoding method.

CBR
Vbr
APR
The “image quality” and the “sound quality” also depend on this, so be careful with this as well.

Reference: Difference between CBR (fixed), VBR (variable) and ABR (average) [bit rate]

 

Video compression: Relationship to codec

Video compression: Relationship to codec

Video Bitrate

I mentioned earlier that “the higher the bit rate, the better the image quality and sound quality”, but the image quality and sound quality are closely related to the “codec”.

A “codec” is something like a “compression algorithm” for compressing “video” and “audio”.

Reference: What is video format? Codec difference

For example, the video codec “H.264” It is a very famous codec that is also used on Youtube and Nico Nico Douga,

(Addendum: Not used now …)

There is a codec called “H.265” that improves the “image quality per file size” of “H.264”.

“H.265” is “H.264 at about half the bit rate of”, “H.264 will get the equivalent of image quality and”. (The compression rate is double)

For example

Using “2Mbps” video bit rate with “H.264 codec”
Video with a bit rate of “2 Mbps” with the codec “H.265”
If there are two videos, the image quality of “H.265” is twice as beautiful even though the bit rate (file size) is the same.

s-25-11-2015_14h09_08
▲ Image comparing H.264 and H.265
(the character part etc. is quite different)
In addition, there is an almost four times difference in picture quality between videos using the “MPEG-2” codec used in DVDs and videos using “H.265”.

Also, the image quality is almost eight times different from that of “MPEG-1”, which is the predecessor of “MPEG-2”.

In other words, if you want to achieve the same image quality as “H.265” video with “MPEG-1”, you need 8 times the bit rate of “H.265”.

By the way, the video in unzipped state without using the codec
Uncompressed video
Uncompressed video
Is named. (Also called “raw video”)

The intro has gotten long, but what I mean after all is

“If you use a codec with a good compression rate, you can maintain reasonable picture and sound quality even at low bit rates.”

That’s why

In other words, the picture and sound quality are good.

Image quality (sound quality) = high bit rate x codec type
It is decided by the formula.

Reference: Different from the type of video codec (H.264, VP9, ​​MPEG, Xvid, DivX, WMV, etc.)

Reference: Different from the type of voice codec (MP3, AAC, WMA, WAV, Vorbis, FLAC, etc.)

Reference: Difference Between Lossy Compression and Lossless Compression [codec]

What is a bit rate?

What is a bit rate?

Video Bitrate

The bit rate in a video is “how much information is packed in one second”.

What if the bit rate is high?
Basically, the higher the bit rate, the better the picture and sound quality.

* Although it is closely related to the “codec” described later, it will basically improve.

There are two types of bit rates
Bit rates are assigned separately for “video” and “audio”.

The higher the bitrate assigned to “video”, the better the “image quality”.
The higher the bit rate assigned to “voice”, the better the “sound quality”.
Also, the sum of the two bit rates is called the “oval bit rate (total bit rate)”. (This oval bit rate is called “video bit rate”)

screenshot_2952
▲ If you open the video file properties and open the “Details” tab, you can see “What is the bit rate?”

(However, this Windows function is unreliable, so it is better to use video analysis software like MediaInfo)

In other words

Oval bit rate = video bit rate + audio bit rate
It becomes the calculation formula.

So even if it says “bit rate is high!”, It may mean “bit rate of video is high” and “bit rate of audio is not high”.

In other words, in such a case, the video will be “Image quality is good, but sound quality is not good …”.

Basically, the file size of “audio” is much smaller than that of “video”, so even if you increase the bit rate of “audio” significantly, the overall size of the file will not change as much.

Therefore, “speech” is often encoded uncompressed (linear PCM).

Relationship to image quality
The higher the “video” bit rate, the more accurate the color information that can be assigned to all pixels.

as a result

High bit rates improve image quality and
If the bit rate is low, the image quality will deteriorate.
koubittore-to
teibittore-to-to
▲ High bit rate (12 Mbps, 2.57 MB) ▲ Low bit rate (90 kbps, 20 KB)
* Actually, it is a gif video, so the bit rate is not accurate.

Bit rate difference

Also, in the case of a low bitrate, if you allocate bits evenly to all pixels, you will run out of bits, so in scenes where similar colors are continuous (such as a scene where the blue sky stretches without end), etc. Try to reduce the bits preferably.

As a result, “block noise” ↓ is likely to occur in such scenes.

Block noise
▲ Example of block noise (block noise)

Relationship to sound quality
The audio bit rate is

Sampling rate (Hz) x bit depth (bit) = bit rate (bps)
It can be expressed by the formula.

For example, when recording sound as digital data

How often do you record (= sample rate)
How much data is stored per interval (= bit depth)
Decide and register.

For example

Sampling rate: 44000Hz
Bit depth: 24 bit
If so, the sound is divided and recorded 44,000 times per second, and the sound is recorded using 24 bits for every 44,000 times.

In other words, if you want to improve the sound quality, you can increase the “sample rate” or the “bit depth”.

Increase the sample rate → Soft sound
Increase the bit depth → Increase the expressiveness of the sound, such as finesse and volume
Reference: Meaning and Relationship of Sample Rate, Bit Depth, and Bit Rate