lunes, 16 de febrero de 2015

Youtube and HTML5 with no sound on Google Chrome

Youtube video players were switched to use HTML5 instead of the old known flashplayer plugin (more infomation here).
I don't know why it seems that the sound works if you use PulseAudio as your sound layer, but if you use only ALSA (as me, cuz PulseAudio s*cks and wraps around ALSA which I consider unnecessary), the sound migth not work well (In my case it was working very nice but then was gone).

The solution for google-chrome is to start the browser with the option

--try-supported-channel-layouts

So call google-chrome as

$ google-chrome --try-supported-channel-layouts

And play a nice youtube video, if that works for you, Nice!!, You can edit the menu entries and links to google-chrome adding the mentioned command option.

Sound resampling 

Resampling can be another issue (I can not tell about that but google product forum talks about it), some forums suggest to add the option --disable-audio-output-resampler, so another solution could be calling google-chrome as

$ google-chrome --disable-audio-output-resampler --try-supported-channel-layouts 

If that does not help you... Well... F*ck... 

Remarks


  • By the time i tested the solutions my google-chrome version was 40.0.2214.94 (64-bit).
  • I choose to use ALSA system only cuz is more resources efficient and allows the use of very fancy plugins like alsa-equal (reviewed on an earlier post)

No hay comentarios.:

Publicar un comentario