[
https://issues.apache.org/jira/browse/TIKA-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729581#comment-13729581
]
Nick Burch edited comment on TIKA-1156 at 8/5/13 3:53 PM:
----------------------------------------------------------
>From the readme of that c code:
> The files contain only data, i.e., there is no header.
So that'll be why ffmpeg and friends can't play it. However, coder supports the
-mime option, which does seem to produce files mplayer likes
I also did find this snippet, which looks promising:
> When using the MIME file storage format the encoded bitstream file starts with
> 9-byte magic number "#!AMR-WB\n"
Any chance you could find a WB+ file so we can see if that begins #!AMR-WB+\n
or similar?
was (Author: gagravarr):
From the readme of that c code:
> The files contain only data, i.e., there is no header.
So that'll be why ffmpeg and friends can't play it
I did find this snippet, which looks promising:
> When using the MIME file storage format the encoded bitstream file starts with
> 9-byte magic number "#!AMR-WB\n"
Any chance you could find a WB+ file so we can see if that begins #!AMR-WB+\n
or similar?
> AMR file not correctly detected
> -------------------------------
>
> Key: TIKA-1156
> URL: https://issues.apache.org/jira/browse/TIKA-1156
> Project: Tika
> Issue Type: Bug
> Components: mime
> Affects Versions: 1.4
> Reporter: Emil Burzo
> Fix For: 1.5
>
> Attachments: test.amr
>
>
> Attached file is not correctly detected as an AMR file.
> Expected result:
> $ java -jar tika-app-1.4.jar -d test.amr
> audio/amr
> Actual result:
> $ java -jar tika-app-1.4.jar -d test.amr
> application/octet-stream
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira