Diagnose audio that drifts out of sync
Updated: November 17, 2026
When speech and lips separate over time, first determine where the mismatch starts. Re-uploading repeatedly will not explain whether the defect is in the recording, edit or playback.
Diagnose before editing
Choose a visible clap or a spoken consonant near the start, middle and end. Record the offset at each point. A similar gap suggests a fixed offset; a growing gap suggests a timing or editing problem.
Work on a separate copy
- 1Compare the local source in two players before blaming the hosted version.
- 2Inspect the reported frame rates with FFprobe. Different values are a clue, not proof of defective variable-frame-rate footage.
- 3If your editor struggles with variable frame rate, test the 30 fps derivative below. Choose a suitable frame rate for your project and keep the original.
ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate,r_frame_rate -of default=nw=1 input.mp4
ffmpeg -i input.mp4 -map 0:v:0 -map "0:a:0?" -vf "fps=30" -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac cfr-test.mp4Check before sharing
Repeat the three checkpoints on the derivative. Converting frame rate may drop or duplicate frames and does not automatically repair bad timestamps or an existing audio offset. Correct remaining timing in your editor, then verify the uploaded Dembed version and its embed.
Technical reference
https://ffmpeg.org/ffmpeg-filters.html#fps-1
Frequently asked questions
Only if measurements show a constant offset. That can worsen progressive drift.