Animation comand can´t end up with all jpg files. Moreover, when it does , it can´t compile the avi file.