google / libultrahdr

Ultra HDR is a true HDR image format, and is backcompatible. libultrahdr is the reference codec for the Ultra HDR format. The codecs that support the format can render the HDR intent of the image on HDR displays; other codecs can still decode and display the SDR intent of the image.
https://developer.android.com/guide/topics/media/platform/hdr-image-format
Apache License 2.0
146 stars 23 forks source link

Way to visualize rgba1010102 color format data #258

Closed jeremysong1106 closed 1 week ago

jeremysong1106 commented 1 week ago

Hi,

I'd like to visualize the decoded image while the output color format is hlg or pq, are there any ways support to visualize that?

thanks in advance.

ram-mohan commented 1 week ago

You can try with ffplay. ffplay -color_range -colorspace -color_primaries -f rawvideo -video_size wxh -pixel_format x2bgr10le -i hdrDecoded_rgba1010102.raw