freealise commited on
Commit
d6b1c63
·
verified ·
1 Parent(s): b4fedbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.webm", fps=fps, codec='libvpx', ffmpeg_params=['-c:v', 'libvpx-vp9'], audio=False)
103
 
104
- return type + "_result.webm"
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):