Chrome 无法播放某些 MP3 文件

Certain MP3 files not playing in Chrome

我有一个网站,其中收集了配音演员的音频剪辑,以提升他们的技能和才能。最近我注意到 Google Chrome 中的某些片段无法播放。不过你可以下载mp3播放,也可以在Firefox, Safari, IE等浏览器听

所以我开始谷歌搜索并发现了这个几年前关闭的错误:https://code.google.com/p/chromium/issues/detail?id=110309

我还找到了这个页面:http://cro.ma/?faqs=some-of-my-mp3-files-does-not-play-in-google-chrome-browser-but-works-fine-in-all-other-browsers

问题中的 MP3 播放时间很短,只有 10 秒,大小只有 168kb。它确实有一些元信息,但按照 link 中的建议,我将其删除,但它仍然无法播放。

我注意到非工作 MP3 和工作 MP3 之间的唯一区别是非工作 MP3 的比特率为 112kbps,而工作 MP3 为 128kbps。

该站点使用 MediaElement.js,但即使只是将 MP3 拖入浏览器 window 并使用默认引擎也有相同的结果。

有没有其他人遇到过这个问题并且知道解决方法?

GoogleChrome 的 45 版有问题。 Joshua Moon 提供了以下可能对您有帮助的解决方案,所有功劳都归于他。只是发帖,因为你的问题是在他之后问的,我想你可能没有看到它。

约书亚说:

I'm not 100% on the specifics of this, however, it looks like some MP3s using older versions of Lame, or longer than a couple of minutes, or at high (300 <) or low (128 >=) bitrates seem to be affected. It appears to be webkit-related, as it also affects Safari users.

HOWEVER!

As a solution, re-encoding the MP3 files using 160Kbps bitrate, and the latest version of LAME (3.99.5) seems to have fixed this, and they now play normally across all major browsers again.

您可以在此处(在 Stack Overflow 上)查看完整的问题和答案:

我今天在 Chrome 50 遇到了这个问题,只需重新启动我的浏览器就可以让它再次工作。

根据其他人的评论,我安装了 "Audio Converter" 并将我的 mp3 文件转换为 128 Kbps(标准),它们现在可以工作了。我没有发现任何质量损失。