Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update transcriber VTT function #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

MatthiasReumann
Copy link
Contributor

Description

  • Remove custom VTT formatting function
  • Use whisper's WriteVTT
  • Add max_line_length option in order to fulfill Netflix' recommendation of subtitle length

Example:

New:

WEBVTT

02:42.500 --> 02:50.320
Good. So the gentleman in front reminded
me that I forgot to upload this slide. So

02:50.320 --> 02:56.040
it's there. It's there. I did it live. You
saw me doing it. Okay. Welcome to another

Old:

WEBVTT

1
00:02:30.000 --> 00:02:51.000
Good. So the gentleman in front reminded me that I forgot to upload this slide. So it's there.

2
00:02:51.000 --> 00:02:57.000
It's there. I did it live. You saw me doing it. Okay. Welcome to another edition of

As you can see milliseconds are now also included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant