diff --git a/oxtimelines/ffmpeg.py b/oxtimelines/ffmpeg.py index 2b35d12..beffb45 100644 --- a/oxtimelines/ffmpeg.py +++ b/oxtimelines/ffmpeg.py @@ -112,7 +112,7 @@ def video(path, height=96, info=None, framerate=FPS): p = subprocess.Popen(cmd, bufsize=bufsize, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=open('/dev/null', 'w')) first = True while True: @@ -151,7 +151,7 @@ def audio(path, info=None, samplerate=48000, framerate=FPS): p = subprocess.Popen(cmd, bufsize=bufsize, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=open('/dev/null', 'w')) chunk = int(nbytes / framerate) first = True