Skip to content
Discussion options

You must be logged in to vote

You can use --max_line_width in conjunction with --max_line_count. The former decides when to start a new line, and the latter decides when to start a new subtitle. Note that the latter overrides Whisper's native intuition on when to start a new subtitle which often (but not always) aligns with phrase and sentence boundaries, so by overriding that you will just get it starting a new subtitle whenever the length limit has been reached. There is one exception where it will try to start a new subtitle earlier than the length limit if there has been a pause of a few seconds.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ryanheise
Comment options

@petqo
Comment options

@petqo
Comment options

@ryanheise
Comment options

Answer selected by petqo
@petqo
Comment options

@wenchaoliu-93
Comment options

@wenchaoliu-93
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants