[ 
https://issues.apache.org/jira/browse/TIKA-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110447#comment-18110447
 ] 

ASF GitHub Bot commented on TIKA-3646:
--------------------------------------

tballison commented on PR #3114:
URL: https://github.com/apache/tika/pull/3114#issuecomment-5500800624

   Looks like we have to parse the mp4 in some cases where the right 
information isn't close enough to the front. For some parsers, we have a 
pattern where the detector detects family, and then the parser can make more 
specific, as with Adobe Illustrator and PDFs. There's another parser/detector 
where we do this too and we make the Detector optional, but it basically just 
calls the parser.
   
   What would you think of folding this logic into the parser to update the 
mime type during parse?




> MP4 files have their mime type detected as video/quicktime
> ----------------------------------------------------------
>
>                 Key: TIKA-3646
>                 URL: https://issues.apache.org/jira/browse/TIKA-3646
>             Project: Tika
>          Issue Type: Bug
>          Components: detector
>            Reporter: Apachae Tika User
>            Priority: Major
>         Attachments: Video.mp4
>
>
> I was using ScreenToGif tool which allos to record screen and create gifs or 
> MP4 files (with ffmpeg). I've tried to use Tika Detector for such files but 
> the file is being detected asĀ  video/quicktime with .qt extension. How is 
> that?
> Attaching small video for example which was generated with ScreenToGif and 
> saved as mp4.
> I see some other people complaining for same thing here
> [https://stackoverflow.com/questions/48021617/use-apache-tika-get-mp4-file-contenttype-got-video-quicktime]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to