How to enable WGC in video stream (using meta data / SEI message)

Hi,

I have created a video stream using H.264 (or H.265 upon configuration), and I am playing it on my iPad Pro.

I need the iPad Pro to identify which color space the video stream is, ie DCI-P3 or sRGB, and play accordingly using wide-color-gamut mode or using standard mode.

Presumably the player reads meta information from the video, namely the SEI message which specify the video stream properties.

With that in mind, I just want to know the exact protocol it employs, that is, the syntax of the relevant meta information the iPad Pro recognizes.


Thanks and regards.

Accepted Answer

This is outside my area of expertise, but I asked around. I've been told -

"Use P3 D65 (code 12) or DCI P3 (code 11) choices in the colour_primaries field of the VUI. No SEI needed. Follow Coding Independent Code Points (ISO/IEC 23001-8)."


However, wide color in HLS is as bleeding edge as it gets.

Still in the experimental stage.

If you want to spend energy on it, go ahead (and please file bugs). But stay away from production.

BTW, you should watch (if you haven't) the WWDC 2016 talk:


Advances in AVFoundation Playback

https://developer.apple.com/videos/play/wwdc2016/503/



Also:


Working with Wide Color

https://developer.apple.com/videos/play/wwdc2016/712/


And related sessions.

This is probably what I need to know.

Thank you and your friend around who helped!

Could you let us know If this approach worked for you and which encoder you used?

How to enable WGC in video stream (using meta data / SEI message)
 
 
Q