Spaces:
Running
Running
Update app/utils.py
Browse files- app/utils.py +1 -1
app/utils.py
CHANGED
|
@@ -92,6 +92,6 @@ def webm2mp4(input_file: str) -> str:
|
|
| 92 |
|
| 93 |
ff_video = "ffmpeg -i {} -c:v libx264 -c:a aac -strict experimental {}".format(input_file, path_save)
|
| 94 |
|
| 95 |
-
subprocess.run(ff_video, check=True, capture_output=True, text=True)
|
| 96 |
|
| 97 |
return path_save
|
|
|
|
| 92 |
|
| 93 |
ff_video = "ffmpeg -i {} -c:v libx264 -c:a aac -strict experimental {}".format(input_file, path_save)
|
| 94 |
|
| 95 |
+
subprocess.run(ff_video, shell=True, check=True, capture_output=True, text=True)
|
| 96 |
|
| 97 |
return path_save
|