Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434848 - www-client/firefox-15.0.1 cannot play opus audio files
Summary: www-client/firefox-15.0.1 cannot play opus audio files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 01:18 UTC by redneb
Modified: 2012-09-15 12:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error message (error.png,22.96 KB, image/png)
2012-09-14 03:17 UTC, redneb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description redneb 2012-09-13 01:18:22 UTC
Firefox 15 now natively supports opus, a new audio format. While I was able to play opus files on the precompiled x86_64 firefox 15 binaries from mozilla.org, it does not seem to work with www-client/firefox. To test it, you can go to [1] and it should simply play the file instead of complaining about the file being corrupt. [2] includes the same file embedded in a web page (scroll down to "How do I use it in a web page?").

[1] http://people.xiph.org/~giles/2012/opus/ehren-paper_lights-64.opus
[2] https://hacks.mozilla.org/2012/07/firefox-beta-15-supports-the-new-opus-audio-format/

Reproducible: Always
Comment 1 Jory A. Pratt gentoo-dev 2012-09-14 01:09:19 UTC
Works fine here, can you test with a clean profile please.
Comment 2 redneb 2012-09-14 03:16:14 UTC
I did test it with a clean profile and it didn't work. I also tried it on 3 different computers (2 amd64 & 1 x86) but it failed in all of them.
Comment 3 redneb 2012-09-14 03:17:15 UTC
Created attachment 323718 [details]
error message

Here's the error that firefox gives me.
Comment 4 Jory A. Pratt gentoo-dev 2012-09-14 11:59:19 UTC
(In reply to comment #3)
> Created attachment 323718 [details]
> error message
> 
> Here's the error that firefox gives me.

Do you have the gst-plugins-bad installed?
Comment 5 redneb 2012-09-15 03:02:27 UTC
(In reply to comment #4)
> Do you have the gst-plugins-bad installed?

Yup.
Comment 6 redneb 2012-09-15 12:18:26 UTC
I found out what the issue is: firefox was compiled with the gstreamer use flag and thus it was trying to do the opus decoding through gst-plugins-bad which does not support opus as of gst-plugins-bad-0.10.22. If disable the gstreamer use flag then firefox correctly plays opus files using the bundled opus library. I guess I will have to wait until gst-plugins-bad-0.10.23 (which supports opus) hits the tree.