TeamB 2438 Posted February 21, 2025 Posted February 21, 2025 I am trying to map HDR values for an addon, what are all the possible VideoRange flag values?
Luke 42077 Posted February 22, 2025 Posted February 22, 2025 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,
TeamB 2438 Posted February 22, 2025 Author Posted February 22, 2025 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
Luke 42077 Posted February 22, 2025 Posted February 22, 2025 HyperLogGamma would be HLG. The rest are self explanatory, right?
TeamB 2438 Posted February 22, 2025 Author Posted February 22, 2025 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
TeamB 2438 Posted February 22, 2025 Author Posted February 22, 2025 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
Luke 42077 Posted February 22, 2025 Posted February 22, 2025 Right what I'm saying is use the ExtendedVideoType property, not VideoRange. 1
TeamB 2438 Posted February 22, 2025 Author Posted February 22, 2025 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 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now