An AVI movie is usually copyright protected. However, it is okay if you just want to use it for personal purposes. To convert a movie to GIF for commercial use, you'd better get permission.