Why no official mention of Opus support?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

24. July 2012, 03:31:01

coprofilius

Posts: 2

Why no official mention of Opus support?

There is this incredible new lossy audiocompression format that surpasses most if not all of todays lossy audio formats in use in most usecases and that is being standardised by the Internet engineering Task Force (IETF) at the moment.

Now I have inline playback working with Opera 15. (- which means Opera is the second [or even first?] browser to support Opus, by the way.)
I can't find any mention of the Opus codec anywhere on the Opera website though. - Does that mean that it happened by accident?..
(I am on Linux here. After installing libopus and fixing my GStreamer installation it suddenly worked.)

24. July 2012, 04:25:27

LeoCG

Posts: 9332

Originally posted by coprofilius:

Now I have inline playback working with Opera 15



Opera 15? Wow.

Any site where we can test inline play of that codec?

Lastest Opera Developer Build @ Windows 8.1 Preview Pro X64
Intel I5-4430 - 8GB Ram
Intel HD Graphics 4600

24. July 2012, 08:11:45

Moderator

sgunhouse

Volunteer

Posts: 66156

Last I heard, Opera was using gstreamer to handle both <audio> and <video> tags, so Opera supports whatever your copy of gstreamer supports. Now in Widows that may not mean much, since most systems won't have installed their own copy of gstreamer first you'll have whatever Opera saw fit to include (and whatever compatible codecs could be found on your system); in Linux it could be a different story.

24. July 2012, 13:25:19

coprofilius

Posts: 2

Originally posted by LeoCG:


Any site where we can test inline play of that codec?


Article "Firefox Beta 15 supports the new Opus audio format" by Timothy B. Terriberry and Jean-Marc Valin from July 19, 2012 in hacks.mozilla.org

24. July 2012, 21:28:04

LeoCG

Posts: 9332

Doesn't seems to be working on Opera for Windows.

Lastest Opera Developer Build @ Windows 8.1 Preview Pro X64
Intel I5-4430 - 8GB Ram
Intel HD Graphics 4600

25. July 2012, 07:19:56

Moderator

sgunhouse

Volunteer

Posts: 66156

Didn't work on my Mageia Linux system either, but I haven't installed libopus. So then, he enabled the support himself, unknowingly.

27. July 2012, 07:33:28

Velmont

Core, Opera

Posts: 4

That does in fact work, and has since the since the stable release of gst-plugins-bad 0.10.23 back in 21st of February. That is, as long as Opera doesn't already "know" it can't play it (so it won't feed it to GStreamer for playback). E.g. if you add 'audio/ogg;codecs=opus' to Content-Type or query for that via canPlayType('audio/ogg;codecs=opus').

But if it's sent with Content-Type audio/ogg like in that demo on Mozilla Hacks, it will feed it to GStreamer, which will play it if a) you have gst-plugins-bad 0.10.23 or newer, *and* you have libopus/opus installed. Many distros have not that at the time. :-)


Anyway, the keyword here is /native/ support, which Firefox 15 has, and we don't. E.g., most people won't get Opus playback out of the box.
Odin Hørthe Omdal · odinho / Velmont

Forums » Opera for Windows/Mac/Linux » Opera browser