[
https://issues.apache.org/jira/browse/TIKA-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531588#comment-13531588
]
Ray Gauss II commented on TIKA-990:
-----------------------------------
After investigated this:
* Confirmed the test files are in fact mono with the exception of
{{testMP3lyrics.mp3}}
* Confirmed the MPEG spec does define the channels in bits 7,6
* After creating my own test files confirmed Tika does report the channels
incorrectly
Committing a fix shortly.
> Mp3Parser extracts wrong number of channels
> -------------------------------------------
>
> Key: TIKA-990
> URL: https://issues.apache.org/jira/browse/TIKA-990
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.2
> Reporter: Oliver Heger
> Assignee: Ray Gauss II
>
> In class {{AudioFrame}} the last two bits of the MPEG frame header are used
> to determine the number of channels. According to my documentation, this
> information is encoded in bits 7 and 6.
> I did a cross check with the ID3 tag editor tool ID3-TagIT
> (http://www.id3-tagit.de/). The unit tests expect that the test MP3 files
> have 2 channels. However, the tool reports that the files are mono.
--
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