Commit 95dc63da authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Make ffmpeg more quiet

parent 095b1f54
......@@ -33,7 +33,7 @@ MODALITY_MAPPING = {
def read_audio(video_path):
with tempfile.NamedTemporaryFile(suffix='.wav') as f:
cmd = ['ffmpeg', '-i', video_path, '-y', '-vn', f.name]
cmd = ['ffmpeg', '-v', 'quiet', '-i', video_path, '-y', '-vn', f.name]
subprocess.call(cmd)
f.seek(0)
rate, signal = scipy.io.wavfile.read(f.name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment