First version that can succesfully save an avi file