Commit 04dfc4e
committed
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:
- Update the import statement for CompositeVideoClip in videoclipper.py
to import the class from the module.
- Fix the moviepy version to 1.0.3 in requirements.txt to avoid unexpected
behavior due to version upgrades.
These changes resolve the issue encountered when rendering videos with
subtitles using moviepy 1.0.3.1 parent 4ba51ac commit 04dfc4e
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments