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

Support for .vtt subtitle files? #88

Closed
leonimurilo opened this issue Feb 21, 2024 · 2 comments
Closed

Support for .vtt subtitle files? #88

leonimurilo opened this issue Feb 21, 2024 · 2 comments
Labels
Feature Request New feature or request

Comments

@leonimurilo
Copy link

leonimurilo commented Feb 21, 2024

I really appreciate this project, and I am considering using it for some projects. My project uses .vtt files instead of .srt files.

I didn't see anything mentioning support for .vtt files. Converting from one to another is not an option I wanna go with because I would lose some information after the conversion.

I wonder if this project supports .vtt files out of the box. If not, how much effort would it require to add this functionality? I mean, is the code highly coupled with .srt files or is it easy to plug-in some kind of adapter for vtt?

@ThioJoe
Copy link
Owner

ThioJoe commented Feb 21, 2024

It doesn't support VTT at the moment. I am not really familiar with how VTT is formatted, but after a quick search it seems to support a lot more formatting and metadata. The way the script works might make it hard to support VTT, because right now the script basically combines subtitle lines together to try and optimize for the text-to-speech synthesis of the lines. So I'm not sure how I'd be able to handle combining lines that have different metadata for example. So at the moment I don't think I can plan on adding VTT support any time soon.

@ThioJoe ThioJoe added the Feature Request New feature or request label Feb 21, 2024
@leonimurilo
Copy link
Author

No problem. Thank you very much for the quick reply.

I will evaluate the needs of my project and if I really need .vtt support and if we do, then maybe my team can collaborate with this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants