How can I resize my video in Django using MoviePy and Dropzone?

I want to limit the length of the uploaded videos to one minute, I have tried to use MoviePy but so far I have not been able to do it. Can you help me please ?

models.py enter image description here

views.py enter image description here

My error enter image description here

Back to Top