Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def convert_video(video_file: File, quality, aspect_ratio, video_url):
|
|
54 |
output_path += ".m3u8"
|
55 |
|
56 |
# Set the output path to the temp directory
|
57 |
-
output_path = f"{temp_dir}
|
58 |
|
59 |
ffmpeg_command = f"ffmpeg -i {video_file} -c:v libx264 -crf {quality} -f hls -aspect {aspect_ratio} {output_path}"
|
60 |
|
|
|
54 |
output_path += ".m3u8"
|
55 |
|
56 |
# Set the output path to the temp directory
|
57 |
+
output_path = f"{temp_dir}{output_path}"
|
58 |
|
59 |
ffmpeg_command = f"ffmpeg -i {video_file} -c:v libx264 -crf {quality} -f hls -aspect {aspect_ratio} {output_path}"
|
60 |
|