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

Add wmv2 codec detection to ASF container

    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. Video1.WMV
          181 kB
          David Avendasora
        2. sample.wmv
          541 kB
          David Avendasora

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                avendasorada David Avendasora
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: