
The best format for YouTube videos is Codec. The codec is the part of the software that deals with the encoding and decoding of the information that constitutes the transmission of audio or video. The newer codecs also deal with compression and decompression, and therefore when encoding and decoding signals, they use mathematical algorithms that allow you to save storage space at the expense of quality.
Compression
In video file playback, compression is performed using mathematical functions that reduce the number of frames per second or decrease the resolution of the pixels that make up the image. In audio files, compression is performed by removing the frequencies that are not fully perceptible to the human ear and the number of bits that make up the sound information.
Container
The best option for the extension is mp4. The frame rate should be the same as that recorded and edited. The most common container formats are MKV or AVI.
Video formats
Youtube uses the HD 1080p streaming format and the MPEG-2 steam supports the DVD format and is saved with a .MPG extension. If you can’t send the video in MPEG-2 format, choose the MPEG-4 format.
MPEG-2
Audio codec: MPEG Layer II and Dolby AC-3
Audio Bit Rate: 128Kbps or higher
MPEG-4
Video codec: H.264
Audio codec: AAC
Audio Bit Rate: 128Kbps or higher
Minimum audiovisual duration
The minimum duration is 33 seconds, excluding black and static images on the video channel, as well as silence and background noise on the audio channel.
Frame rates
Videos must be at the native frame rate without resampling. As for film originals, a 24fps or 25fps progressive master produces the best results. Frame rates are typically set to 24, 25, or 30 frames per second.
It is not advisable to use resampling techniques as they allow the images to vibrate and often result in poor video quality. Examples: upsampling and transfer like “telecine pulldown”.
Dimensions
Videos must use native aspect ratios, and uploaded videos should never include the black bands of “letterbox” and “pillarbox”. The Youtube player uses frames that allow you to watch videos correctly, without cropped or stretched images.
Video resolution
YouTube would like high definition videos.
For videos intended for sale and rental, you must provide a minimum resolution of 1920 x 1080 with an aspect ratio of 16: 9.
For free or advertising content, YouTube does not require a minimum resolution, but recommends a resolution of at least 1280 x 720 for videos with an aspect ratio of 16: 9 and a resolution of at least 640 x 480 for videos with an aspect ratio. 4: 3.
If the videos are of lower quality, they are not visible to the public on YouTube and are used as a reference for Content ID. These videos generally have a “quarter” resolution, which is 320 x 240. However, the videos must have more than 200 lines to produce effective references.
Bitrate
Bit rates depend on the codec. It is the number of bits per unit of time (attention! We are talking about bits and not bytes), generally measured in KiloBits per second. For the same format, the more information per second, the higher the quality or resolution of the film or audio. Videos should be optimized based on frame rate, aspect ratio, and resolution rather than bitrate.







