RandomPersonRR commited on
Commit
bc44fc5
·
verified ·
1 Parent(s): 985c99f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def process_video():
32
  command = [ffmpeg_path, '-y', '-i', temp_file.name]
33
 
34
  if action == 'Convert Format' and format_option:
35
- command.extend(['-c', 'copy' if copy_streams else 'libx264', output_path])
36
  elif action == 'Trim Video':
37
  start_time = request.form.get('start_time')
38
  duration = request.form.get('duration')
 
32
  command = [ffmpeg_path, '-y', '-i', temp_file.name]
33
 
34
  if action == 'Convert Format' and format_option:
35
+ command.extend(['-c', 'copy' if copy_streams else '', output_path])
36
  elif action == 'Trim Video':
37
  start_time = request.form.get('start_time')
38
  duration = request.form.get('duration')