Last modified: 2013-06-19 10:50:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49533, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47533 - Audio player takes a long time to initialize when requesting Vorbis output via <score> invocation
Audio player takes a long time to initialize when requesting Vorbis output vi...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Jan Gerber
: performance
Depends on:
Blocks: Wikisource
  Show dependency treegraph
 
Reported: 2013-04-23 07:25 UTC by Erik Moeller
Modified: 2013-06-19 10:50 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Erik Moeller 2013-04-23 07:25:42 UTC
When requesting Vorbis output to be made available via a <score> invocation, the resulting TMH player takes a long time to render. On this test page I'm counting several seconds of wait time per score:

https://en.wikipedia.org/wiki/User:Eloquence/Score

In comparison, just embedding a [[File:Whatever.ogg]] into a page doesn't incur the same performance penalty; the TMH player is initialized much faster in that case.

[Tested with FF19 and Chrome 24.]
Comment 1 billinghurst 2013-04-23 07:55:15 UTC
Would there be the option to *not* have Vorbis player display by default, or have it display over the work but as required?  When the Wikisources are trying to replicate a work it would be useful to have that capacity to preserve any formatting that would be in place, and not have it moveed around with . A slight delay in the player is probably of less a concern when we start plugging this into something like Grove's [[s:en:Dictionary of Music and Musicians]]
Comment 2 Erik Moeller 2013-04-23 08:15:11 UTC
That's already the case -- I just requested it with vorbis="1" on the example page. See https://www.mediawiki.org/wiki/Extension:Score for documentation and examples.
Comment 3 billinghurst 2013-04-23 13:42:57 UTC
Yes ... though I see a few scenarios ...

There are a number of situations that one (c|w)ould be faced at a Wikisource

1) Notation solely for display purposes.
2) Works where the intent is to play the music, and the display of the work is not relevant.
3) Works where the standard display is required, and the choice to play the work or not is going to reside with the reader. Maybe something like  [[s:en:Page:Irving Berlin Michigan3c.jpg]]

Though maybe this should wait for more play time as we sort through all the new experiences.

Thanks to all for the extension roll-out. Lots to learn and sort through.
Comment 4 Sam Reed (reedy) 2013-04-23 20:57:29 UTC
Wonder if this should be moved into TMH?
Comment 5 Gerrit Notification Bot 2013-04-24 10:05:58 UTC
Related URL: https://gerrit.wikimedia.org/r/60644 (Gerrit Change I227b5b1b7c66e9564a1e2af4e16ead8c3ec5a999)
Comment 6 Jan Gerber 2013-04-24 10:08:14 UTC
One way to make it faster is to pass the duration of the audio file to TimedMediaTransformOutput, with the Gerrit Change
I227b5b1b7c66e9564a1e2af4e16ead8c3ec5a999 this also gets rendered.
Score does not know the duration of the audio file however. So that has to be fixed and passed to TimedMediaTransformOutput.
Comment 7 Gerrit Notification Bot 2013-04-27 13:28:48 UTC
Related URL: https://gerrit.wikimedia.org/r/61181 (Gerrit Change I34d583c6b803e8db5eabceb07552a391eec2519c)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links