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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def create_video(frames, fps, type):
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
 
 
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', '-x265-params', 'crf=25', '-pix_fmt', 'yuv420p10le', '-an'], audio=False)
103
 
104
  return type + "_result.mp4"
105