Page MenuHomePhabricator

TimedMediaHandler should handle OGG/Vorbis length efficiently
Open, NormalPublic

Description

As a follow-up to T49533, I am unsatisfied with the two-part resolution:

The solution was for MediaWiki-extensions-Score to calculate (using TMH) and then store the length of the generated audio file, and for TimedMediaHandler to allow the value to be directly passed. As @Reedy ponders: "Wonder if this should be moved into TMH?" There was no answer specifically to that question. The parent task shows why the MIDI->audio conversion should in TMH, and not Score. This is another part of that larger issue.

Event Timeline

Ebe123 added a comment.Aug 2 2018, 4:23 PM

Another thing is that the ogg length is always around a second longer than the actual audio, which for short scores is a bit annoying.