modelscope / FunClip

Open-source, accurate and easy-to-use video speech recognition & clipping tool, LLM based AI clipping intergrated.
MIT License
3.37k stars 360 forks source link

Update requirements.txt and fix issue when rendering video with subtitles #117

Open Alvin-Lau opened 3 weeks ago

Alvin-Lau commented 3 weeks ago

Update requirements.txt and fix issue when rendering video with subtitles

In moviepy version 1.0.3, CompositeVideoClip is a module within moviepy.video.compositing. To use it correctly, we need to import the CompositeVideoClip class from the module.

This commit makes the following changes:

These changes resolve the issue encountered when rendering videos with subtitles using moviepy 1.0.3.