Create video/gif from XDATCAR

Hello, I would like to ask how to make a video/gif file from XDATCAR obtained from the AIMD calculation.