Skip to content

Commit 46b642d

Browse files
committed
removed ffprobe output
1 parent 3aef510 commit 46b642d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

demucs/audio.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414

1515

1616
def _read_info(path):
17-
stdout_data = sp.check_output(
18-
['ffprobe', str(path), '-print_format', 'json', '-show_format', '-show_streams']
19-
)
17+
stdout_data = sp.check_output([
18+
'ffprobe', "-loglevel", "panic",
19+
str(path), '-print_format', 'json', '-show_format', '-show_streams'
20+
])
2021
return json.loads(stdout_data.decode('utf-8'))
2122

2223

0 commit comments

Comments
 (0)