Spaces:
Running
on
Zero
Running
on
Zero
Update inference_video.py
Browse files- inference_video.py +1 -1
inference_video.py
CHANGED
@@ -186,6 +186,6 @@ for filename in os.listdir(directory):
|
|
186 |
inputfile = os.path.join(root, filename)
|
187 |
print('[INFO] 1',inputfile)
|
188 |
outputfile = os.path.join(dst, filename.lower().replace(_format, ".mp4"))
|
189 |
-
|
190 |
except:
|
191 |
print("An exception occurred")
|
|
|
186 |
inputfile = os.path.join(root, filename)
|
187 |
print('[INFO] 1',inputfile)
|
188 |
outputfile = os.path.join(dst, filename.lower().replace(_format, ".mp4"))
|
189 |
+
subprocess.call(['ffmpeg', '-i', inputfile, outputfile])
|
190 |
except:
|
191 |
print("An exception occurred")
|