2
August
2024
16:52

Video formats used by video hosting sites

2 August 2024 16:52

We hear opinions that some videos play better on one video hosting, while others play them better on another.
I decided to compare video formats and codecs used.

YouTube (https://youtube.com)- codec VP9- the most common on YouTube, FullHD video resolution.

General
Complete name : /home/vladimir/....f248.webm.part
Format: WebM
Format version : Version 4
File size: 5.44 MiB
Duration: 5 min 5 s
Overall bit rate: 149 kb/s
Writing application: google/video-file
Writing library: google/video-file
IsTruncated : Yes
FileExtension_Invalid : webm

Video
ID: 1
Format: VP9
Codec ID: V_VP9
Duration: 5 min 5 s
Bit rate: 136 kb/s
Width: 1,920 pixels
Height: 1,080 pixels
Display aspect ratio: 16:9
Frame rate mode : Constant
Frame rate: 24.000 FPS
Color space: YUV
Bits/(Pixel*Frame) : 0.003
Stream size: 4.97 MiB (91%)
Language: English
Default : Yes
Forced : No
Color range: Limited
Color primaries: BT.709
Transfer characteristics: BT.709
Matrix coefficients : BT.709

YouTube 4K HDR video- codec VP9 in a WebM container, video resolution 3840 x 2160, frame rate 60fps, BT.2020 color space, HDR10 compatible.
General
Complete name : /home/vladimir/Moscow, Russia by Drone - 4K Video Ultra HD [HDR] [NH_c2lLpDSE].f337.webm.part
Format: WebM
Format version : Version 4
File size: 1.50 MiB
Duration: 59 s 983 ms
Overall bit rate: 210 kb/s
Writing application: google/video-file
Writing library: google/video-file
IsTruncated : Yes
FileExtension_Invalid : webm

Video
ID: 1
Format: VP9
HDR format: SMPTE ST 2086, HDR10 compatible
Codec ID: V_VP9
Duration: 59 s 983 ms
Bit rate: 194 kb/s
Width: 2 160 pixels
Height: 3,840 pixels
Display aspect ratio: 0.562
Frame rate mode : Constant
Frame rate: 60.000 FPS
Color space: YUV
Bits/(Pixel*Frame) : 0.000
Stream size: 1.39 MiB (93%)
Language: English
Default : Yes
Forced : No
Color range: Limited
Color primaries: BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance: min: 0.0050 cd/m2, max: 1000 cd/m2

YouTube (https://youtube.com)- experimental open source codec AV1, video resolution 7680 x 4320, frame rate 60fps.

General
Complete name : AV1 codec test [hSTp4iX5GsI].webm
Format: WebM
Format version : Version 4
File size: 19.9 MiB
Duration: 5 s 321 ms
Overall bit rate: 31.4 Mb/s
Writing application : Lavf58.29.100
Writing library: Lavf58.29.100

Video
ID: 1
Format: AV1
Format/Info : AOMedia Video 1
Format profile : Main@L6.1
Codec ID: V_AV1
Duration: 5 s 233 ms
Width: 7,680 pixels
Height: 4,320 pixels
Display aspect ratio: 16:9
Frame rate mode : Constant
Frame rate: 60.000 FPS
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Title : ISO Media file produced by Google Inc.
Default : Yes
Forced : No
Color range: Limited
Color primaries: BT.709
Transfer characteristics: BT.709
Matrix coefficients: BT.709

Audio
ID: 2
Format: Opus
Codec ID: A_OPUS
Duration: 5 s 321 ms
Channel(s): 2 channels
Channel layout: L R
Sampling rate: 48.0 kHz
Bit depth: 32 bits
Compression mode: Lossy
Language: English
Default : Yes
Forced : No

RuTube (https://rutube.ru)- AVC codec, HD video resolution (video parameters are beneficial for slow personal computers)

General
ID: 1 (0x1)
Complete name : /home/vladimir/rutube.ts
Format: MPEG-TS
File size: 3.20 MiB
Duration: 3 s 960 ms
Overall bit rate mode : Variable
Overall bit rate: 6,666 kb/s

Video
ID: 256 (0x100)
Menu ID: 1 (0x1)
Format:AVC
Format/Info: Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID: 27
Duration: 4 s 0 ms
Bit rate mode : Variable
Maximum bit rate: 5,000 kb/s
Width: 1,280 pixels
Height: 720 pixels
Display aspect ratio: 16:9
Frame rate: 25.000 FPS
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Color range: Limited
Color primaries: BT.709
Transfer characteristics: BT.709
Matrix coefficients: BT.709

Audio
ID: 257 (0x101)
Menu ID: 1 (0x1)
Format: AAC LC
Format/Info: Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode: ADTS
Codec ID: 15-2
Duration: 3 s 854 ms
Bit rate mode : Variable
Channel(s): 2 channels
Channel layout: L R
Sampling rate: 44.1 kHz
Frame rate: 43.066 FPS (1024 SPF)
Compression mode: Lossy
Delay relative to video : -114 ms

Nuum- AVC, FullHD 1080p is more demanding, but hardware acceleration of decoding of the AVC codec (mpeg4) is supported by many video cards
General
ID: 1 (0x1)
Complete name : /home/vladimir/nuum.ts
Format: MPEG-TS
File size: 2.22 MiB
Duration: 5 s 960 ms
Overall bit rate mode : Variable
Overall bit rate: 3,112 kb/s

Video
ID: 256 (0x100)
Menu ID: 1 (0x1)
Format:AVC
Format/Info: Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Codec ID: 27
Duration: 5 s 980 ms
Bit rate mode : Variable
Bit rate: 2,958 kb/s
Maximum bit rate: 10,000 kb/s
Width: 1,920 pixels
Height: 1,080 pixels
Display aspect ratio: 16:9
Frame rate: 25.000 FPS
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Bits/(Pixel*Frame) : 0.057
Stream size: 2.12 MiB (95%)
Color range: Limited
Color primaries: BT.709
Transfer characteristics: BT.709
Matrix coefficients: BT.709

Platform (https://plvideo.ru/)- AVC, FullHD video resolution. The video codec is the same as Nuum and RuTube.
General
ID: 1 (0x1)
Complete name : /home/vladimir/XwH-8-v1-a1.ts
Format: MPEG-TS
File size: 1.00 MiB
Duration: 1 s 500 ms
Overall bit rate mode : Variable
Overall bit rate: 5,517 kb/s

Video
ID: 256 (0x100)
Menu ID: 1 (0x1)
Format:AVC
Format/Info: Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID: 27
Duration: 1 s 600 ms
Width: 1,920 pixels
Height: 1,080 pixels
Display aspect ratio: 16:9
Frame rate mode : Variable
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Color range: Limited
Color primaries: BT.709
Transfer characteristics: BT.709
Matrix coefficients: BT.709

Audio
ID: 257 (0x101)
Menu ID: 1 (0x1)
Format: AAC LC
Format/Info: Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode: ADTS
Codec ID: 15-2
Duration: 1 s 300 ms
Bit rate mode : Variable
Channel(s): 2 channels
Channel layout: L R
Sampling rate: 44.1 kHz
Frame rate: 43.066 FPS (1024 SPF)
Compression mode: Lossy
Delay relative to video : -59 ms



Related publications