Nix Seymour
commited on
Commit
·
1dc060a
1
Parent(s):
4283596
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def convert(file: _TemporaryFileWrapper, options: str):
|
|
38 |
|
39 |
# Check Video Codec
|
40 |
def chk_cod(a):
|
41 |
-
command = f"ffprobe {a} 2>&1 >/dev/null"
|
42 |
output = subprocess.check_output(command, shell=True).decode("utf-8")
|
43 |
print(output)
|
44 |
match = re.search(r"Stream.*Video.*", output)
|
|
|
38 |
|
39 |
# Check Video Codec
|
40 |
def chk_cod(a):
|
41 |
+
command = f"ffprobe \"{a}\" 2>&1 >/dev/null"
|
42 |
output = subprocess.check_output(command, shell=True).decode("utf-8")
|
43 |
print(output)
|
44 |
match = re.search(r"Stream.*Video.*", output)
|