Support transcoding audio files to MP3 for playback on IE/Edge/Safari/etc
Open, Needs TriagePublic

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

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

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

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

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.

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