Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Audio RaspberryPi 2和OSMC(Kodi)的声音问题_Audio_Video_Raspberry Pi2_Kodi - Fatal编程技术网

Audio RaspberryPi 2和OSMC(Kodi)的声音问题

Audio RaspberryPi 2和OSMC(Kodi)的声音问题,audio,video,raspberry-pi2,kodi,Audio,Video,Raspberry Pi2,Kodi,我想用我的Raspberry Pi 2和OSMC从外部HDD播放一些视频文件,但声音有问题。我听到的不是视频声音,而是非常响亮的沙沙声。有点像老式电子游戏中的机关枪声。该错误仅发生在某些视频文件中,其他视频文件工作正常。 作为音频输出,我使用HDMI作为树莓连接到我的投影仪。然后连接到我的扬声器 因为我认为这可能是编解码器的问题,我买了并激活了MPEG-II和VC1编解码器,但这并没有帮助 以下是其中一个故障文件的一些信息: General Complete name

我想用我的Raspberry Pi 2和OSMC从外部HDD播放一些视频文件,但声音有问题。我听到的不是视频声音,而是非常响亮的沙沙声。有点像老式电子游戏中的机关枪声。该错误仅发生在某些视频文件中,其他视频文件工作正常。 作为音频输出,我使用HDMI作为树莓连接到我的投影仪。然后连接到我的扬声器

因为我认为这可能是编解码器的问题,我买了并激活了MPEG-II和VC1编解码器,但这并没有帮助

以下是其中一个故障文件的一些信息:

General
Complete name                            : hds-hp1-rmx.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 24.1 GiB
Duration                                 : 2h 38mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 21.7 Mbps
Encoded date                             : UTC 2011-04-16 09:29:16
Writing application                      : mkvmerge v4.6.0 ('Still Crazy After All These Years') gebaut am Mar 10 2011 02:50:32
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 1
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint                            : Microsoft
Duration                                 : 2h 38mn
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Default                                  : No
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 38mn
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 509 MiB (2%)
Language                                 : German
Default                                  : Yes
Forced                                   : Yes

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 2h 38mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy
Language                                 : English
Default                                  : No
Forced                                   : No
我对使用以下编解码器的文件也有同样的问题: V_MPEG4/ISO/AVC(视频)和A_AC3(音频)

但V_MPEG4/ISO/AVC(视频)和A_DTS(音频)工作正常。。。 我感谢你给我的任何暗示

亲切问候,, 马蒂亚斯

好吧

经过数小时的谷歌搜索,甚至编写脚本,我找到了解决方案。 就像往常一样,这是难以置信的简单

我的问题是,我的投影仪根本不支持AC3。因此,我只需在Kodi设置中禁用AC3音频直通,现在它就像一个魔咒一样工作

我希望这也能帮助别人,而不仅仅是我。这就是为什么我会把这段独白放在网上