Page MenuHomePhabricator

Support transcoding audio files to MP3 for playback on IE/Edge/Safari/etc
Closed, ResolvedPublic


With the MP3 patents expired and (hopefully) everything legally clear, T115170 is adding MP3 upload/ingest/playback support. It'd be nice to additionally transcode other audio files *to* MP3 for playback in Safari/IE/Edge which currently require the ogv.js JavaScript shim. (ogv.js is awesome but is a large chunk of JS, even just for Ogg Vorbis audio, and it'd be nice to avoid loading it.)

May require legal's sign-off for production, but likely clear if everything's cleared on T115170 and friends.

This should not be too difficult, as can use ffmpeg for the actual transcoding.

Related Objects

Event Timeline

brion created this task.May 19 2017, 8:01 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 19 2017, 8:01 AM

@CKoerner_WMF do we think there's a need for a discussion on this one? I'd like to go ahead with MP3 output for audio, particularly to resolve the issue of audio playback on iOS (where the TimedMediaHandler fancy player still doesn't work, and the ogv.js shim would load slowly even if we added it).

I can prepare a sample announcement/discussion prompt page...

greg added a subscriber: greg.Aug 11 2017, 7:06 PM
Yann added a subscriber: Yann.Aug 13 2017, 4:11 AM

I don't see any issue with that.

Brion, I think you should post your draft. Thank you for adding a mention to keep the two conversation about MP3s separate!

Change 380791 had a related patch set uploaded (by Brion VIBBER; owner: Brion VIBBER):
[mediawiki/extensions/TimedMediaHandler@master] Enable MP3 audio transcodes by default

brion added a comment.Sep 26 2017, 5:18 PM

Got back to this finally. :) Posted at

Patch to flip the default to add MP3 is ready, but I notice that on desktop ogv.js continues to have higher priority. Will have to fiddle with that, but main goal is to get iOS working which it does.

Ainali added a subscriber: Ainali.Sep 26 2017, 5:23 PM
Raymond added a subscriber: Raymond.

Change 380791 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Enable MP3 audio transcodes by default

Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Leaving open for the desktop priority issue – merged patch "only" gets iOS working.

Change 393941 had a related patch set uploaded (by Brion VIBBER; owner: Brion VIBBER):
[mediawiki/extensions/TimedMediaHandler@master] Desktop native MP3 at higher priority than ogv.js Ogg

Jdforrester-WMF closed this task as Resolved.Nov 29 2017, 1:15 AM
Jdforrester-WMF assigned this task to brion.
Jdforrester-WMF removed a project: Patch-For-Review.

Change 393941 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Desktop native MP3 at higher priority than ogv.js Ogg