Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Show more detailed profile info to properly identify HDR content. #11439
Comments
|
Seems YouTube does provide interesting information in fields {
"bitrate": [
"156637"
],
"clen": [
"2498956"
],
"eotf": [
"smpte2084"
],
"fps": [
"60"
],
"index": [
"335-851"
],
"init": [
"0-334"
],
"itag": [
"330"
],
"lmt": [
"1479416851204180"
],
"primaries": [
"bt2020"
],
"projection_type": [
"1"
],
"quality_label": [
"144p60"
],
"size": [
"256x144"
],
"type": [
"video/webm; codecs=\"vp9.2\""
]
} |
|
That eotf+primaries+type information seems to be enough for determining HDR for VP9
This should allow for differentiation of simply 10 bit or simply Rec. 2020 content, from HDR content. From this and this the standards are:
It might be too hard to determine which standard is being used, so maybe anything that's 10bit, Rec. 2020, and has an eotf, should be marked as HDR for now? |
|
these are the rules use by youtube code: |
Make sure you are using the latest version:
Before submitting an issue make sure you have:
What is the purpose of your issue?
Feature Request: Display color space
Currently the profile being "vp9.2" indicates "vp9 profile2: color depth: 10–12 bit, chroma subsampling: 4:2:0".
However the VP9 format supports the following color spaces: Rec. 601, Rec. 709, Rec. 2020, SMPTE-170, SMPTE-240, and sRGB. Furthermore spaces that support HDR, like Rec. 2020, may or may not have HDR.
It would be nice if more detailed profile information could be shown:
Or if videos could be flagged as having HDR metadata:
Long-term goal would be a
--prefer-hdr-formatstype of flag.I'm not sure if this is easy or possible without inspecting the video file. I took a look in the manifest using
--write-pagesbut the 330-337 formats did not seem to be in the manifest so I don't know what other info youtube is currently providing.Youtube HDR Video Upload Requirements Info Here
Android Developer Info: Dolby-Vision / HDR10 / VP9-HLG / VP9-PQ
Example The World in HDR from HDR Launch Playlist