cdgriffith / FastFlix

FastFlix is a free GUI for H.264, HEVC and AV1 hardware and software encoding!
https://fastflix.org/
MIT License
1.16k stars 58 forks source link

libjxl support #362

Open BuyMyMojo opened 2 years ago

BuyMyMojo commented 2 years ago

Now that AVIF is supported in FastFlix maybe we could get JpegXL support too since it's part of ffmpeg now aswell.

It has a very simple set of settings and uses Butteraugli distance for it's quality and supports up to 64bit bit images.

Ffmpeg settings for a quick reference

It doesn't say it anywhere but it supports -q quality too but where higher is better for some reason. It won't error out if you go above it's max, which seems to be 100, and it seems to just be binding to different levels of -distance but might be worth checking out.

cdgriffith commented 2 years ago

I know JpegXL supports sequences, but it not really its intended use case. It's also not yet supported in ffmpeg.

If you try to take a video and make it into a jxl it will turn it into separate images.

[image2 @ 00000279160ebe40] The specified filename 'test.jxl' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 00000279160ebe40] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.