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

No longer encoding subtitles #2180

Closed
cslop3r opened this issue May 26, 2024 · 2 comments
Closed

No longer encoding subtitles #2180

cslop3r opened this issue May 26, 2024 · 2 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@cslop3r
Copy link

cslop3r commented May 26, 2024

I used to have the ability to encode subtitles but now it doesn't work anymore.

subs = SubtitlesClip("subs.srt", gensubs, encoding='utf-8')

Traceback (most recent call last): File "/Users/nathan/Documents/RSL/index.py", line 210, in <module> subs = SubtitlesClip("subs.srt", gensubs, encoding='utf-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: SubtitlesClip.__init__() got an unexpected keyword argument 'encoding'

@cslop3r cslop3r added the bug Issues that report (apparent) bugs. label May 26, 2024
@antonpetrov145
Copy link

If you are on version 1.0.3 this parameter is not there, the feature is introduced in v2.0.0.dev1
see here https://github.com/Zulko/moviepy/releases/tag/v2.0.0.dev1

so try to update to pre-release version

@cslop3r
Copy link
Author

cslop3r commented Jun 2, 2024

If you are on version 1.0.3 this parameter is not there, the feature is introduced in v2.0.0.dev1 see here https://github.com/Zulko/moviepy/releases/tag/v2.0.0.dev1

so try to update to pre-release version

Thanks!!

@cslop3r cslop3r closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

2 participants