[
https://issues.apache.org/jira/browse/TIKA-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029271#comment-18029271
]
Gotson commented on TIKA-4509:
------------------------------
Hi Tim, I am OK with both. In my own usage I only care that the media type
starts with image, so both would be fine. Thanks!
> AVIF animation detected as video/quicktime
> ------------------------------------------
>
> Key: TIKA-4509
> URL: https://issues.apache.org/jira/browse/TIKA-4509
> Project: Tika
> Issue Type: Bug
> Affects Versions: 3.2.3
> Environment: Java version:
> {code:java}
> openjdk version "24.0.1" 2025-04-15
> OpenJDK Runtime Environment Temurin-24.0.1+9 (build 24.0.1+9)
> OpenJDK 64-Bit Server VM Temurin-24.0.1+9 (build 24.0.1+9, mixed mode,
> sharing) {code}
> macOS 15.6.1
> Reporter: Gotson
> Priority: Major
> Attachments: animation2.avif
>
>
> Hi,
> it seems the Tika detector is returning {{video/quicktime}} for animated AVIF
> images.
> This is the output using Tika App:
>
> {code:java}
> Content-Length: 6848
> Content-Type: video/quicktime
> X-TIKA:EXCEPTION:warn: Box size too small.
> X-TIKA:EXCEPTION:warn: Unable to skip. Requested 1751411818 bytes but only
> 6780 remained.
> X-TIKA:Parsed-By: org.apache.tika.parser.DefaultParser
> X-TIKA:Parsed-By: org.apache.tika.parser.mp4.MP4Parser
> X-TIKA:Parsed-By-Full-Set: org.apache.tika.parser.DefaultParser
> X-TIKA:Parsed-By-Full-Set: org.apache.tika.parser.mp4.MP4Parser
> X-TIKA:Parsed-By-Full-Set: org.apache.tika.parser.EmptyParser
> X-TIKA:digest:MD5: e2da1cfa3a1e34a70ea43ad70fa8b58f
> X-TIKA:digest:SHA256:
> b1e67d07a042376be37147051b3440ba1a545e433873a2a055dc894736411ec1
> resourceName: animation2.avif {code}
>
> I would expect it to return {{image/avif}} instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)