某些MP3文件不在Chrome中播放 [英] Certain MP3 files not playing in Chrome

查看:311
本文介绍了某些MP3文件不在Chrome中播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,为配音演员提供音频剪辑,以提升他们的技能和才能。最近引起了我的注意,在Google Chrome浏览器中,一些剪辑无法播放。但是,您可以下载.mp3,它会播放正常,或者您可以在Firefox,Safari,IE等中正常收听。

所以我开始使用谷歌搜索并找到这个几年前关闭的bug: https://代码。 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播放时间相当短,只有168kb。它确实有一些元信息,但在链接中推荐我剥去了它,但它仍然无法播放。



我注意到唯一的其他差异非工作的MP3和正在工作的MP3是非工作的MP3有112kbps的比特率,而工作的MP3是128kbps。



该网站使用 MediaElement.js ,但即使只是拖动MP3进入浏览器窗口,使用默认引擎也有相同的结果。



有没有人其他人经历过这个问题并知道一个修复程序?

解决方案

这是Google Chrome版本45的一个问题。约书亚月亮已经提供了以下的解决方案,可以帮助你,所有的信用都给他。刚刚发布的问题在他和我以为你可能没有见过它之后被问到。

约书亚说:

< blockquote>

我不是100%的具体细节,但它看起来像一些使用旧版Lame,或更长时间,或更长时间(300<)的MP3。或低(128> =)比特率似乎受到影响。它似乎与webkit相关,因为它也会影响Safari用户。



然而!



作为解决方案,使用160Kbps比特率对MP3文件进行重新编码,最新版本的LAME(3.99.5)似乎已经解决了这个问题,他们现在可以在所有主流浏览器上正常播放。



你可以在这里看到完整的问题和答案(关于堆栈溢出):谷歌浏览器不再播放某些音频文件


I have a site which has a collection of audio clips for voice actors to promote their skills and talents. Recently it has been brought to my attention that in Google Chrome some of the clips do not play. However you can download the .mp3 and it will play fine, or you can listen to it fine in Firefox, Safari, IE, etc.

So I started Googling and found this bug which was closed a couple of years ago: https://code.google.com/p/chromium/issues/detail?id=110309

I also found this page: http://cro.ma/?faqs=some-of-my-mp3-files-does-not-play-in-google-chrome-browser-but-works-fine-in-all-other-browsers

The MP3 in question is fairly short 10s in playtime, and only 168kb in size. It did have some meta information there but as recommended in the link I stripped that off, however it still doesn't play.

The only other difference I have noticed between the non-working MP3 and the working MP3s is that the non-working one has a bit rate of 112kbps, whereas the working ones are 128kbps.

The site uses MediaElement.js but even just dragging the MP3 into the browser window and using the default engine has the same outcome.

Has anyone else experienced this issue and know of a fix?

解决方案

It's a problem with version 45 of Google Chrome. Joshua Moon has provided the following solution which may help you, all credits go to him. Just posting as your question was asked after his and I thought you might not have seen it.

Joshua said:

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.

You can see the full question and answers here (on Stack Overflow): Google Chrome no longer plays certain audio files

这篇关于某些MP3文件不在Chrome中播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆