Claude Code repairs a hackathon video’s audio sync
A hackathon presenter reports using Claude Code to finish a demo video, correcting silent audio truncation, accumulated cut drift and delayed caption timestamps.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Edit [pitch recording] with [demo footage]. Measure final audio sample count and duration, compare voice alignment with the source, and show synchronisation evidence. Use frame/sample-aligned cuts and save verified scripts after my review.
Reach people exploring AI agents
See placements →What happened
A hackathon presenter reports using Claude Code to finish a demo video, correcting silent audio truncation, accumulated cut drift and delayed caption timestamps.
Reported by u/Codes_with_roh on RedditHow the agent did it
- Combine the webcam pitch, gameplay capture and desired captions.
- Review synchronisation visually and require measurements on final renders.
- Resample audio to 48 kHz and render picture and sound separately.
Where a person stepped in
The presenter notices lip-sync failures, directs repeated corrections and checks the output. The initial agent claim that sync was fine was unreliable.
A hackathon presenter used Claude Code to combine a webcam pitch with gameplay footage, captions, sound design and music. The first attempts exposed a practical failure: the agent said lip synchronisation was fine even though the presenter could see it was wrong. The author replaced reassurance with measurements on each rendered file.
The verification step decodes the final output, compares sample counts with duration, cross-correlates the voice against the original in eight-second windows and compares MediaPipe mouth movement with voice energy. A large FFmpeg filter graph had produced an AAC track with 114 seconds of timestamps but only 105 seconds of audio samples. Resampling branches to 48 kHz and rendering picture and sound separately fixed that problem.
Cutting by frame number and the corresponding audio-sample number removed drift from repeated timestamp rounding. Splitting transcription at silence boundaries improved late Whisper captions, and alignment with the supplied script corrected jargon. The author also used timestamped Chrome screencast frames and event logs for sharp gameplay footage. After many iterations, Claude packaged the learned scripts and verification procedure as a reusable skill. This is a reported successful repair of one production workflow, not proof that every later video will be synchronised automatically; the presenter supplied the visual checks that revealed the original defect.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: Reddit · u/Codes_with_roh on Reddit
Frequently asked questions
What defect occurred without an FFmpeg error?
The author reports an AAC track with 114 seconds of timestamps but only 105 seconds of actual samples.
How was accumulated drift removed?
Cuts used video frame numbers and matching audio sample numbers instead of independently rounded timestamps.
Did the first automated check suffice?
No. The agent initially said synchronisation was fine, while the human saw lip drift and added measurement-based verification.
More details
Remaining steps
- Cut matching video frames and audio samples to avoid drift.
- Transcribe silence-delimited chunks and save the verified process as a skill.
About this account
Claude Code orchestrates capture, transcription, cuts and sound assembly, investigates rendering defects and packages corrected scripts with verification steps.
Firsthand account by u/Codes_with_roh on Reddit; original publication date verified against Reddit created_utc 1791895691 = 2026-10-13T12:48:11Z. Outcomes are the author’s reports, not independently reproduced. Suggested prompt written by Agents In Use; not the author’s original prompt.
Credit: u/Codes_with_roh on Reddit
Source published 13 Oct 2026
Source checked 14 Oct 2026
Tools and topics
Claude Code · FFmpeg · Whisper · MediaPipe · Chrome CDP screencast
Audio sync repair · Frame-based cuts · Pitch video
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.