Browser Video Editor Bug Caused Split Audio Clips to Replay from the Start
Timeline Studio, a browser-based AI video editor, contained a bug where splitting a voiceover clip produced two visually correct timeline segments but caused the second segment to replay audio from the beginning of the original source. The issue stemmed from a data-model mismatch: the playback logic did not account for a source offset, meaning it ignored where in the original audio the second segment was supposed to begin. The bug affected not just real-time playback but also manual seeking and offline export, causing the exported file to differ from what users heard in the editor preview. The fix, available in commit 8287b90, introduces a dedicated sourceStart property on each segment to track its position within the original audio independently of its position on the timeline. All playback, seeking, drift correction, and export paths now consistently apply this offset, ensuring the visual waveform, editor preview, and final export all reflect the same audio content.
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