JacobDev1 / xl-converter

Easy-to-use image converter for modern formats. Supports multithreading, drag 'n drop, and downscaling.
https://codepoems.eu/xl-converter
Other
118 stars 4 forks source link

How to enable 10 bits AVIF? #44

Closed NeinOclock closed 3 weeks ago

NeinOclock commented 3 weeks ago

Question

I try using -d 10 in the encoder parameters but the conversion fail with the error "output not found" xl_converter_exceptions.csv

The Docs

JacobDev1 commented 3 weeks ago

Encoders will match the input's bit depth whenever possible automatically.

As for the -d 10 in custom params not working. This is a bug in the encoder. If you need this to work, swap avifenc.exe in XL Converter/_internal/bin/win with the official pre-built. You would be downgrading AOM-AV1 this way, though. Alternatively, you can compile libavif yourself.

Binaries are more error-prone when run from subprocess.run and Worker, unfortunately.

The Linux version is unaffected by this problem.

NeinOclock commented 3 weeks ago

Thanks! Yes, there is not error in the conversion while using -d 10 on fedora kde

JacobDev1 commented 3 weeks ago

I'll update the encoder in the next version. This should fix the issue.