Jump to content

what are all the possible VideoRange flag values


Recommended Posts

Posted

I am trying to map HDR values for an addon, what are all the possible VideoRange flag values?

 

Posted

Hi, I would suggest not looking at this anymore given that it's plain text. Instead I would use the ExtendedVideoType property, which is an enum with the following values:

        None,
		Hdr10,
		Hdr10Plus,
		HyperLogGamma,
		DolbyVision,

 

Posted
2 hours ago, Luke said:

Hi, I would suggest not looking at this anymore given that it's plain text. Instead I would use the ExtendedVideoType property, which is an enum with the following values:

        None,
		Hdr10,
		Hdr10Plus,
		HyperLogGamma,
		DolbyVision,

 

i am using the REST API so only have access to the strings that are returned in the json, i need to map them in the client for display.

i just need to map the string comming back from emby to strings that the client can understand.

eg HyperLogGamma = hgl

Posted

HyperLogGamma would be HLG. The rest are self explanatory, right?

Posted

its a mapping from emby -> kodi

# Kodi options for hdr video flags: dolbyvision, hdr10, hlg

so from your above:

Hdr10, Hdr10Plus -> hdr10
HyperLogGamma -> hlg
DolbyVision -> dolbyvision

That all sounds great, however, I am also seeing "hdr 10" with a space in the string coming back from Emby server

 

 

Posted
1 hour ago, Luke said:

HyperLogGamma would be HLG. The rest are self explanatory, right?

Example of actual data

"VideoRange":"HDR 10"

note the space

Posted

Right what I'm saying is use the ExtendedVideoType property, not VideoRange.

  • Like 1
Posted
1 hour ago, Luke said:

Right what I'm saying is use the ExtendedVideoType property, not VideoRange.

ok got it.

"ExtendedVideoType": "Hdr10"

this should always be one of :

None, Hdr10, Hdr10Plus, HyperLogGamma, DolbyVision

correct

  • Thanks 1
  • 1 year later...
Posted

In the beta server, ExtendedVideoType and ExtendedVideoSubtype are all populated now. Going forward these are recommended to be used over the more generic VideoRange property.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...