Skip to content

How can I audition a one-frame audio offset before moving the original soundtrack under my face swap?

At 25 fps one picture lasts 40 milliseconds. Add that delay to a disposable audio track and compare a sharp sound with its corresponding visible event. Keep the source unaffected until the direction is established.

PREPARE AND CHECK THE SOUNDTRACKAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the edit

Use a slate clap or shoe strike with a clearly visible contact. The example delays a tone by 40 milliseconds and introduces silence before it. On real footage, compare the original alignment and the delayed version at the first contact.

shell
ffmpeg -f lavfi -i "sine=frequency=440:sample_rate=48000:duration=3" -filter_complex "[0:a:0]adelay=40:all=1[proof]" -map "[proof]" -c:a pcm_s16le audio-proof.wav

Read the result

A fixed delay that improves both first and final contacts suggests a constant offset. If a later event gets worse, investigate drift or a different cut instead of moving the entire track.

With a synthetic three-second 440 Hz tone at 48 kHz, the local FFmpeg run decoded 142 audio blocks. The tone makes timing and routing repeatable. Listening to the actual dialogue or music is still part of the final check.

If the first pass falls short

If the sound already arrives late, adding delay makes it worse. Move the track earlier on a copy and keep the original unshifted version accessible.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example