Thread: VirtualDub2
View Single Post
Old 22nd March 2018, 19:26   #497  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by shekh View Post
Sad part it's exactly what I don't have. I loosely follow various hdr-related threads but I still have no clue how HDR10 metadata is stored in video and what it might look like.
The capture in vd2 is (mostly) based on DirectShow (much like GraphEdit), so the talk about preview filters etc. makes sense to me.
I think filter can be built for HDR, I'm just not sure how.

I been searching on the subject matter. It gets very confusing at times.

This is what the HDR section of metadatalooks like:

Quote:
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0200 cd/m2, max: 1200.0000 cd/m2
Entire Video Metadata

Quote:
Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info? : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : 36
Duration : 2 s 83 ms
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Writing library : ATEME Titan KFE 3.7.0 (4.7.0.2002)
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : SMPTE ST 2084
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0200 cd/m2, max: 1200.0000 cd/m2
More Here: https://trac.ffmpeg.org/ticket/5831

HDR used by Youtube with MKV looks like this:

Quote:
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: webm
|+ Doc type version: 4
|+ Doc type read version: 2
+ Segment, size 29548815
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 45)
|+ Segment information
| + Timecode scale: 1000000
| + Duration: 154.538s (00:02:34.538)
| + Multiplexing application: google
| + Writing application: google
|+ Segment tracks
| + A track
| + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
| + Track UID: 11717489602804838
| + Track type: video
| + Default duration: 16.683ms (59.940 frames/fields per second for a video track)
| + Codec ID: V_VP9
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + Video colour information
| + Colour matrix: 9
| + Colour range: 1
| + Colour transfer: 16
| + Colour primaries: 9
| + Video colour mastering metadata
| + Max luminance: 1000
| + Min luminance: 0.001
| + Red colour coordinate x: 0.68
| + Red colour coordinate y: 0.31996
| + Green colour coordinate x: 0.26494
| + Green colour coordinate y: 0.68996
| + Blue colour coordinate x: 0.15
| + Blue colour coordinate y: 0.05998
| + White colour coordinate x: 0.3127
| + White colour coordinate y: 0.32896
|+ Cues (subentries will be skipped)
|+ Cluster
Revan654 is offline   Reply With Quote