Hacker News new | ask | show | jobs
by gjsman-1000 969 days ago
I won’t miss Theora - but I am as part of my job helping a business migrate from some old open-source software which inexplicably re-encoded almost all audio uploads into Ogg Vorbis audio files.

I can just play those as they are, in any browser, except Safari. Painfully, macOS actually supports Vorbis, but only in a CAF (Core Audio Format) container instead of an Ogg container. Still hoping; because shipping an entire Ogg decoder in the browser with WASM works but is ugly.

Of course, I could also just re-encode them with a microservice but it’s just… bleh.

2 comments

You might find this helpful: https://github.com/brion/ogv.js

From the FF announcement linked elsewhere in these comments.

Apple has always been an asshole when it comes to codec support.

VP9 on Safari? Sure, on desktop. On mobile? Oh yeah, only via WebRTC(why???).

Want to import FLACs into Apple Music? Nope, only inferior ALAC is supported for lossless.

AV1? Only just added to iPhone 15 Pro series (not in 15 cause old SoC) and still not on Macbooks.

HEVC? Oh yeah, of course we use it as HEIC for photos and support HEVC playback in Safari, how could we not?