FFmpeg Cookbook
FFmpeg: Audio Out of Sync After Converting — Causes and Fixes
Audio and video drifted out of sync only after converting with FFmpeg? Learn why stream copy carries over bad timestamps, why a VFR source breaks sync, and fix it by re-encoding, rebuilding timestamps with +genpts, normalizing with aresample, or forcing constant frame rate.