added minimum of three args and a working ffmpeg subprocess