Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Audio builds up latency over time and losing sync with Video Playback #225

Closed
1 task done
nodeful opened this issue Apr 19, 2020 · 22 comments
Closed
1 task done

Comments

@nodeful
Copy link
Collaborator

nodeful commented Apr 19, 2020

Disclaimer:
Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

  • I have checked for a similar issue and sure it hasn't been reported before.

Describe the bug
Reported in #119 #144 #212

I (the developer) have never actually seen this problem occur to me, probably due to the specific hardware setup that I have. However, many users have reported and this is a critical issue to fix.

On some hardware setups Audio processing always drifts the audio playback slightly, which over long period of time can result in drastic difference in sync between audio and video playback.

This is probably caused by difference in Sampling Rates between driver and output device and eqMac having quite primitive drift correction methods.

The bug is likely related to #224 and probably fixing one of these will fix the other.

Need to do more research.

Steps to Reproduce
Need to go through the referenced issues and see what hardware setup people have reported to be able to achieve a similar setup and reproduce the issue.

Expected behaviour
eqMac should always keep the audio in sync as much as possible and introduce no latency over time.

Setup information:
Need to go through the referenced issues and see what hardware setup people have reported to be able to achieve a similar setup and reproduce the issue.

@hanrok
Copy link

hanrok commented Apr 21, 2020

@nodeful , I don't know if I have exactly that bug but when I use the app after a while the sound is crackling.
How can I help fixing this issue? Does debug info might help in this situation? how can I get you those?

Thanks in advance 😄

@nodeful
Copy link
Collaborator Author

nodeful commented Apr 24, 2020

@hanrok as I already mentioned, it's related and referenced in #224

@chrismfrench
Copy link

Downloaded the app, works great and UI is awesome. I finally retired my Thunderbolt Display and this app was the perfect solution for my HDMI cable carrying my video and audio data to my new external monitor. I think this app will help out a lot of people in the same situation who are getting new non-Apple external monitors since the XDR display is so damn expensive. However, the audio/video delay is definitely an issue for me, now more than ever with so many Zoom conferences. You mentioned needing hardware information to replicate the issue and get it fixed, please let me know how I can provide that for you. Thanks!

@hanrok
Copy link

hanrok commented Apr 28, 2020

@hanrok as I already mentioned, it's related and referenced in #224

I understand, but I'm willing to help because I really like the equalizer :)
So just let me know what debug information do you need and how to get it and I'll give you that

@nodeful
Copy link
Collaborator Author

nodeful commented Apr 28, 2020

I have just release a new version v0.1.0 where I tried to mitigate the issue.
Could you please download the latest version from https://eqmac.app or GitHub, or update directly from the app. Test and report back!

@chrismfrench
Copy link

Just downloaded and installed v0.1.0 and have been using for ~20 minutes on Zoom, YouTube, Spotify, so far not audio delays! Will report back with anything new, thanks again for such a great app!

@hanrok
Copy link

hanrok commented Apr 30, 2020

It work for me too. But there is a crash when I disconnect my Sony WH-1000 bluetooth headphones
crash.txt

@nodeful
Copy link
Collaborator Author

nodeful commented Apr 30, 2020

@hanrok your issue is related to #227
Can you please remove your comment as it's very big and noisy and post it as a file (drag and drop a .txt file) in the issue I referenced. Thank

@northamerican
Copy link

@nodeful Sadly, i'm still experiencing an increasing delay. several seconds after a few hours.

Catalina on HDMI tv output.

Soundflower had this same issue and I don't think they've managed to fix it to this day. Would be really nice to experience working volume control on HDMI.

Maybe 'reset playback' can be triggered every 30 mins or so as a very hacky workaround?

@hanrok
Copy link

hanrok commented May 1, 2020

@hanrok your issue is related to #227
Can you please remove your comment as it's very big and noisy and post it as a file (drag and drop a .txt file) in the issue I referenced. Thank

sure, sorry about that

@ppamorim
Copy link

I am getting the same issue :/

@nodeful
Copy link
Collaborator Author

nodeful commented Jun 27, 2020

Can you guys please try the latest version v0.3.2 and report back if the issue is still there. Thank you

@vcanales
Copy link

Can you guys please try the latest version v0.3.2 and report back if the issue is still there. Thank you

0.3.7 here, very noticeable latency in video playback.

@therealthepaul
Copy link

Can verify that the latency issue described in this bug is still happening on external display (over HDMI). UI Version: 1.2.2, App Version: 0.3.7, Driver Version: 1.2

@nodeful
Copy link
Collaborator Author

nodeful commented Jun 25, 2021

Thanks for being patient with me.
I have just released v1.0.0. You can download it here: https://github.com/bitgapp/eqMac/releases/tag/v1.0.0
Or from the website: https://eqmac.app
Could you please let me know if this issue is still present.
Thanks again.

Roman

@Geffreyvanderbos
Copy link

Hey Roman,

Still got a drift going. App Version 1.1.0. Driver Version 1.2.3.

2020 Macbook M1. Bluetooth connected with Sony WH-1000XM3 on Expert equaliser. If that matters.

Thanks for all your work! Happy customer.

@nodeful
Copy link
Collaborator Author

nodeful commented Nov 19, 2021

I think this issue has been solved for a while now, I haven't had reports of this happening lately. I will close this issue for now unless someone tells me otherwise. Thank you everyone for your patience and support

@nodeful nodeful closed this as completed Nov 19, 2021
@cyounkins
Copy link

cyounkins commented Nov 7, 2022

I think I'm experiencing this. When watching Twitch livestreams there's a noticeable disconnect between the person's mouth and the audio. Here's a recorded sample: https://youtu.be/6h0p3MroOls I see it across multiple people on Twitch, but it's possible it's limited to Twitch.

I'm on app v1.6.2, driver v2.2.0, UI v4.3.1. Firefox 106.0.4.

YouTube "audio latency tests" (like https://www.youtube.com/watch?v=ucZl6vQ_8Uo) work fine, but they are short. Maybe I need to copy one and loop it a bunch?

@klerpi
Copy link

klerpi commented Apr 25, 2023

see it across multiple people on Twitch, but it's possible it's limited to Twitch

Unfortunately it isn't. Happening a lot on YouTube.

@cyounkins
Copy link

I uninstalled eqMac but continued to see audio delay on Twitch streams - it may be / have been Firefox or Twitch.

@klerpi
Copy link

klerpi commented Apr 25, 2023

I uninstalled eqMac but continued to see audio delay on Twitch streams - it may be / have been Firefox or Twitch.

I'm also using Firefox. This may be the case.

@pedrowrt
Copy link

I'm having the same issue, crackling and audio/video sync delay in Safari/Youtube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests