RandomPersonRR commited on
Commit
466974a
·
verified ·
1 Parent(s): 4811698

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -79,7 +79,8 @@ async def convert_video_task(input_path, downscale, faster, use_mp3, audio_only,
79
  ffmpeg_video_cmd += ['-b:v', f"{int(video_bitrate)}k"]
80
  else:
81
  ffmpeg_video_cmd += video_base_opts
82
- if faster:
 
83
  ffmpeg_video_cmd.extend(['-preset', 'ultrafast'])
84
  ffmpeg_video_cmd += [
85
  '-c:a', 'libmp3lame', '-b:a', '8k', '-ar', '24000', '-ac', '1',
 
79
  ffmpeg_video_cmd += ['-b:v', f"{int(video_bitrate)}k"]
80
  else:
81
  ffmpeg_video_cmd += video_base_opts
82
+
83
+ if faster:
84
  ffmpeg_video_cmd.extend(['-preset', 'ultrafast'])
85
  ffmpeg_video_cmd += [
86
  '-c:a', 'libmp3lame', '-b:a', '8k', '-ar', '24000', '-ac', '1',