Update app.py
Browse files
app.py
CHANGED
@@ -99,9 +99,9 @@ def create_video(frames, fps, type):
|
|
99 |
maskclip.to_mask(canal=1)
|
100 |
clip.set_mask(maskclip)
|
101 |
|
102 |
-
clip.write_videofile(type + "_result.
|
103 |
|
104 |
-
return type + "_result.
|
105 |
|
106 |
|
107 |
def infer(url_in,interpolation,fps_output,resize_n,winsize,o_flow):
|
|
|
99 |
maskclip.to_mask(canal=1)
|
100 |
clip.set_mask(maskclip)
|
101 |
|
102 |
+
clip.write_videofile(type + "_result.mp4", fps=fps, codec='libx265', ffmpeg_params=['-c:v', 'libx265', '-pix_fmt', 'yuv420p10le'], audio=False)
|
103 |
|
104 |
+
return type + "_result.mp4"
|
105 |
|
106 |
|
107 |
def infer(url_in,interpolation,fps_output,resize_n,winsize,o_flow):
|