Closed Bug 1366189 Opened 8 years ago Closed 8 years ago

No sound when playing audio in google play music using firefox (linux)

Categories

(Core :: Audio/Video: Playback, defect)

52 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: krienke, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170413000000 Steps to reproduce: No special steps needed. Just browse to https://play.google.com go to "Music" and try to play any song. Actual results: The songs seems to be played which is visible by a graphical animation on the left side of the title, but you will not hear any sound. This bug exists since years in between. Just test again with Firefox 52.1.0 x86_64 on openSuSE leap 42.2. Using chrome instead of Firefox everything is ok. So its definitely a Firefox problem. Expected results: The played song should be hearable.
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 Hi Rainer, Since we don't have the openSuSE leap 42.2. OS installed on any of our testing stations, I have tested this issue on Ubuntu 16.04 x64 with the latest Firefox release (53.0.2), and the latest Nightly (55.0a1-20170518030213) and haven't managed to reproduce it. After navigating to the specified URL in the description, when going to the "Music" category and playing a song, the animation for the song is displayed and the song is also heard. Can you please download an official Firefox binary, either linux-i686 or linux-x86_64 depending on your system, and try to reproduce the issue? Activity Stream is a system add-on and has nothing to do with this issue, moving this to a more related component.
Component: Activity Streams: General → Audio/Video: Playback
Product: Firefox → Core
openSuSE default libavcodec is built without AAC and MP3 support (for patent reasons) (see https://en.opensuse.org/Restricted_formats) So you have to install a 3rd party libavcodec that supports those codec. Or use another Linux distribution without such restrictions. It works in Chrome as it ships with their own decoder (ffmpeg, they pay licenses for it). play.google.com should fix their code and check that a particular codec is supported. using isTypeSupported.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
@EmilPasca: I will download a prestine version of firefox directly from Mozilla and test if this version works better than the SuSE RPM. It may take some days... @Jean-Yves Avenard The original SuSE does not contain MP3 support but packages from the packman repo do. So I will check if really all relevant packages like libavcodec are installed from this repository and not from the system default. Thanks Rainer
Suse does ship with libavcodec. However, the default version of libavcodec provided is configured such as it has no support for patent encumbered codec.. You can check the configure line used to build ffmpeg. https://build.opensuse.org/package/view_file/openSUSE:Leap:42.2/ffmpeg/enable_decoders no mp3 (you can also type in a command line: ffmpeg --version) BTW, the mp3 patents have now expired, so suse could build libavcodec with mp3 support)
I downloaded the current version of Firefox from mozilla.org, but the problem remains. ffmpeg -version says: fmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-netcdf --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libmp3lame --enable-libtwolame --enable-libx264 --enable-libx265 --enable-libxvid libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 So according to this info libmp3lame is included. I also tried if I can listen songs on amazon.de which works fine. Only for google it does not work. Any idea what es I could try to find out more?
I just found the reason. It was an addon "flashstopper" that prevented playing to begin allthough play.google.com was added in the allow list. I removed the addon and things work fine. Thank you very much for your help.
You need to log in before you can comment on or make changes to this bug.