MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
614 stars 168 forks source link

Profile & Level not detected in H.266 VVC + AC3 streams in TS Container #1960

Open FranceBB opened 4 months ago

FranceBB commented 4 months ago

As part of #1942 Mediainfo 24.01 is supposed to be able to report info about the Profile and Level used to encode H.266 VVC files muxed in a .ts container, however this doesn't happen with the following samples:

as the following is reported:

Chicago Fire FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts

General 
ID : 13124 (0x3344) 
Complete name : Chicago Fire FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts 
Format : MPEG-TS 
File size : 154 MiB 
Duration : 1 min 43 s 
Overall bit rate mode : Variable 
Overall bit rate : 12.6 Mb/s 

Video 
ID : 336 (0x150) 
Menu ID : 21862 (0x5566) 
Format : VVC 
Format/Info : Versatile Video Coding 
Codec ID : 51 
Duration : 1 min 43 s 
Bit rate : 11.5 Mb/s 
Stream size : 142 MiB (92%) 

Audio 
ID : 337 (0x151) 
Menu ID : 21862 (0x5566) 
Format : AC-3 
Format/Info : Audio Coding 3 
Commercial name : Dolby Digital 
Codec ID : 129 
Duration : 1 min 43 s 
Bit rate mode : Constant 
Bit rate : 384 kb/s 
Channel(s) : 2 channels 
Channel layout : L R 
Sampling rate : 48.0 kHz 
Frame rate : 31.250 FPS (1536 SPF) 
Compression mode : Lossy 
Stream size : 4.72 MiB (3%) 
Service kind : Complete Main 

Menu 
ID : 5376 (0x1500) 
Menu ID : 21862 (0x5566) 
Format : VVC / AC-3 
Duration : 1 min 43 s 
List : 336 (0x150) (VVC) / 337 (0x151) (AC-3) 
Service name : Test 
Service provider : Test 
Service type : digital television 

ColorBars FULL HD H266 YV12 BT709 SDR 10bit.ts

General 
ID : 13124 (0x3344) 
Complete name : ColorBars FULL HD H266 YV12 BT709 SDR 10bit.ts 
Format : MPEG-TS 
File size : 37.5 KiB 
Duration : 4 s 0 ms 
Overall bit rate mode : Variable 
Overall bit rate : 75.2 kb/s 

Video 
ID : 336 (0x150) 
Menu ID : 21862 (0x5566) 
Format : VVC 
Format/Info : Versatile Video Coding 
Codec ID : 51 
Duration : 4 s 0 ms 
Bit rate : 71.5 kb/s 
Stream size : 34.9 KiB (93%) 

Menu 
ID : 5376 (0x1500) 
Menu ID : 21862 (0x5566) 
Format : VVC 
Format/Info : Versatile Video Coding 
Duration : 4 s 0 ms 
List : 336 (0x150) (VVC) 
Service name : Sky 
Service provider : Sky 
Service type : digital television 

Judas and the Black Messiah SD H266 Main10 3Mbits 25p YV12 BT601 SDR 10bit AC3 2ch 48000Hz.ts

General 
ID : 13124 (0x3344) 
Complete name : Judas and the Black Messiah SD H266 Main10 3Mbits 25p YV12 BT601 SDR 10bit AC3 2ch 48000Hz.ts 
Format : MPEG-TS 
File size : 61.6 MiB 
Duration : 3 min 38 s 
Overall bit rate mode : Variable 
Overall bit rate : 2 361 kb/s 

Video 
ID : 336 (0x150) 
Menu ID : 21862 (0x5566) 
Format : VVC 
Format/Info : Versatile Video Coding 
Codec ID : 51 
Duration : 3 min 38 s 
Bit rate : 1 856 kb/s 
Stream size : 48.4 MiB (79%) 

Audio 
ID : 337 (0x151) 
Menu ID : 21862 (0x5566) 
Format : AC-3 
Format/Info : Audio Coding 3 
Commercial name : Dolby Digital 
Codec ID : 129 
Duration : 3 min 39 s 
Bit rate mode : Constant 
Bit rate : 384 kb/s 
Channel(s) : 2 channels 
Channel layout : L R 
Sampling rate : 48.0 kHz 
Frame rate : 31.250 FPS (1536 SPF) 
Compression mode : Lossy 
Stream size : 10.0 MiB (16%) 
Service kind : Complete Main 

Menu 
ID : 5376 (0x1500) 
Menu ID : 21862 (0x5566) 
Format : VVC / AC-3 
Duration : 3 min 38 s 
List : 336 (0x150) (VVC) / 337 (0x151) (AC-3) 
Service name : Test 
Service provider : Test 
Service type : digital television 

The Creator FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts

General 
ID : 13124 (0x3344) 
Complete name : The Creator FULL HD H266 Main10 12Mbits 25p YV12 BT709 SDR 10bit AC3 2ch 48000Hz.ts 
Format : MPEG-TS 
File size : 127 MiB 
Duration : 1 min 24 s 
Overall bit rate mode : Variable 
Overall bit rate : 12.6 Mb/s 

Video 
ID : 336 (0x150) 
Menu ID : 21862 (0x5566) 
Format : VVC 
Format/Info : Versatile Video Coding 
Codec ID : 51 
Duration : 1 min 24 s 
Bit rate : 11.6 Mb/s 
Stream size : 117 MiB (92%) 

Audio 
ID : 337 (0x151) 
Menu ID : 21862 (0x5566) 
Format : AC-3 
Format/Info : Audio Coding 3 
Commercial name : Dolby Digital 
Codec ID : 129 
Duration : 1 min 24 s 
Bit rate mode : Constant 
Bit rate : 384 kb/s 
Channel(s) : 2 channels 
Channel layout : L R 
Sampling rate : 48.0 kHz 
Frame rate : 31.250 FPS (1536 SPF) 
Compression mode : Lossy 
Stream size : 3.86 MiB (3%) 
Service kind : Complete Main 

Menu 
ID : 5376 (0x1500) 
Menu ID : 21862 (0x5566) 
Format : VVC / AC-3 
Duration : 1 min 24 s 
List : 336 (0x150) (VVC) / 337 (0x151) (AC-3) 
Service name : Test 
Service provider : Test 
Service type : digital television 

Samples (link available for 7 days): https://we.tl/t-MYplZ0XktA Mirror (link available for 7 days): https://www.transfernow.net/dl/20240202bEtdKjD3

JeromeMartinez commented 4 months ago

Mediainfo 14.01 is supposed to be able to report info about the Profile and Level used to encode H.266 VVC files muxed in a .ts container, however this doesn't happen with the following samples

We currently read out the profile and level from the TS VVC descriptor, unfortunately your files don't have it so it will be possible to get profile and level (and other items) only with a full support.