Bug 22443

Summary: Chromium-browser generates different/bad audio compared to same page under google-chrome
Product: Mageia Reporter: Jerrold Heyman <heymanj>
Component: RPM PackagesAssignee: Christiaan Welvaart <cjw>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: chromium-browser-stable-62.0.3202.94-1.mga6 CVE:
Status comment:
Attachments: Mageia Chromium
working Google Chrome
Additional Chromium
Chrome64
Chromium63

Description Jerrold Heyman 2018-01-24 00:28:25 CET
Description of problem:
Side by side installation of chromium-browser (chromium-browser-stable-62.0.3202.94-1.mga6) and google-chrome (google-chrome-stable-63.0.3239.132-1
).  Facebook video displays it best - audio for chromium-browser is bad/wrong (codec related?) whereas same audio is smooth and easy to listen to under google-chrome.

Version-Release number of selected component (if applicable):
chromium-browser-stable-62.0.3202.94-1.mga6

How reproducible:
Almost always


Steps to Reproduce:
1.install chromium-browser-stable-62.0.3202.94-1.mga6
2.download 64 bit RPM from chrome.google.com and install
3.visit a Facebook page, look for a video and play with each browser.
4. Audio is different (and awful/wrong) on chromium-browser in almost all cases
Comment 1 Marja Van Waes 2018-01-24 10:25:32 CET
Assigning to the registered maintainer.

Assignee: bugsquad => cjw
CC: (none) => marja11

Comment 2 Christiaan Welvaart 2018-01-25 01:03:26 CET
We're at version 63 but chromium currently cannot (reliably) be built on the build system because the build takes longer than the configured timeout.

You can test with my local build for now:
http://www.time4t.net/~cjw/mageia/cauldron/RPMS/x86_64/chromium-browser-stable-63.0.3239.108-0.1.mga6.x86_64.rpm

If the audio issue persists with chromium 63, see below.


Please open chrome://media-internals in a separate tab, look up the player for the facebook video, and report:
- audio_codec_name
- audio_decoder

(or just copy the whole player properties, and any error/warning messages you can find in the Log)
Comment 3 Jerrold Heyman 2018-01-25 02:39:10 CET
Created attachment 9922 [details]
Mageia Chromium
Comment 4 Jerrold Heyman 2018-01-25 02:45:16 CET
Created attachment 9923 [details]
working Google Chrome

The videos are not the same ones, but the audio issues remain.
Chromium wrong/weird, Chrome clear and understandable.
Comment 5 Jerrold Heyman 2018-01-25 02:46:27 CET
Created attachment 9924 [details]
Additional Chromium

Will download your sandbox version of Chromium to see if it resolves anything
Comment 6 Jerrold Heyman 2018-01-25 03:03:01 CET
No resolution.  I have made sure that I played the identical video in both this time.  Two (2) more files to be uploaded.  google-chrome (updated today to version 64.0.3282) that works, and chromium (version 63.0.3239) that doesn't
Comment 7 Jerrold Heyman 2018-01-25 03:04:46 CET
Created attachment 9925 [details]
Chrome64
Comment 8 Jerrold Heyman 2018-01-25 03:05:27 CET
Created attachment 9926 [details]
Chromium63
Comment 9 Christiaan Welvaart 2018-01-27 18:28:00 CET
I tested with (direct) alsa output and pulseaudio output in my mga6 VM, both a video with AAC audio that I have stored locally, and streaming one of those facebook videos with AAC audio. All works fine here.
Comment 10 Christiaan Welvaart 2018-01-30 01:39:40 CET
Make sure you have libavcodec from the 'tainted' repository installed, otherwise AAC audio will only generate noise.
Comment 11 Jerrold Heyman 2018-01-30 05:03:12 CET
[jerry@unix ~]$ locate libavcodec
/usr/lib64/libavcodec.so.57
/usr/lib64/libavcodec.so.57.89.100
/usr/lib64/vlc/plugins/codec/libavcodec_plugin.so
/usr/share/doc/ffmpeg/libavcodec.html
[jerry@unix ~]$ rpm -qf /usr/lib64/libavcode.so.57
error: file /usr/lib64/libavcode.so.57: No such file or directory
[jerry@unix ~]$ rpm -qf /usr/lib64/libavcodec.so.57.89.100
lib64avcodec57-3.3.5-1.mga6

even created a symlink from /usr/lib64/libavcode.so -> /usr/lib64/libavcodec.so.57 to no avail.  

Note that *not* all audio is screwed up, just live posted.  A link to youtube.com generally works.  A link to spotify tonight worked just fine.
Comment 12 Christiaan Welvaart 2018-01-30 13:25:23 CET
There are two flavors of lib64avcodec57 and you can only have one of them installed, so creating symlinks will not help.

lib64avcodec57-3.3.5-1.mga6 is indeed the flavor without AAC support, for that you need lib64avcodec57-3.3.5-1.mga6.tainted . See https://wiki.mageia.org/en/Software_management - you need to enable tainted/release and tainted/updates media.

This should probably be mentioned in chromium-browser-stable's description.

Of course not all audio is broken, only AAC encoded audio. Audio encoded as vorbis, opus, mp3, etc. should work fine.

Status: NEW => RESOLVED
Resolution: (none) => INVALID