
What is the encryption mechanism? Part 2

However, in the case of moving images, the quality of the image at the time of encoding will vary depending on whether the video material has a lot of movement or the video material has little movement, even if the bit rate is the same. Therefore, it is necessary to thoroughly judge and encode not only the bit rate, but also the frame rate and keyframe settings, which will be explained later, according to the video material. I hope you understand that “there is a relationship between resolution and proper bit rate” as a determining factor for high definition.

Point 2: Increase the frame rate if movement is important and lower the frame rate if image quality is important.
While the frame rate (number of frames) is set at 29.97 fps for televisions and 24 fps for movies, the frame rate is freely configurable for Internet video encoding. A video is a collection of continuous images (frames) like a flip book. The more frames per second, the smoother the movement.
In video encoding, the bit rate per second is fixed, so if you increase the frame rate, the number of images in the flip book will increase and the movement will be smoother, but the amount of data allocated per frame will decrease, so the image quality will be better to fall.
On the other hand, if you reduce the number of frames, the number of images in the flip book will decrease and the smoothness of the movement will be a little slower, but the image quality will improve because a large amount of data will be allocated to each frame. .
If you want to emphasize the smoothness of motion in a video with a lot of motion, increase the frame rate (video demo 1). On the other hand, if the video has little movement, it is not necessary to increase the number of frames as much (depending on the degree), so it is effective to lower the frame rate and give priority to improving the image quality
Point 3: insert “keyframes” at short intervals for moving images
A keyframe is a frame that exists as a single still image (an image that is not compressed between frames) and is the starting point for difference information. Depending on the encoder settings, the keyframes are inserted when there is a scene change and the difference information is inserted at regular intervals, such as XX frames and once every XX seconds.
■ Keyframes for moving images
In a moving image, things move or change significantly in a short time. Therefore, inserting keyframes at short intervals improves the reproducibility of small movements.
There is also the advantage that the search is smoother for images with many keyframes. The reason is that the search is based on keyframes, so the more keyframes you have, the easier it is to stop at the target scene. If the position where the search stops is not a keyframe but a difference information frame, the information is fetched to a nearby keyframe, but that time is short.
However, if you increase the number of keyframes too much, the keyframe bit rate will be taken over and the overall video quality will deteriorate, so be careful.
For moving images, the keyframe is approximately once every 3 seconds.
■ Keyframes for images with little movement
Since there is little difference information in a video with little motion, you won’t notice much difference in change even if there are few keyframes. However, if you insert keyframes for too long, search may not work properly and playback may take a long time to start. This is the opposite of the case where there are many keyframes, and if the rewind position is far from the keyframes, it will take time to read.
For those with little movement, the guideline for keyframes is approximately once every 6 to 8 seconds.
So far, “What is the encoding mechanism? Five points to consider for encoding HD video [Part 1]”, “Understanding the appropriate bit rate for the resolution you want to distribute”, motion oriented or image quality I explained three points how to change the “frame rate” and “how to insert keyframes” depending on whether it is important. In [Part 2], we will explain “the advantages and disadvantages of bit rate settings



