Syncing Remotion video scenes to voiceover words using word timestamps
The author makes vertical explainer reels with no on-camera presenter, where a voiceover explains a topic and on-screen visuals change as particular words are spoken. Scene timing set by typed frame numbers breaks whenever the script changes, and AI agents make it worse because they cannot hear the audio and estimate timing from text alone. The proposed fix is to transcribe the voiceover into a list of words with millisecond start and end times, then have scenes begin on a named word, with frames computed from that list. The tutorial covers a local route using Remotion's whisper.cpp package with a 16 kHz WAV conversion and token-level timestamps, and a cloud route using AssemblyAI's upload, submit, and poll API. It is part one of a five-part series on making video with Claude Code and Remotion.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in