Page 1 of 1

Watching videos with jack and dealing with latency

Posted: Sun Apr 21, 2019 9:30 am
by sysrqer
If i have jack running and watch a video then the audio is out of sync with the picture. I assume this is the buffer size and I have noticed that lowering that reduces the latency but is there a way to fix this such as delaying all video by the jack buffer size? I don't really want to change the buffer size constantly but I want to have jack running all the time. I can adjust the sync in kodi and vlc but it's a pain to do this for every video.

Re: Watching videos with jack and dealing with latency

Posted: Sun Apr 21, 2019 2:08 pm
by Linuxmusician01
sysrqer wrote:[...]I can adjust the sync in kodi and vlc but it's a pain to do this for every video.
If I'm not mistaken then you can set that as default for all video's in Kodi.

Re: Watching videos with jack and dealing with latency

Posted: Wed Apr 24, 2019 12:07 am
by crocket
You can create a system service that runs jackd as your normal user. jackd can run as a background service on my computer.

jackd -P 90 -d alsa -p 256 -n 2 -r 48000 -c 2