Chrome HTML5 Video Out of Sync With Audio

7,443

Actually, I found this answer myself snooping around at a later date, shortly before I switched to Arch Linux.

In pavucontrol, you can head to your output device in question and select the "advanced" dropdown. There's an option labeled "Latency Offset".

screen shot

For some reason, mine was set to 1000.00. Simply set it to 0.00 and the problem goes away.

Share:
7,443

Related videos on Youtube

Orangestar
Author by

Orangestar

content creator.

Updated on September 18, 2022

Comments

  • Orangestar
    Orangestar over 1 year

    I tried searching but I couldn't find this one specifically.

    When using the latest Chromium (version 37.0.2062.120 Ubuntu 14.04 (281580)) HTML5 video with audio will be out of sync. Usually, the audio plays further ahead than the video. I've tested it with YouTube HTML5 video and with loading an HTML5 video with audio directly into the browser.

    It's a very noticeable difference, usually a whole second or more of latency.

    I thought the problem might have been due to my audio backend, but I'd prefer not to remove Pulseaudio if at all possible.

    • Rajiv Bakulesh Shah
      Rajiv Bakulesh Shah over 9 years
      I'm not sure if this helps or not, but I'm a web developer who's working on an HTML5 video heavy website. I use a Mac, and I have the same issue in Chrome. So I doubt that this bug is unique to the Linux build or your audio back-end.
  • JxAxMxIxN
    JxAxMxIxN over 7 years
    On my Raspberry Pi 3 with Chromium the Latency Offset worked beautifully! first: sudo apt-get install pavucontrol -- then run: pavucontrol - I first used a video with someone speaking to get the audio visually close, then I used this video youtube.com/watch?v=M8ERqeu7pP0 to sync more accurately with the beats and ended up with about an 800ms offset setting.
  • JayEye
    JayEye almost 5 years
    pavucontrol only allows up to 99ms offset, and I have a lot more than that