Add AVIF thumbnail support #210

Open
opened 1 year ago by tslocum · 1 comments
tslocum commented 1 year ago
Owner
Using `<object>` would allow a fallback image to be specified for browsers which do not support AVIF. https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF) https://caniuse.com/avif https://netflixtechblog.com/avif-for-next-generation-image-coding-b1d75675fe4
tslocum added the
enhancement
label 1 year ago

For a bit more context, the main problem area for this right now would be adequate AVIF encoding support in major distros. FFmpeg can't yet understand AVIF files. There's a libavif library (with associated utilities that TinyIB could make use of directly) which is packaged by Debian and Ubuntu, but it's currently only compiled with decoding support because the only AV1 encoder library in their repos is libaom. The packaged version of libaom is so old that libavif doesn't support it, and there hasn't been movement on it since Debian is in freeze right now.

As soon as the libaom maintainer updates it post-freeze, or a different encoder like rav1e is packaged, I expect encoding functionality in libavif will be toggled on. The first stable distribution releases that would be available in would likely be Debian 12 and Ubuntu 22.04. In the meantime, it'd still be useful for people using Fedora, Arch, Debian Testing, or others that are more bleeding-edge.

For a bit more context, the main problem area for this right now would be adequate AVIF encoding support in major distros. FFmpeg can't yet understand AVIF files. There's a libavif library (with associated utilities that TinyIB could make use of directly) which is packaged by Debian and Ubuntu, but it's currently only compiled with decoding support because the only AV1 encoder library in their repos is libaom. The packaged version of libaom is so old that libavif doesn't support it, and there hasn't been movement on it since Debian is in freeze right now. As soon as the libaom maintainer updates it post-freeze, or a different encoder like rav1e is packaged, I expect encoding functionality in libavif will be toggled on. The first stable distribution releases that would be available in would likely be Debian 12 and Ubuntu 22.04. In the meantime, it'd still be useful for people using Fedora, Arch, Debian Testing, or others that are more bleeding-edge.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.