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

Nick Burch commented on TIKA-5083:
----------------------------------

The code works for any of the Ogg formats, and the calculation is already on 
for Opus, Speex and Vorbis. (Maybe we could avoid it by default for some of 
them? Would need to dig into that....)

So could make it a "Vorbis and Friends" specific flag, or we could have a 
general one for any media format? I'm leaning towards the latter, but don't 
mind strongly!

> FlacParser should use the new FlacAudioStatistics calculator if there is no 
> duration set in the header
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-5083
>                 URL: https://issues.apache.org/jira/browse/TIKA-5083
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 4.3.0
>            Reporter: Nick Burch
>            Priority: Minor
>             Fix For: 4.3.0
>
>
> {{FlacParser}} was brought over from the VorbisJava project (along with its 
> friends) last year as part of the 4.x release. One improvement that didn't 
> come, as the wasn't a matching release of the {{vorbis-java-core}} library 
> with it in, was the ability to calculate the duration of a Flac file if the 
> header didn't include that.
> Now that there is the 0.10 release, and before theĀ {{vorbis-java-tika}} 
> module is retired in favour of the code now in Tika, need to bring that 
> enhancement over.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to