Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.07k stars 1.51k forks source link

crop missing from moviepy.video.fx.all #2113

Closed NicoCaldo closed 4 months ago

NicoCaldo commented 4 months ago

As stated here I can't access crop

I've tried from moviepy.video.fx import crop but I'm having an error like 'crop' is not callable

I'm using PyCharm 2023.3.3 and Python 3.11

Seeing the__init__.py of moviepy.video.fx.all I'm seeing it uses the __all__

PyCharm seems to have some bugs with it

Could it be the case on why it doesn't work?

NicoCaldo commented 4 months ago

The fix is from moviepy.video.fx import crop and using cropas crop.crop()