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

Adjustable video offset/delay to compensate for audio delay in Foobar DSPs #1

Open
amirzaidi opened this issue Nov 14, 2020 · 2 comments

Comments

@amirzaidi
Copy link

The player works great with zero-latency DSP plugins, but some DSPs like Ozone 8 (VST) offset the audio stream because they use look-ahead for some algorithms. This causes the video to be ahead of the audio track. Currently I'm disabling the DSPs causing this problem, but it would be nice if there was an adjustable audio sync option in milliseconds to compensate for this problem. In Ozone's case that would be around 400ms of a video delay.

@sammoth
Copy link
Owner

sammoth commented Nov 14, 2020

Yes that seems useful. Unfortunately none of mpv's settings can do this. Would it be useful to set it per-DSP preset or maybe even per-DSP somehow? I guess per-preset makes most sense as the delay will depend on Ozone's settings.

@amirzaidi
Copy link
Author

I personally would be fine with either, as I don't ever change my preset. It's set up to do some basic post-processing for my headphones so it's always enabled. For others, yes, it might be great to have it linked to the current DSP preset somehow. I'm not familiar with Foobar's SDK so I don't know how much effort that would take.

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

No branches or pull requests

2 participants