如何解决Raspbmc中HDMI上的声音下降问题?


15

我正在使用Raspbmc RC3在NFS和AFP上播放一些720 / 1080p内容。我经常听到声音下降的声音,每2-3分钟左右一次,声音持续1-2秒。

我已将XBMC设置为将Dolby / DTS转发到功能强大的接收器,并将音频模式设置为5.1。有任何想法吗?

Answers:


11

首先,停止xbmc

pi@raspbmc:~$ sudo initctl stop xbmc

去获取fbset

pi@raspbmc:~$ sudo apt-get install fbset

看一下当前的帧缓冲设置

pi@raspbmc:~$ fbset

mode "1920x1080"
    geometry 1920 1080 1920 1080 16
    timings 0 0 0 0 0 0 0
    rgba 5/11,6/5,5/0,0/16
endmode

启用硬件加速,也许可以改善xbmc GUI渲染并更快地享受3DDemos,如果需要加速,则不知道,但为什么不尝试学习一些东西

fbset -accel true

现在再看看

pi@raspbmc:~$ fbset

mode "1920x1080"
    geometry 1920 1080 1920 1080 16
    timings 0 0 0 0 0 0 0
    accel true
    rgba 5/11,6/5,5/0,0/16
endmode

好,让我们开始git和build-essential

pi@raspbmc:~$ sudo apt-get install git build-essential

复制raspb固件,这会占用大量空间!〜600mb

pi@raspbmc:~$ git clone git://github.com/raspberrypi/firmware.git

现在让我们将一些文件移动到应有的位置

pi@raspbmc:~$ cd firmware/opt/vc
pi@raspbmc:~/firmware/opt/vc$ sudo mv bin /opt/vc/
pi@raspbmc:~/firmware/opt/vc$ sudo mv include /opt/vc/
pi@raspbmc:~/firmware/opt/vc$ sudo mv sbin /opt/vc/
pi@raspbmc:~/firmware/opt/vc$ sudo mv src /opt/vc/

告诉我们的电视切换到1080p24,但先看看您的电视支持的分辨率

pi@raspbmc:~/firmware/opt/vc$ cd /opt/vc/bin
pi@raspbmc:/opt/vc/bin$ ./tvservice --modes=CEA
Group CEA has 15 modes:
           mode 1: 640x480 @ 60Hz, progressive
           mode 2: 720x480 @ 60Hz, progressive
           mode 3: 720x480 @ 60Hz, progressive
           mode 4: 1280x720 @ 60Hz, progressive
           mode 5: 1920x1080 @ 60Hz, interlaced
  (native) mode 16: 1920x1080 @ 60Hz, progressive
           mode 17: 720x576 @ 50Hz, progressive
           mode 18: 720x576 @ 50Hz, progressive
           mode 19: 1280x720 @ 50Hz, progressive
           mode 20: 1920x1080 @ 50Hz, interlaced
           mode 21: 720x576 @ 50Hz, interlaced
  (native) mode 31: 1920x1080 @ 50Hz, progressive
           mode 32: 1920x1080 @ 24Hz, progressive
           mode 33: 1920x1080 @ 25Hz, progressive
           mode 34: 1920x1080 @ 30Hz, progressive
pi@raspbmc:/opt/vc/bin$

好的模式32对我来说就是我想要的

pi@raspbmc:/opt/vc/bin$ ./tvservice --explicit="CEA 32"
Powering on HDMI with explicit settings (CEA mode 32)
pi@raspbmc:/opt/vc/bin$

让我们检查

pi@raspbmc:/opt/vc/bin$ ./tvservice -s
state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1920x1080 @ 24Hz, progressive
pi@raspbmc:/opt/vc/bin$

是的,开始xbmc

pi@raspbmc:/opt/vc/bin$ sudo initctl start xbmc

像Mediacenter一样欣赏无闪烁的电影

哦,请尝试在/ opt / vc / src中进行演示!


1
很棒的答案!
Piotr Kula 2012年

1
我看到您安装了build-essential,但随后看不到您使用任何构建工具。git中的二进制文件是否已签出,还是您错过了该make命令?
KayEss

8

我已经解决了:将视频设置为30Hz,不调整速率以匹配播放的文件。事实证明启用直通功能,但将音频设置为2.0可以使我的接收器获得不间断的5.1 AC3和DTS!


做得好,很好:)
Jivings 2012年

我会在4小时内-不能接受它尚未
Sjaak Trekhaak

我也整理它60Hz的-我超频我的皮的cpu_freq 900和gpu_freq至350
Sjaak Trekhaak

* arm_freq而不是cpu_freq
Sjaak Trekhaak 2012年

1

我通过编辑文件〜/ .xbmc / userdata / guisettings.xml并将其设置为true来解决此问题:

<dtshdpassthrough default="true">true</dtshdpassthrough>
<dtspassthrough default="true">true</dtspassthrough>
<dualaudio default="true">true</dualaudio>

希望这对某人有用。

问候,

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.