What problem does it solve? FFmpeg composites often produce videos where audio and video drift out of sync, concatenated MP4 segments silently drop frames, or -shortest trims the wrong stream. This Skill provides a systematic diagnostic and repair workflow for these failures. ## Core Features & Use Cases - Duration Mismatch Repair: Compares stream durations with ffprobe and explicitly trims the longer stream with -t before muxing instead of relying on -shortest. - Safe MP4 Concatenation: Routes multi-segment MP4 joins through TS intermediate format with binary cat to avoid silent frame drops from PTS collisions. - Audio Normalization: Converts non-standard audio to AAC 44100Hz stereo 192kbps before combining to prevent drift. - Use Case: You have 11 slide-based MP4 scenes and a narration track that is longer than the video. The Skill diagnoses the ultrafast-preset data-loss trap, concatenates via TS, loops the video with -stream_loop -1, and verifies final stream durations differ by less than 0.2 seconds. ## Quick Start Use the ffmpeg-video-audio-sync skill to concatenate my scene MP4 files and mux the narration audio so the final video stays perfectly in sync.