Description
Im currently trying to use Tika detector to identify the content type of the file attached to this ticket. Using both the default detector with default config in java and the tika-app-1.21 }}jar the type is being returned as {{application/mp4.
According to https://tools.ietf.org/html/rfc4337::
Selection of MIME Types for MP4 Files
The MIME types to be assigned to MP4 files are selected according to
the contents. Basic guidelines for selecting MIME types are as
follows:a) if the file contains neither visual nor audio presentations, but
only, for example, MPEG-J or MPEG-7, use application/mp4;b) for all other files, including those that have MPEG-J, etc., in
addition to video or audio streams, video/mp4 should be used;
however:c) for files with audio but no visual aspect, including those that
have MPEG-J, etc., in addition to audio streams, audio/mp4 may be
used.
As the file has both video and audio components, it seems this file type should be identified as video/mp4.
I was hoping to get some help in working out whether this a bug that can be fixed or if there is a problem on my end.