Akane710 commited on
Commit
d6a2334
·
verified ·
1 Parent(s): 045b9d1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -34,7 +34,7 @@ async def compress_video(
34
  (
35
  ffmpeg
36
  .input(video_url)
37
- .output(file_path, vf=f"scale={resolution}", crf=crf, vcodec={codec}, preset={preset}, f=format)
38
  .global_args("-threads", "0")
39
  .overwrite_output()
40
  .run()
 
34
  (
35
  ffmpeg
36
  .input(video_url)
37
+ .output(file_path, vf=f"scale={resolution}", crf=crf, vcodec=codec, preset=preset, f=format)
38
  .global_args("-threads", "0")
39
  .overwrite_output()
40
  .run()