Update video2.py
Browse files
video2.py
CHANGED
@@ -8,6 +8,7 @@ import uuid
|
|
8 |
import os
|
9 |
from pathlib import Path
|
10 |
import rust_highlight
|
|
|
11 |
import shutil
|
12 |
|
13 |
# Use /app/data which we created with proper permissions
|
@@ -72,5 +73,5 @@ def video_com(lines):
|
|
72 |
clip = VideoFileClip(f"/app/data/video/clip{id}.mp4")
|
73 |
clips.append(clip)
|
74 |
|
75 |
-
video_path =
|
76 |
-
return video_path
|
|
|
8 |
import os
|
9 |
from pathlib import Path
|
10 |
import rust_highlight
|
11 |
+
import rust_combiner
|
12 |
import shutil
|
13 |
|
14 |
# Use /app/data which we created with proper permissions
|
|
|
73 |
clip = VideoFileClip(f"/app/data/video/clip{id}.mp4")
|
74 |
clips.append(clip)
|
75 |
|
76 |
+
video_path = rust_combiner.combine_clips(clips)
|
77 |
+
return video_path
|