Page MenuHomePhabricator

Add support for AVIF: allow uploading AVIF files in MediaWiki by default
Open, LowPublic

Description

Per the request at this ticket: T257652: Add support for AVIF: serve AVIF thumbnails where possible

Allow uploading AVIF as one of several open, royalty-free media types that could realistically be used in WMF projects.

Event Timeline

Reedy changed the task status from Open to Stalled.Jul 11 2020, 10:51 AM
Reedy subscribed.

Marking stalled as per T257652; there's a lot of prep work that needs doing before this is done

Marking stalled as per T257652; there's a lot of prep work that needs doing before this is done

T257652 is about making AVIF thumbnails the default format; that is not a requirement for AVIF support. Can thumbnails be generated from AVIF files? That is unlikely to be an issue with today's software support (including Thumbor).

TheDJ changed the task status from Stalled to Open.Feb 5 2024, 12:13 PM
TheDJ triaged this task as Low priority.
TheDJ subscribed.

This is no longer stalled. Anyone willing to implement this can implement this. (Though I'm not sure how much AVIF material is out there and would make a valid, useful, upload. The Commons community is already complaining about webp being a format that is mostly copyrighted material downloaded from Facebook and other websites, and this likely would be similar to that.)

This is no longer stalled. Anyone willing to implement this can implement this.

Thank you.

(Though I'm not sure how much AVIF material is out there and would make a valid, useful, upload. The Commons community is already complaining about webp being a format that is mostly copyrighted material downloaded from Facebook and other websites, and this likely would be similar to that.)

My phone (Samsung Galaxy from 2020) and I believe the iPhone take AVIF pictures, those alone already make up a sizeable market share. Personally I am very interested in AVIF as a Commons user for the ability to export 12-bit HDR photographs with a proper color profile.
JPEG, and WebP which is no improvement, do not match the capabilities of current input/output devices and it is a sad sight to have to butcher the images I upload to Commons.

FYI, HEIC and AVIF are NOT the same. HEIC is HEVC stored in HEIF. As opposed to AVIF, which is AV1 in HEIF. HEIC/HEVC is patent encumbered and thus not likely to be supported by MediaWiki.

AV1 is claimed to be patent free by Google, although there are some doubts about that. The file format HEIF, Is an extension of ISOBMFF, which is 20 years old now, so any patents there will have expired and I don't think HEIF adds enough new ideas to be realistically introduce new patents (which is likely why google chose to use it).