iOS browsers can't playback audio uploads #11131
Turns out iOS actually doesn't support anything common other than WAV/AAC/MP3.
Every other browser seems to support much better formats, like Ogg Vorbis/Opus. Technically, iOS Safari does support Opus as a codec, but only in WebRTC -- not in
Existing workarounds used on other sites are to do one of the following:
Not sure which is best.
(Also for some reason the extension on uploaded files is .mpga instead of .ogg, even though the mimetype is correctly identified as audio/ogg)
in that case the bitrate will have to be a bit higher or else quality will suffer greatly. audiophilia aside, this means 256kbps for mostly transparent, 192kbps for acceptable quality, perhaps 160kbps for parity with much web video, and no lower than 128kbps as a general rule of thumb. if you're using variable bit rates (which you probably should to save space), you'd want -V 2 for acceptable and -V 0 for mostly transparent. and perhaps don't bother transcoding mp3 if it's under a certain size -- lossy-to-lossy encoding should be avoided wherever possible.