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

Does not work at all #1

Open
dexter101010 opened this issue Jun 16, 2023 · 3 comments
Open

Does not work at all #1

dexter101010 opened this issue Jun 16, 2023 · 3 comments

Comments

@dexter101010
Copy link

I've installed and tried to generate a subtitle for a movie that have audio in english and want subtitle in romanian but it only do this :

[2023-06-16 21:49:07,634] {model.py:130} INFO - Transcribing ...

And i've waited a lot but nothing happend

@extremq
Copy link
Owner

extremq commented Jun 16, 2023

How long is the video?

@dexter101010
Copy link
Author

How long is the video?

1hour and 46 minutes. But i've waited like 3 hours or so and still the same message.

@dexter101010
Copy link
Author

dexter101010 commented Jun 16, 2023

It seems that it's working but not what i expected . I put a smaller video and did the command to translate in romanian from english but it generate english subtitle instead of romanian :

Captioning audio.
[2023-06-16 22:46:25,851] {model.py:130} INFO - Transcribing ...
[2023-06-16 22:50:28,637] {model.py:133} INFO - Inference time: 242.786 s
Finished captioning.
Generating SRT file.
Total lines: 17
Couldn't load tokenizer.

M2M100Tokenizer requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones
that match your environment. Please note that you may need to restart your runtime after installation.

Couldn't generate SRT file.
'NoneType' object has no attribute 'src_lang'
Creating video with subtitles.
Video with subtitles created.

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