HDR CatsThanks to modern technology, you can now look at cat pictures in HDR!
There is actually no HDR image format that works on the web, so I had to export this as an HDR video file.
There’s an HEVC version (mp4) and VP9 version (webm). I think the VP9 version is slightly off regarding brightness levels, but it looks alright.
If you’ve opened this page on an HDR-capable display, then the image will probably look really neat.
But does my screen even support HDR?
If you can see an extremely bright square in the white box above, then your screen either properly supports HDR or is really good at faking it (looking at you, iPad).
If you’re using macOS Mojave, Android, some other Linux, and/or Firefox, your browser might not even support tone mapping the video to SDR. Here’s what that should look like:
Also see the photo gallery!!
Including pictures of things that aren’t cats
And, of course, since this is a video format, you can also have HDR cat videos:
Convert exr to hevc video:
ffmpeg -colorspace bt709 -color_primaries bt709 -apply_trc linear -i input.exr -vf "zscale=primaries=2020:transfer=smpte2084" -r 0.1 -c:v libx265 -pix_fmt yuv420p10le -x265-params "hdr-opt=1:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc" -vtag hvc1 output.mp4
size=uhd2160 or sth to zscale to make it work on mobile
Convert to webm:
ffmpeg -i output.mp4 -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 -c:v libvpx-vp9 output.webm
(Use color_trc/transfer arib-std-b67 for HLG)