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

Hudson commented on TIKA-2888:
------------------------------

UNSTABLE: Integrated in Jenkins build Tika-trunk #1825 (See 
[https://builds.apache.org/job/Tika-trunk/1825/])
TIKA-2888 Add wmv2 codec detection for WMV files (#272) (tallison: 
[https://github.com/apache/tika/commit/1015c362ea64691d90c03bf227aabf5a35b822ef])
* (edit) tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
* (edit) tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java
* (add) tika-parsers/src/test/resources/test-documents/testWMV_WMV2.wmv


> Add wmv2 codec detection to ASF container
> -----------------------------------------
>
>                 Key: TIKA-2888
>                 URL: https://issues.apache.org/jira/browse/TIKA-2888
>             Project: Tika
>          Issue Type: Improvement
>          Components: detector
>    Affects Versions: 1.21
>            Reporter: David Avendasora
>            Priority: Major
>              Labels: codec, container, easyfix, video
>             Fix For: 1.25
>
>         Attachments: Video1.WMV, sample.wmv
>
>
> 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:
>  * [http://techslides.com/demos/samples/sample.wmv]
>  * [http://www.lehman.edu/faculty/hoffmann/itc/techteach/video/Video1.WMV] 
> Related to TIKA-939
> I will submit a pull request with the above changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to