alphacep / alphacep/vosk-api

Enhanced subtitle generation with CLI options

Offen
#1,319 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm impressed by the quality of generated subtitle in English. I would like see enhanced functionality by having CLI option to have more control on the generated subtitle.

## Suggested parameters

- Word by line (currently fixed at 7)
- Silence time before creating another line
- Line per screen (currently only one)

## Issue
When working on auto generated subtitle I see many sentences ends at non optimal position so I would like to increase "word by line" and "silence to new line" easily so I can later slice them according to my need instead of going back and forth manually between lines to get just one word to the previous one or the later one.

## Example

Vosk generated:

```
11
00:00:50,970 --> 00:00:54,270
millions of Americans motorcycles represent freedom rugged

12
00:00:54,270 --> 00:00:57,120
individualism the pleasures of roaring along the

13
00:00:57,120 --> 00:01:00,390
open road while the wind streams streams

14
00:01:00,390 --> 00:01:01,200
through your hair
```
Apparently I have to move few words between lines and fix timing.

Would become if I can modify the `vosk-transcriber` parameters:

```
11
00:00:50,707 -->00:00:57,659
for millions of Americans motorcycles represent freedom rugged individualism the pleasures of roaring along the open road

12
00:00:57,660 --> 00:01:01,200
while the wind streams streams through your hair
```

Then I can easily slice them at the points I want using tools like `subtitld` which allows me to select a position in subtitle and slice lines.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.