cavif
cavif copied to clipboard
depth encoding
Hi! In console help I see I can attach depth.avif to my final.avif. --attach-depth Attach depth plane
But how should I create depth.avif if there is no such option? I need to encode depth map from png to 12-bit avif file. Thanks!
A depth image is just an monochrome image. You can create like this:
cavif -i <depth.png> -o <output-depth.avif> --monochrome
cavif -i <image.png> -o <output-with-depth.avif> --attach-depth <output-depth.avif>
However, it looks --attach-depth
is not working currently. I'm fixing this problem.
Do you know the AVIF reader that understand depth image? I would like to test.