![]() |
|
Software for measuring/correcting lip sync audio delay? - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Software for measuring/correcting lip sync audio delay? (/thread-4268.html) |
Software for measuring/correcting lip sync audio delay? - Robbie303 - 21.11.2025 I have several movies where the audio needs to be delayed. Finding the correct number of milliseconds that the audio in every one of those movies needs to be delayed is a time-consuming job. For example, some movies need to be delayed by 300 milliseconds, while other movies need to be delayed by 100 milliseconds. Is there some software or plugin for Hybrid that compares the video with the audio, and then measures what the lip sync delay should be? AI software that compares the movements of the mouth with the audio? Simply playing the movie in VLC and then kind of guessing the delay, trying and repeat is what I am doing now, but again, that simple method is quite time-consuming... What methods are you using to correctly measure the audio delay? RE: Software for measuring/correcting lip sync audio delay? - Selur - 21.11.2025 Sadly, there is no plugin I'm aware of. Vapoursynth, does support audio, but sadly there are no waveform plugins or similar. (I hoped a For Avisynth there is waveform plugin, but I never really cared about implementing support for it. => your best bet is some NLE like Davinci Resolve or similar. Cu Selur RE: Software for measuring/correcting lip sync audio delay? - Selur - 21.11.2025 I just remembered, maybe https://gitlab.com/EleonoreMizo/faveworm could be used: core.std.LoadPlugin(path="%FILTERPATH%/SourceFilter/BestSource/BestSource.dll")
RE: Software for measuring/correcting lip sync audio delay? - Selur - 22.11.2025 Downloading https://gitlab.com/EleonoreMizo/faveworm and extracting the 64bit .dll it into Hybrid/64bit/vsfilters/Support/ and replacing Hybrid/64bit/vsscripts/misc.py with https://github.com/Selur/VapoursynthScriptsInHybrid/blob/master/misc.py One can use: import miscdelay_ms=0: ![]() delay_ms=-20: ![]() delay_ms=20: ![]() adjust
24fps => 1000 / 24 ≈ 41,67 ms 25fps => 1000 / 25 = 40 ms 30fps => 1000 / 30 ≈ 33,33 ms 60fps => 1000 / 60 ≈ 16,67 ms so depending on the delay you might want to use higher compareFrameCount values. Maybe this helps a bit, to figure out the delay of a source. Cu Selur |