Commit 2bf0bfe6 authored by Christian Brodbeck's avatar Christian Brodbeck

FIX ffmpeg wrapper: use -b:v instead of -b

ffmpeg says “Please use -b:a or -b:v, -b is ambiguous”
parent 22d55dfe
......@@ -699,7 +699,8 @@ def ffmpeg(dst, frame_path, framerate=24, codec='mpeg4', bitrate='1M'):
frame_dir, frame_fmt = os.path.split(frame_path)
# make the movie
cmd = ['ffmpeg', '-i', frame_fmt, '-r', str(framerate), '-b', str(bitrate)]
cmd = ['ffmpeg', '-i', frame_fmt, '-r', str(framerate),
'-b:v', str(bitrate)]
if codec is not None:
cmd += ['-c', codec]
cmd += [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