Spaces:
Paused
Paused
Update app.py
Browse files
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 '
|
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')
|