Bug 176650 - Feature Request - Support Opus in WebM and Ogg Containers
Summary: Feature Request - Support Opus in WebM and Ogg Containers
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-09 08:19 PDT by aham.brahmasmi
Modified: 2023-02-19 18:04 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aham.brahmasmi 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.
Comment 1 Alicia Boya García 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.
Comment 2 Philippe Normand 2018-01-30 09:41:39 PST
Should this bug be closed then?
Comment 3 Richard Bushell 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!
Comment 4 AnthumChris 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.
Comment 5 Attila Haraszti 2021-04-09 00:54:10 PDT
+1 Safari is the only major browser without Opus media support https://www.scirra.com/labs/audioCodecTests/
Comment 7 Blake Buell 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