rewrite convert avi 2 gif