Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def get_frames(video_in, step, name, resize_w):
|
|
| 87 |
|
| 88 |
def create_video(frames, fps, type):
|
| 89 |
print("building video result")
|
| 90 |
-
clip = ImageSequenceClip(frames, fps=fps,
|
| 91 |
clip.write_videofile(type + "_result.webm", fps=fps, codec="libvpx-vp9", audio=False)
|
| 92 |
|
| 93 |
return type + "_result.webm"
|
|
|
|
| 87 |
|
| 88 |
def create_video(frames, fps, type):
|
| 89 |
print("building video result")
|
| 90 |
+
clip = ImageSequenceClip(frames, fps=fps, transparent=True)
|
| 91 |
clip.write_videofile(type + "_result.webm", fps=fps, codec="libvpx-vp9", audio=False)
|
| 92 |
|
| 93 |
return type + "_result.webm"
|