Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depth encoding #193

Open
sergeygross opened this issue Feb 6, 2022 · 1 comment
Open

depth encoding #193

sergeygross opened this issue Feb 6, 2022 · 1 comment
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@sergeygross
Copy link

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!

@ledyba-z ledyba-z added the bug Something isn't working label Mar 15, 2022
@ledyba-z
Copy link
Contributor

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.

@ledyba-z ledyba-z self-assigned this Mar 15, 2022
@ledyba-z ledyba-z added the documentation Improvements or additions to documentation label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants