Skip to content

Voiceover captions drift from the speech under a speed region #1657

Done

Description

@EtienneLescot

Under a speed region, a voiceover's captions drift away from its speech: earlier under a speed-up, later under a slow-down.

Where it shows

Why

voiceoverPlacements maps the speech onto the ruler at 1× from the take's head. The preview and the compositor then project those times through the speed regions. The take itself plays at 1× from its projected head, so a cue inside a speed region no longer matches the audio.

Example: a voiceover starts at 0 s and speaks at source 4–6 s, under a 2× region over ruler 0–6 s. The cue lands at 2–3 s, while the speech plays at 4–6 s.

Fix direction

Derive the voiceover lane's cues from the voiceover's own playback: the piece's projected start, plus the source-time distance from that start, never compressed by a speed region. Recording-lane cues keep the projection, since their picture and sound play at the projected rate. The fix belongs where the cues are derived, so the burn-in and the subtitle file stay in step.

Found by CodeRabbit on #1654: #1654 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions