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

Cannot obtain timestamps along with transcription #29

Open
saksham324 opened this issue Feb 28, 2024 · 1 comment
Open

Cannot obtain timestamps along with transcription #29

saksham324 opened this issue Feb 28, 2024 · 1 comment

Comments

@saksham324
Copy link

saksham324 commented Feb 28, 2024

@EtienneAb3d Is there a way to get the timestamps of each sentence/word once the transcription is done? I only get the result transcription text

@EtienneAb3d
Copy link
Owner

@saksham324
You need to set the parameter method addSRT=True.
Timestamps will start on the second line of the result, the first one being the full-text transcription.
You may also add word_timestamps=True in the opts parameter set.

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