Update video2.py
Browse files
video2.py
CHANGED
@@ -53,7 +53,12 @@ def video_func(id, lines):
|
|
53 |
words.append((txt, box))
|
54 |
|
55 |
clip_file = rust_highlight.render_video(
|
56 |
-
id,
|
|
|
|
|
|
|
|
|
|
|
57 |
)
|
58 |
print(f"Created {clip_file}")
|
59 |
|
|
|
53 |
words.append((txt, box))
|
54 |
|
55 |
clip_file = rust_highlight.render_video(
|
56 |
+
id=id,
|
57 |
+
image_path=image_path,
|
58 |
+
audio_path=audio_path,
|
59 |
+
duration=duration,
|
60 |
+
words=words,
|
61 |
+
output_dir=CLIPS_DIR # Add your output directory here
|
62 |
)
|
63 |
print(f"Created {clip_file}")
|
64 |
|