Cap icon indicating copy to clipboard operation
Cap copied to clipboard

configurable words per caption segment, down to 1

Open Openroot-MI opened this issue 1 month ago • 3 comments

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 (#3274), then the setting itself. richie said on discord he's open to it.

Openroot-MI avatar Oct 25 '26 19:10 Openroot-MI

CAP-924

linear[bot] avatar Oct 25 '26 19:10 linear[bot]

moved this over to #3291, it went up from the wrong account. sorry for the noise.

Ker102 avatar Oct 25 '26 22:10 Ker102

Closing in favour of #3291.

richiemcilroy avatar Nov 04 '26 16:11 richiemcilroy