Understanding Video Bitrates and Codecs


Free Download Mp4Gain
picture

Understanding Video Bitrates and Codecs

Video Bitrates and Codecs
Video Bitrates and Codecs
Video Bitrates and Codecs
Video Bitrates and Codecs

Video bitrate and codec are two important concepts that every video creator should understand. In this article, I will explain what they are, how they work together, and how to choose the right settings for your videos.

What is Video Bitrate?

Video bitrate is the amount of data that is encoded per second in a video file. It is measured in bits per second (bps), or kilobits per second (kbps) or megabits per second (Mbps).

The higher the bitrate, the more data is encoded, and the higher the quality of the video will be. However, a higher bitrate also means a larger file size.

What is a Video Codec?

A video codec is a software program that compresses and decompresses video data. It is responsible for encoding the video data into a format that can be stored or streamed, and then decoding it back into its original form when it is played back.

There are many different video codecs available, each with its own strengths and weaknesses. Some of the most popular video codecs include:

H.264: This is the most widely used video codec. It is a lossy codec, which means that some data is lost during the compression process. However, H.264 is very efficient, and it can produce high-quality video with a relatively small file size.
H.265: This is a newer codec that is designed to be more efficient than H.264. It can produce the same quality of video with a smaller file size.
VP9: This is a free and open-source video codec that is developed by Google. It is similar to H.265 in terms of efficiency, but it is not as widely supported.

How Do Bitrate and Codecs Work Together?

Bitrate and codec work together to determine the quality and file size of a video. The higher the bitrate, the more data is encoded, and the higher the quality of the video will be. However, a higher bitrate also means a larger file size.

The codec determines how the video data is compressed. Some codecs are more efficient than others, and they can produce the same quality of video with a smaller file size.

How to Choose the Right Bitrate and Codec for Your Videos

The right bitrate and codec for your videos will depend on a number of factors, including:

The intended use of the video. If you are uploading your video to YouTube, you will need to choose a bitrate that is compatible with YouTube’s streaming requirements.
The target audience. If you are creating a video for mobile devices, you will need to choose a lower bitrate than if you are creating a video for high-definition televisions.
The file size. If you are limited by the file size, you will need to choose a lower bitrate.

Final Words About Video Bitrates and Codecs

Video bitrate and codec are two important concepts that every video creator should understand. By understanding how they work together, you can choose the right settings for your videos to ensure that they are both high quality and have a reasonable file size.

I hope this article has been helpful. If you have any questions, please feel free to leave a comment below.

Bonus Tips

If you are not sure what bitrate or codec to use, you can always start with a high bitrate and then lower it until you find a balance between quality and file size that you are happy with.
You can use a video bitrate calculator to help you determine the right bitrate for your videos.
There are many different video codecs available, so it is important to do some research to find the best codec for your needs.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Can you really hear the difference in the sound quality of music?

Can you really hear the difference in the sound quality of music?

difference in the sound quality of music
difference in the sound quality of music

A brief discussion of the principle of audio compression

difference in the sound quality of music
difference in the sound quality of music

 

grade headphones – performance, equipment – can you really hear the difference in music quality? A brief discussion of the principle of audio compression
When you listen to music, most of the time the format being played is MP3 or AAC.

Both formats are smaller formats in which the audio is processed and compressed. To reduce size and save space, they actually remove a portion of the sound signal compared to the original audio. But can you hear it?

In this article, we will introduce the principles of music compression and discuss a question: Does music compression really affect the music you listen to?

The principle of musical compression.
Most of the digital audio we receive every day, whether played online or stored as a file, uses the principle of lossy compression. Lossy compression not only compresses the data, but also deletes the original data, and with lossy compression, some data is gone forever.

But keep in mind that this censored data is not randomly selected. Audio compression formats apply psychoacoustics to remove sounds that are beyond our hearing range and that we are not aware of.

audio compression – operation, equipment – can you really hear the difference in music quality? A brief discussion of the principle of audio compression
The human ear has a hearing range of about 20 Hz to 20 kHz, and sound signals beyond this range cannot be detected even if they are removed. And as we age, the range of hearing decreases. Therefore, it can be said that the sounds that everyone hears are not really absolutely the same, even if they come from the same sound source.

The audio below can help you find your hearing range, you can listen to it with headphones to see how far away you can hear the sound signal. Be careful to control the volume at any time during the listening process, otherwise it may damage your hearing.

Also, when high-frequency sounds and low-frequency sounds are present at the same time, high-frequency sounds will be more difficult to hear clearly. For example, the constant drumbeats in the music can cause you to ignore the slight differences between the melodies.

This phenomenon is called “shadowing” and is used in the principle of compression. If there are louder low-frequency sounds, it can mask the sonic loss of high-frequency sounds. High and low here are relative, so this principle can be applied globally. But sounds above 15 kHz are more susceptible to masking, so that’s also a prime issue for compression.

Although it is obvious that the sound signal removed by lossy compression should be mostly useless data, there are still people who believe that these “ambient sounds” being removed will affect the three-dimensionality of the sound and flatten it.

In general, the key to lossy compression is finding a balance between reducing size and preserving sound quality.

What video bitrate is appropriate for video?

What video bitrate is appropriate for video?

Video Bit Rate
Video Bit Rate

At present, 720p video recommended minimum bitrate is above, h.264 encoding 2M bitrate is adequate, 1080p is 4M enough
to get a high-quality video, convert it with different bitrates, and then compare the image quality.

Video Bit Rate
Video Bit Rate

The most commonly used are: h.264 encoding, 1080P, 2.5M bit rate or more.
Summary: [h.264 encoding, 2.5M bitrate (up to 4M), maximum 4M bitrate (add 2M to target), most platforms are Blu-ray. 】

1. If the bitrate is higher than the original video, it will not be a bit higher than the original video. When you move, you’ll pick a lower point to compress the file a bit.
2. 1080P 1M bitrate has distortion feeling to watch on computer, and 2M can’t see distortion, you can adjust the bitrate to 4M to get the best.
The following are the bitrate upload requirements for a platform:

How much video bitrate is appropriate (above H.264 bitrate, 720P, 1080P output bitrate setting)

How much video bitrate is appropriate (above H.264 bitrate, 720P, 1080P output bitrate setting)

***Normal 240p, 320p SD, 480p HD, 720p Ultra HD, 1080p Full HD (Blu-ray), 2K, 4k Ultra HD ***
Normal 240P (320×240 standard resolution, it was 3GP, this is basically nobody used)
SD 270P<0.8M (360×270 standard resolution, was 3GP, rarely used) [140M when storing 422 materials]

High definition 480P (360P)>=0.8M (standard resolution of 640 × 480, minimum 480 * 360, was 3GP) [480 re-advertising is called high definition, but the normative statement can only be regarded as standard definition]

What is the difference between 128k and 320k music? Part 2

What is the difference between 128k and 320k music? Part 2

Bit Rate

In simple terms, we can think of a sound wave as a curve.

Bit Rate

We know that the curve is made up of points, and the sampling rate is the number of points in the middle of the length per second (the horizontal axis in the figure above). Sampling precision is the number of points in the dynamic range (upper vertical axis). The finer the positioning of these two dimensions, the greater the true sound restoration and the better the sound quality. Of course, the larger the audio file will be. The customer mentioned by the above colleague said that the latest Hi-Res Audio format released by SONY is a 6-channel 192kHz/24-bit recorded audio file. The size of the lossless format, of course, will be more than 200 megabytes.

The sampling frequency is approximately the following depending on the type of use (k is the thousand-bit symbol, 1khz=1000hz):

8khz: used for phones etc, is enough to record human voices.

22.05khz: transmission use frequency.

44.1kb: Audio CD.

48khz: used in DVD and digital TV.

96khz-192khz: used for DVD-Audio, Blu-ray HD, etc.

The common range of sample precision is 8 bits to 32 bits, with 16 bits generally used on CD.

Having said that, my friends are starting to get confused. It’s not the bitrate that determines the sound quality, so why is everyone saying that 320kb sound quality is better than 128kb?

【Audio Compression】

Well, in fact, the bit rate should be said to be another dimension, it is a compression of audio files.

Nowadays, most of the audio formats we use regularly are based on the original “WAV” file of the audio CD (44.1khz sample rate, 16bit sample precision, 2ch). The original recorded sound data is stored in a matrix, which is in PCM format, while WAV format is an encoding format developed by Microsoft. Its function is to reproduce the data in PCM format through encoding.

Since the data in WAV basically completely restores the PCM data, MP3, AAC and other lossless encoding formats are basically recompressed based on the WAV files. Therefore, we can simply think that WAV is the original audio format and other audio formats are compressed formats.

When it comes to compression, storage and transmission are inseparable. The purpose of compression is to improve storage and transmission, so before we talk about compression, we need to understand the basic units of computers.

We all know that the computer is a binary number system, and the files stored by the computer are made up of two numbers, 0 and 1. Therefore, the computer’s transmission is based on each number, and each number is called 1 ” bit”. For example, for an audio piece, its basic data is “0,1,1,1,0,1, 1 ,0”, and when transmitting, these numbers are transmitted one by one. The sampling precision mentioned above is this unit.

The storage unit of the computer is “byte (Byte)”. In the computer, 1 byte consists of 8 bits, that is, 8b(bit)=1B(Byte). In computer parlance, data storage is expressed in decimal and data transmission is expressed in binary, so 1KB=1024B=1024×8b. This is also part of the reason why the hard drive capacity we see does not match the actual capacity.

Go back and talk about audio compression, the bitrate of the audio is actually the compression ratio. So the bitrate really just defines the size of the file, but because under normal conditions the larger the file, the less data you lose, so the sound quality is relatively higher. However, the bit rate itself does not directly affect the quality of the file. For example, if we take a 128kb file as the source file, even if it is converted to a 320kb file, the sound quality will not be better than 128kb. .

What is the difference between 128k and 320k music?

What is the difference between 128k and 320k music?

Bit rate comparision

192k is a turning point. Below 192K, the sound quality is relatively damaged, especially the high-frequency part above 16Khz will be cut off.

bitrate

In a nutshell, mp3s above 192k can no longer be listened to with CD sound quality on ordinary home devices, except for Golden Ears and Hifi devices. Of course, these data are not 100% reliable. There are always people on the internet sharing fake mp3 above 192K. In fact, they are converting low bitrate music to high bitrate through software, but the sound quality will not improve. be improved. Windows Media Player compresses it. The resulting mp3 is absolutely wonderful, no matter how high the compressed bitrate is, it will cut perfectly around 16K.

Some time ago, a colleague came across a very troubled client. The mess was said to have been caused by the client asking him to provide song files larger than 100MB-200MB in size. And my colleagues don’t know much about audio formats, so they started endlessly fumbling about FLAC, WAV and audio size. In the end, the colleague did not explain to the client what was going on.

After that, other things happened that made me feel that in the music industry there are too many practitioners around me who have an extremely poor understanding of music and even lack some basic knowledge related to music. I don’t even have the idea to understand, which makes me very sad. It seems that music has only one merchandise attribute, and our practitioners only need to organize the shelves, encode various merchandise, and use the big data of users’ purchase records to recommend merchandise to users, no matter why to users. they like this. features that these products have, and use cold data to provide users with various services.

Therefore, I think it is necessary to write something. I don’t expect practitioners to become people who really love music. I just hope that even if you still think of “her” as a commodity, you can first figure out what you’re selling. and what is..

PS: The content of the first lesson is about media files. Since the relevant content involves a lot of technical stuff, it seems a bit boring, but if you read it carefully, you will find that it is actually very easy to understand, but this basic knowledge can be very helpful.

Bit Rate, Sample Rate, Lossless, MP3, FLAC, APE, 320kb, 192kb, 128kb, 44.1khz, CBR, VBR. Does this bunch of various names make you both familiar and unknown?

The higher the bitrate, the better the sound quality. Lossless music is the highest sound quality, right? So, let’s start with the sound collection.

【Audio composition】

Nowadays, when we talk about audio, everything is digital audio. Digital audio consists of three parts: sample rate, sample precision, and number of sound channels.

Sample Rate: Both the sample rate, which refers to the number of samples per second when recording the sound, expressed in Hertz (Hz).

Sampling Precision: Refers to the dynamic range of the recorded sound, measured in bits (Bit).

MP3 Bit Rate Guide – Quality and Differences Explained

Bit rate Quality

When compressing audio and video files, the MP3 bit rate indicates how many bits are available to the decoder to encode exactly one second of a track. The higher the bit rate of the MP3 file, the better the quality achieved. The bit rate can be constant (constant bit rate, CBR) or variable (variable bit rate, VBR). Our guide explains the differences.

Bitrate  Quality

MP3 has established itself as a leading music format on the Internet in recent years and all popular MP3 players support this format. It was developed by the Fraunhofer Institute and is now considered the best known standard for Audiocodierun g. But where are the differences in the jungle of MP3 bit rates?

What MP3 bitrates are there anyway?

A distinction is made between the following common bit rates for MP3 files:

32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 kBit / s.

This increases the quality of MP3s, but also the size of the files created. Compared to the original, an MP3 file only requires about 10 percent of the original storage space.

Starting at a bit rate of 192 kbit / s, you can hardly hear any difference from the quality of the original CD in many pieces of music.

Low bit rates: 32 to 128 kBit / s
Average bit rates: between 128 and 192 kBit / s
High bit rates: more than 192 kBit / s

What is the best bit rate for MP3 compression?

Again and again the question arises of what bit rate to select when converting songs to MP3 to achieve roughly CD quality. An MP3 compression with 192 kbit / s variable bit rate here is an ideal compromise between size and quality.

At just 128 kb / s, you can often hear a distinct difference from the original songs on CD. Music pieces with a lot of dynamics suffer more if the compression is too high (weak bass, lack of treble). So here it is better to use a higher bit rate.

How does the quality of bit rates differ depending on the compression method?

Constant Bit Rate (CBR)

With constant bit rate, each unit of time (for example, one second) is always allocated the same amount of storage space in the entire MP3 file. Therefore, the quality may vary depending on the piece of music. For this, the size of the resulting file can be calculated more precisely.

Variable Bit Rate (VBR)

Variable bit rate is usually the best compression method for normal use, as it can be used to produce consistent high quality. With Acapella parts, 320 kBit / s are not required, as only a few complex frequencies need to be encoded here. However, if you are playing a full orchestra, 128 kBit / s is usually not enough to cover the entire frequency spectrum of the various instruments. Depending on the piece of music, more bits are used when they are important, or those that are not can be omitted. In return, the file size varies more.

Average Bit Rate (ABR)

Some MP3 encoders also support average data rates. Technically, this variant is almost identical to Variable Bit Rate (VBR). Here, too, the encoder software always tries to achieve a uniform quality of the musical piece. However, the bit rate achieved often deviates slightly.

As an example: if you want a target bit rate of 128 kBit / s, then the bandwidth of the achieved bit rate is between 120 and 140 kBit / s. To achieve the desired average bit rate as accurately as possible, some codecs offer a two-pass compression process. The material is analyzed first and is only encoded in the second run. The ABR mode corresponds to a mix of CBR and VBR and is therefore qualitatively more in the middle.