WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
176650
Feature Request - Support Opus in WebM and Ogg Containers
https://bugs.webkit.org/show_bug.cgi?id=176650
Summary
Feature Request - Support Opus in WebM and Ogg Containers
aham.brahmasmi
Reported
2017-09-09 08:19:15 PDT
Please support the Opus codec in WebM and Ogg containers. From what I understand, the Opus codec in WebM container is supported within WebRTC. However, it is neither supported natively (HTMLMediaElement.canPlayType) nor via Media Source Extensions (MediaSource.isTypeSupported) in either containers. The non-normative use case is to stream from Icecast. In case this support already exists, I apologize for opening this bug report. Thanks.
Attachments
Add attachment
proposed patch, testcase, etc.
Alicia Boya García
Comment 1
2017-09-23 10:44:11 PDT
Opus is supported as long as suitable GStreamer plugins are found, which should be the default in new distros. Support for Opus in MSE has been committed recently in trunk, but the MSE implementation in WebKitGTK+ is still quite under development and not stable enough to be enabled by default.
Philippe Normand
Comment 2
2018-01-30 09:41:39 PST
Should this bug be closed then?
Richard Bushell
Comment 3
2019-06-18 10:33:11 PDT
+1 for comprehensive support of Opus codec in Safari (MacOS and iOS) in WebM and MP4 containers. It is now supported in every other major browser!
AnthumChris
Comment 4
2019-12-29 11:29:00 PST
+1 for Opus support. This is currently achieved for Ogg Opus with WebAssembly and the Web Audio APi.
https://fetch-stream-audio.anthum.com/
A lot of coding overhead is required to do that and even more for seeking. Native MSE support would be awesome.
Attila Haraszti
Comment 5
2021-04-09 00:54:10 PDT
+1 Safari is the only major browser without Opus media support
https://www.scirra.com/labs/audioCodecTests/
Ahmad Saleem
Comment 6
2022-10-26 13:47:23 PDT
Do we need to add following here:
https://github.com/WebKit/WebKit/blob/0d17dc0c310f9b1d05268ab63e967c38133892f0/Source/WebCore/platform/MIMETypeRegistry.cpp#L291
{ "audio/ogg"_s, "opus"_s } and also here:
https://github.com/WebKit/WebKit/blob/ea06abc8501c66cf264414965269f23deab87741/Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp#L54
"audio/opus", and something more?
Blake Buell
Comment 7
2023-02-19 18:04:34 PST
+1 Every other major browser supports Opus in MP4 as well.
https://opus-codec.org/docs/opus_in_isobmff.html
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug