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

Fake Example? #364

Closed
GianlucaIavicoli opened this issue Jun 1, 2024 · 2 comments
Closed

Fake Example? #364

GianlucaIavicoli opened this issue Jun 1, 2024 · 2 comments

Comments

@GianlucaIavicoli
Copy link

I tried using whisper together with the to_ass() method to create subtitles, but there is a fundamental problem. The example shown in the README file is not possible using this library. I tried all the available settings for 1 week but I can't find a way to highlight the words spoken at that moment and in the meantime bring back the previous words with the default style as can be seen from your example.

Example video: https://shorturl.at/s17cs

Enlighten me

@jianfch
Copy link
Owner

jianfch commented Jun 1, 2024

The examples in the README were created with SRT outputs, but ASS outputs should work as well. The subtitle files can be played directly with audio or video on video players that such those formats. If you want to encode the subtitles with the audio into a video like the ones shown in the README, see https://github.com/jianfch/stable-ts?#encode-comparison.

@GianlucaIavicoli
Copy link
Author

Yes, I noticed it 2 minutes after opening the issue, forgive me.

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