Chrome HTML5 Video Out of Sync With Audio












1















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.










share|improve this question























  • 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.

    – Rajiv Bakulesh Shah
    Nov 22 '14 at 7:56
















1















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.










share|improve this question























  • 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.

    – Rajiv Bakulesh Shah
    Nov 22 '14 at 7:56














1












1








1


1






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.










share|improve this question














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.







sound video google-chrome html5 audio-sync






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 15 '14 at 5:22









OrangestarOrangestar

2619




2619













  • 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.

    – Rajiv Bakulesh Shah
    Nov 22 '14 at 7:56



















  • 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.

    – Rajiv Bakulesh Shah
    Nov 22 '14 at 7:56

















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.

– Rajiv Bakulesh Shah
Nov 22 '14 at 7:56





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.

– Rajiv Bakulesh Shah
Nov 22 '14 at 7:56










1 Answer
1






active

oldest

votes


















2














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|improve this answer


























  • 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.

    – JxAxMxIxN
    Oct 5 '16 at 5:04












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f537261%2fchrome-html5-video-out-of-sync-with-audio%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














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|improve this answer


























  • 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.

    – JxAxMxIxN
    Oct 5 '16 at 5:04
















2














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|improve this answer


























  • 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.

    – JxAxMxIxN
    Oct 5 '16 at 5:04














2












2








2







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|improve this answer















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|improve this answer














share|improve this answer



share|improve this answer








edited Mar 2 at 10:10

























answered Nov 23 '14 at 5:09









OrangestarOrangestar

2619




2619













  • 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.

    – JxAxMxIxN
    Oct 5 '16 at 5:04



















  • 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.

    – JxAxMxIxN
    Oct 5 '16 at 5:04

















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.

– JxAxMxIxN
Oct 5 '16 at 5:04





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.

– JxAxMxIxN
Oct 5 '16 at 5:04


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f537261%2fchrome-html5-video-out-of-sync-with-audio%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido