ACSignal
22nd May 2022, 00:17
Hello experts,
I have an AVI file with audio out of sync due to a gradual drift during the capture.
In VirtualDub there is an option under Video menu to adjust FPS so that video and audio durations match. This fixes the audio out of sync problem.
IS there a way to do the same in AVISynth?
Another question: What about changing the sample rate instead of FPS. That should accomplish the same result.
I would need to find out what the sample rate should be in order to match the duration of the video and then just call AssumeSampleRate(clip clip, samplerate int) function with that sample rate.
But again, is there a script or a function that can calculate the correct sample rate.
TIA
I have an AVI file with audio out of sync due to a gradual drift during the capture.
In VirtualDub there is an option under Video menu to adjust FPS so that video and audio durations match. This fixes the audio out of sync problem.
IS there a way to do the same in AVISynth?
Another question: What about changing the sample rate instead of FPS. That should accomplish the same result.
I would need to find out what the sample rate should be in order to match the duration of the video and then just call AssumeSampleRate(clip clip, samplerate int) function with that sample rate.
But again, is there a script or a function that can calculate the correct sample rate.
TIA