Watching videos with jack and dealing with latency
Moderators: MattKingUSA, khz
- sysrqer
- Established Member
- Posts: 2527
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 153 times
- Contact:
Watching videos with jack and dealing with latency
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.
- Linuxmusician01
- Established Member
- Posts: 1547
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Watching videos with jack and dealing with latency
If I'm not mistaken then you can set that as default for all video's in Kodi.sysrqer wrote:[...]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
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
jackd -P 90 -d alsa -p 256 -n 2 -r 48000 -c 2