Skip to content

configurable words per caption segment, down to 1 #3291

Open

Description

@Ker102

I edit clips in Cap where the caption style needs tight segments and the current segmentation is kind of a dead end for that. Everything comes out at 6-8 words per segment since TARGET_CAPTION_WORDS_PER_SEGMENT and MAX_CAPTION_WORDS_PER_SEGMENT are hardcoded consts (apps/desktop/src-tauri/src/captions.rs:77-78, duplicated in apps/desktop-gpui/src/transcription.rs:1865-1866). One word at a time captions are everywhere in short form right now but that's not the only place I want it, and there's no way to get Cap to do it. You export and redo captions somewhere else.

I'd want a setting for how many words are on screen at once, down to 1. The chunker keeps word timings per caption, so re-chunking an existing transcript should be cheap, no re-transcription needed.

At 1 word per segment the multi-word rules don't apply, so the weak-word boundary extension and the MIN_FINAL_CAPTION_WORDS merge should just be bypassed there.

One thing I'm not sure about: do you want this as a free number (slider or input) or as segmentation presets like the short-form segmentation in #2017?

I can do it as two PRs, first the shared-chunker dedup (#3290), then the setting itself. richie said on discord he's open to it.

Activity

  1. linear commented on Oct 25, 2026

    @linear
  2. richiemcilroy commented on Nov 4, 2026

    @richiemcilroy
    Member

    Thanks! We'll review this on #3296.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions