Page MenuHomePhabricator

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

Description

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

@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...

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

https://gerrit.wikimedia.org/r/380791

Got back to this finally. :) Posted at https://commons.wikimedia.org/wiki/Commons:Village_pump#Adding_MP3_audio_output_for_iOS_compatibility

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.

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

https://gerrit.wikimedia.org/r/380791

Jdforrester-WMF subscribed.

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

https://gerrit.wikimedia.org/r/393941

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

https://gerrit.wikimedia.org/r/393941