搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Html5 audio is delayed (Firefox only)

  • 3 回覆
  • 12 有這個問題
  • 464 次檢視
  • 最近回覆由 Releth

more options

Hello everyone, I am having this problem where the audio is delayed by approximately 300ms, I've tested and noticed that on Youtube videos. I am using Firefox version 40.0.3, but this problem occurred a couple of versions ago. As a reference, please see this video https://www.youtube.com/watch?v=bCPEidaVzQU (BBC HD audio sync test ) When watching this on Firefox with HTML5 and I pause when the sound appears, its usually on 3 (audio late). When I use Firefox with the YouTube™ Flash® Player 1.4.0 add-on or on Google Chrome with HTML5 I get 0 (no delay). Steps I tried so far: - Restarting Firefox in safe mode and add-ons disabled (HTML5 audio still delayed) - Creating a brand new user profile (HTML5 audio still delayed) - Reinstalled Firefox (HTML5 audio still delayed) - Options -> Advanced -> check/uncheck "Use hardware acceleration when available" (HTML5 audio still delayed)

I have browsed the forum and found some people having a somewhat similar issue, where everything starts normally but a couple of minutes in the video, audio starts to desynchronize. I do not have that problem, my audio is always delayed with those 300ms and the delay stays the same. Usually it's not a big deal, but when watching someone talk directly, it gets really bothersome. If anyone can help me out with some advice, I would really appreciate it.

Releth

P.S. I found this reddit post https://www.reddit.com/r/firefox/comments/39mrox/firefox_html5_audio_delay/ seems other people have the exact same issue too.

Hello everyone, I am having this problem where the audio is delayed by approximately 300ms, I've tested and noticed that on Youtube videos. I am using Firefox version 40.0.3, but this problem occurred a couple of versions ago. As a reference, please see this video https://www.youtube.com/watch?v=bCPEidaVzQU (BBC HD audio sync test ) When watching this on Firefox with HTML5 and I pause when the sound appears, its usually on 3 (audio late). When I use Firefox with the YouTube™ Flash® Player 1.4.0 add-on or on Google Chrome with HTML5 I get 0 (no delay). Steps I tried so far: - Restarting Firefox in safe mode and add-ons disabled (HTML5 audio still delayed) - Creating a brand new user profile (HTML5 audio still delayed) - Reinstalled Firefox (HTML5 audio still delayed) - Options -> Advanced -> check/uncheck "Use hardware acceleration when available" (HTML5 audio still delayed) I have browsed the forum and found some people having a somewhat similar issue, where everything starts normally but a couple of minutes in the video, audio starts to desynchronize. I do not have that problem, my audio is always delayed with those 300ms and the delay stays the same. Usually it's not a big deal, but when watching someone talk directly, it gets really bothersome. If anyone can help me out with some advice, I would really appreciate it. Releth P.S. I found this reddit post https://www.reddit.com/r/firefox/comments/39mrox/firefox_html5_audio_delay/ seems other people have the exact same issue too.

由 Releth 於 修改

被選擇的解決方法

A late update, I still haven't updated my graphics drivers, but I don't think they are the cause, as I noticed, the newer videos have no delay on Firefox anymore. I don't really know why only Firefox has a sound delay on older videos (and the other browsers don't) but I'm happy that the new videos are working fine.

從原來的回覆中察看解決方案 👍 2

所有回覆 (3)

more options

You can try to disable hardware acceleration in Firefox.

  • Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

You need to close and restart Firefox after toggling this setting.

You can check if there is an update for your graphics display driver and check for hardware acceleration related issues.

more options

Hello cor-el, thank you for the quick reply. I did change "Use hardware acceleration when available" option on and off with restarting Firefox every time now, but still the issue remains. I will try to find newer drivers later in the day and will let you know if it changed something.

I did notice that Firefox was using the NVIDIA card and Chrome used the Integrated Intel card, so here are some tests I made, always restarting the browsers after each change but sadly, the result was always Chrome no delay and Firefox with a delay (with a small exception):

  • I forced both browsers to use the Integrated Intel card
  • I forced both browsers to use the NVIDIA card
  • I changed the resolution of the video through all possible resolution (720p to 144p) on Chrome, no delay
  • I changed the resolution of the video through all possible resolution (720p to 144p) on Firefox, from 240p to 720p the delay was the same, at 144p however, the delay was smaller (0-200ms) depending on the video.

For a quick reference, I also did a small test with Internet Explorer 9 (also no delay) but it was still using the flash player and not HTML5 (and I don't want to update it) so I didn't include it in my main testings.

more options

選擇的解決方法

A late update, I still haven't updated my graphics drivers, but I don't think they are the cause, as I noticed, the newer videos have no delay on Firefox anymore. I don't really know why only Firefox has a sound delay on older videos (and the other browsers don't) but I'm happy that the new videos are working fine.