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

The "segment" time is wrong from the real time when the silence is removed #18

Open
NguyenDucLamK63 opened this issue Aug 23, 2023 · 1 comment

Comments

@NguyenDucLamK63
Copy link

I run the same as you, the results are good, but the "segment" time is wrong compared to the real time of the audio. So is there a way when I run the code, the silence is still removed, but the text segment time is still the same as the audio time? Hope you can help. Thank you very much

@EtienneAb3d
Copy link
Owner

@NguyenDucLamK63

  1. use WhisperHallu options to produce both transcriptions, with and without silence/noise removal.
  2. use WhisperTimeSync to send the good timestamps over the good text.
    https://github.com/EtienneAb3d/WhisperTimeSync

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