youtube video sound sync problem with JACK (no pulseaudio)

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
bentjack
Posts: 1
Joined: Mon Sep 14, 2020 6:05 pm

youtube video sound sync problem with JACK (no pulseaudio)

Post by bentjack »

Youtube video sound sync is going off using just JACK, no pulseaudio. I am currently using USB sound card and using the following settings.

Code: Select all

jack_control ds alsa
jack_control dps device hw:3
jack_control dps rate 48000
jack_control dps nperiods 3
jack_control dps period 512
jack_control start
hw number 3, for my system, is the USB sound card. I thought increasing period would solve this issue, but the problem still exist. The longer the youtube video, it is likely that the sound sync is off, which it happens gradually. Looking at JACK connection panel (such as qtjackctl or patchage), I can see that the samples are dropping whenever this happens. When this starts it continues to drop more and more samples. When I reload the page of the youtube video, sound is synced, but as time progresses it goes off again.

I have not tried other web-based videos, but this only happens for youtube video. With a mp4 file on my local machine played by mplayer does not show this problem.
Post Reply