Watching videos with jack and dealing with latency

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
sysrqer
Established Member
Posts: 1823
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Watching videos with jack and dealing with latency

Postby sysrqer » Sun Apr 21, 2019 9:30 am

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.

User avatar
Linuxmusician01
Established Member
Posts: 660
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland

Re: Watching videos with jack and dealing with latency

Postby Linuxmusician01 » Sun Apr 21, 2019 2:08 pm

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.

crocket
Established Member
Posts: 60
Joined: Fri Mar 29, 2019 11:56 am

Re: Watching videos with jack and dealing with latency

Postby crocket » Wed Apr 24, 2019 12:07 am

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


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 2 guests