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

segment.end is out of boundary of a chunk when we set chunk_length parameter #1204

Open
ywangwxd opened this issue Dec 17, 2024 · 1 comment

Comments

@ywangwxd
Copy link

ywangwxd commented Dec 17, 2024

Hi, I am making a test of the batched pipeline of transcrible function in faster whisper. I set chunk_length=5(s), but I found the end time of the first segment is 5.26. Shouldn't it be between 0 and 5?

@MahmoudAshraf97
Copy link
Collaborator

Not necessarily, you are assuming that it started from 0 and this might not be the case, and even in the sequential transcription, silence is removed from the middle so the audio content will be less than the chunk size but the start and the end timestamps can be larger

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

No branches or pull requests

2 participants