dschmidt opened a new pull request, #3116:
URL: https://github.com/apache/tika/pull/3116

   AVIF reached no parser. `HeifParser` claims `image/heif`, 
`image/heif-sequence`, `image/heic` and `image/heic-sequence`, nothing else in 
tika-parsers claims `image/avif`, and its mime entry declares no 
`sub-class-of`, so an AVIF was detected and then handed to no one: no 
dimensions, no EXIF, no XMP. Detection was added in TIKA-3193 back in 2020 and 
nothing picked it up since.
   
   It is the same ISO-BMFF container and the metadata sits in the same boxes, 
so adding the type is the whole change. What comes out of the fixture: 
`image/avif`, the brands, 32x32 from the `ispe`, and the XMP that `HeifXmp` 
locates through `meta`/`iinf`/`iloc`, the same path HEIC takes.
   
   The fixture is a 32x32 gradient encoded with libavif through ImageMagick, 
with an XMP packet attached, 1 KB.
   
   Two things this does not touch. Animated AVIF still detects as 
`video/quicktime`, which is TIKA-4509 and is a question about the media type 
name rather than about parsing. And the AVIF motion photo case from TIKA-4869 
needs #3115 as well, so its fixture and test follow whichever of the two lands 
second; I have verified locally that the two together emit the video from the 
trailing `mpvd` box as expected.
   
   https://issues.apache.org/jira/browse/TIKA-4870
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to