Commit 6f1fb0a7 authored by Christian Brodbeck's avatar Christian Brodbeck

FIX ffmpeg: don’t log error on getting stderr

parent 2bf0bfe6
......@@ -714,7 +714,8 @@ def ffmpeg(dst, frame_path, framerate=24, codec='mpeg4', bitrate='1M'):
logger.info(std_info)
if stderr.strip():
err_info = os.linesep.join(("FFmpeg stderr", '=' * 27, stderr))
logger.error(err_info)
# FFmpeg prints to stderr in the absence of an error
logger.info(err_info)
# check that movie file is created
if not os.path.exists(dst):
......
Markdown is supported
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