在Chrome (和火狐)播放youtube视频HTML5时,只有立体声输出。我可以在VLC中播放5.1环绕声,所以硬件和Ubuntu设置是正确的。
Windows用户可以选择通过以下方式启动Chrome:
--disable-audio-output-resampler,但我甚至不能让它在我的Windows机器上工作。
有没有办法使用html5环绕声5.1与Chrome在Youtube上的Ubuntu或其他网站,如Vimeo?
Ubuntu 14.04与Chrome 54.0.2840.59
执行killall pulseaudio后,我仔细备份/.config/pulse/目录的内容,然后手动删除dir,用pulseaudio -k重新启动脉冲引擎,然后重新启动Chrome。在使用Youtube的Chrome中,仍然没有环绕声。
发布于 2016-11-02 19:57:27
发布于 2016-10-30 00:57:35
您仍然可以使用启动参数在Ubuntu中启动Chrome
-禁用-音频输出-重放
-尝试-支持-通道布局
打开Chrome配置文件:
sudo nano /usr/share/applications/google-chrome.desktop
找到包含Chrome路径的行:
Exec=/usr/bin/google-chrome-stable %U
并将其改为:
Exec=/usr/bin/google-chrome-stable --disable-audio-output-resampler --try-supported-channel-layouts %U
注意:文件google-chrome.desktop也可能位于~/.local/share/applications/google-chrome.desktop中。
发布于 2016-11-08 19:51:14
使用您所知道的支持5.1的东西,比如HTML5 AAC音频回放试验.多通道。如果这个测试不起作用,而且Chrome使用的脉冲比你知道的要大,问题是与脉冲音频,你必须深入。
接下来,在Chrome中播放一些内容,比如这个长驴侵染香菇专辑,100%好。让它继续播放,当它在播放时,运行pacmd list-sink-inputs。它应该让你看到这样的东西
1 sink input(s) available.
index: 381
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 1 <alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.2>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 56.23 ms
requested latency: 23.22 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 14
client: 410 <Chromium>
properties:
application.icon_name = "chromium-browser"
media.name = "Playback"
application.name = "Chromium"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "31"
application.process.id = "2148"
application.process.user = "ecarroll"
application.process.host = "x230"
application.process.binary = "chromium-browser"
window.x11.display = ":0.0"
application.language = "en_US.UTF-8"
application.process.machine_id = "0275a7cffa4379527ee564ba552469a2"
application.process.session_id = "c2"
module-stream-restore.id = "sink-input-by-application-name:Chromium"通过这个,这是sink的索引,
sink: 1 <alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.2>而且,这是接收器输入当前正在接收的数据,如果这不是正确的,那么您正在播放的源是不正确的,也不是您的问题。
channel map: front-left,front-right
Stereo如果音乐是5.1,它应该是这样的
channel map: front-left,front-right,front-center,lfe,rear-left,rear-right
Surround 5.1现在运行这个。
pacmd list-sinks | grep -i "channel\|index"这将向您显示所有可以接受声音的接收器(频道)。如果它显示的是这样的东西,请注意有相应索引的那个。
channel map: front-left,front-right然后你/知道/那个脉冲将把频道缩小到立体声。否则,我们需要更多的信息。
https://askubuntu.com/questions/733359
复制相似问题