Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2888

Add wmv2 codec detection to ASF container

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Attached file are .wmv file (ASF Container) with a video tracks encoded using the WMV2 codec. They are incorrectly detected as audio (audio/x-ms-wma) file instead of video (video/x-ms-wmv) file. 

      Adding the following line to the tiki-mimetypes.xml file fixes the issue:

          <match value="wmv2" type="unicodeLE" offset="0:8192" />

      Test Files:

      Related to TIKA-939

      I will submit a pull request with the above changes.

        Attachments

        1. sample.wmv
          541 kB
          David Avendasora
        2. Video1.WMV
          181 kB
          David Avendasora

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              avendasorada David Avendasora

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment