Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium has no sound in webpages which translates words
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
icyhearts
n00b
n00b


Joined: 24 Sep 2017
Posts: 31

PostPosted: Fri Dec 08, 2017 1:45 pm    Post subject: chromium has no sound in webpages which translates words Reply with quote

If i watch video in youtube or some other video sites, chromium has sound.
It can also play ogg file on wikipedia such as:
https://en.wikipedia.org/wiki/File:Dennis_Ritchie.ogg

However, if i need a site which translates words and it can pronounce words,
such as
http://fanyi.baidu.com/
I can not hear the pronunciation of words from the site.
If i want listen a music from
http://music.163.com/
,there is no sound.
local software such as stardict can pronounce well.
Here is USE flag of chromium
Code:

[root@icefire ~]#equery u chromium
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/chromium-62.0.3202.94:
 U I
 - - component-build    : Split build into more shared libraries to speed up linking. Mostly intended for debugging and development, NOT RECOMMENDED for general use.
 - - cups               : Add support for CUPS (Common Unix Printing System)
 - - custom-cflags      : Build with user-specified CFLAGS (unsupported)
 - - gnome-keyring      : Enable support for storing passwords via gnome-keyring
 - - hangouts           : Enable support for Google Hangouts features such as screen sharing
 - - kerberos           : Add kerberos support
 - - l10n_am            : Amharic
 - - l10n_ar            : Arabic
 - - l10n_bg            : Bulgarian
 - - l10n_bn            : Bengali
 - - l10n_ca            : Catalan
 - - l10n_cs            : Czech
 - - l10n_da            : Danish
 - - l10n_de            : German
 - - l10n_el            : Modern Greek
 + + l10n_en-GB         : English (United Kingdom)
 - - l10n_es            : Spanish
 - - l10n_es-419        : Spanish (Latin America)
 - - l10n_et            : Estonian
 - - l10n_fa            : Persian
 - - l10n_fi            : Finnish
 - - l10n_fil           : Filipino
 - - l10n_fr            : French
 - - l10n_gu            : Gujarati
 - - l10n_he            : Hebrew
 - - l10n_hi            : Hindi
 - - l10n_hr            : Croatian
 - - l10n_hu            : Hungarian
 - - l10n_id            : Indonesian
 - - l10n_it            : Italian
 - - l10n_ja            : Japanese
 - - l10n_kn            : Kannada
 - - l10n_ko            : Korean
 - - l10n_lt            : Lithuanian
 - - l10n_lv            : Latvian
 - - l10n_ml            : Malayalam
 - - l10n_mr            : Marathi
 - - l10n_ms            : Malay (macrolanguage)
 - - l10n_nb            : Norwegian Bokmål
 - - l10n_nl            : Dutch
 - - l10n_pl            : Polish
 - - l10n_pt-BR         : Portuguese (Brazil)
 - - l10n_pt-PT         : Portuguese (Portugal)
 - - l10n_ro            : Romanian
 - - l10n_ru            : Russian
 - - l10n_sk            : Slovak
 - - l10n_sl            : Slovenian
 - - l10n_sr            : Serbian
 - - l10n_sv            : Swedish
 - - l10n_sw            : Swahili (macrolanguage)
 - - l10n_ta            : Tamil
 - - l10n_te            : Telugu
 - - l10n_th            : Thai
 - - l10n_tr            : Turkish
 - - l10n_uk            : Ukrainian
 - - l10n_vi            : Vietnamese
 + + l10n_zh-CN         : Chinese (China)
 + + l10n_zh-TW         : Chinese (Taiwan)
 - - proprietary-codecs : Enable proprietary codecs like H.264, MP3
 + + pulseaudio         : Add support for PulseAudio sound server
 - - suid               : Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels
 - - system-ffmpeg      : Use system ffmpeg instead of the bundled one
 - - system-icu         : Use system icu instead of the bundled one
 - - system-libvpx      : Use system libvpx instead of the bundled one
 - - tcmalloc           : Use bundled tcmalloc instead of system malloc
 - - widevine           : Unsupported closed-source DRM capability (required by Netflix VOD)

What's the reason? Many thanks
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Fri Dec 08, 2017 3:25 pm    Post subject: Reply with quote

Hi icyhearts,

Dennis_Ritchie.ogg works. http://fanyi.baidu.com/ works also with chromium.


On the music channel http://music.163.com/ this explanation appears: 由于 版权 保护, 您 所在 的 地区 暂时 无法 使用.
translate.google says : "Your area is temporarily unavailable due to copyright protection."

Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
icyhearts
n00b
n00b


Joined: 24 Sep 2017
Posts: 31

PostPosted: Sat Dec 09, 2017 2:50 am    Post subject: Reply with quote

Marlo wrote:
Hi icyhearts,

Dennis_Ritchie.ogg works. http://fanyi.baidu.com/ works also with chromium.


On the music channel http://music.163.com/ this explanation appears: 由于 版权 保护, 您 所在 的 地区 暂时 无法 使用.
translate.google says : "Your area is temporarily unavailable due to copyright protection."

Ma

Hi, Marlo.
Thanks for you replay, what's your chromium version? And you USE flags for chromium?
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Sat Dec 09, 2017 7:00 am    Post subject: Reply with quote

icyhearts wrote:


Hi, Marlo.
Thanks for you replay, what's your chromium version? And you USE flags for chromium?


Code:
tux ~ # emerge chromium -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] www-client/chromium-63.0.3239.70::gentoo  USE="component-build cups (pic) proprietary-codecs suid system-ffmpeg -custom-cflags -gnome-keyring -hangouts -kerberos (-neon) -pulseaudio (-selinux) -system-icu (-system-libvpx) (-tcmalloc) -widevine" L10N="de -am -ar -bg -bn -ca -cs -da -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
It is a kde installation. So Pulseaudio is switched off globally. But on another installation I use gnome with pulseaudion, that also works very well.

I hope it helps you.
Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum