guoyww / AnimateDiff

Official implementation of AnimateDiff.
https://animatediff.github.io/
Apache License 2.0
9.76k stars 799 forks source link

exiftool not found & gifsicle not found #314

Open IDXoX opened 3 months ago

IDXoX commented 3 months ago

When I use AnimateDiff, there will be the following error in the console, I think it is the lack of related files, may I ask where can I download from, what version to download, and which folder?exiftool not found & gifsicle not found

2024-04-01 19:19:45,037 - AnimateDiff - WARNING - exiftool not found, required for infotext with optimized GIF palette, try: apt install libimage-exiftool-perl or https://exiftool.org/
2024-04-01 19:19:45,054 - AnimateDiff - WARNING - gifsicle not found, required for optimized GIFs, try: apt install gifsicle
secretlycarl commented 3 months ago

I have the same issue, someone here said to download exiftool from the https://exiftool.org/ site and put it in your PATH. I tried that, putting both the .exe and the folder download in both sections of the environment variables, and I'm still getting the error.

Edit: I've figured it out with the help of google's gemini chatbot.

To fix the ...AnimateDiff - WARNING - exiftool not found, required for infotext with optimized GIF palette, try: apt install libimage-exiftool-perl or https://exiftool.org/ error:

Download ExifTool:

Visit the ExifTool website: https://exiftool.org/install.html. Download the "Windows Executable" version. The filename will be similar to "exiftool-12.81.zip". Extract the downloaded file:

Right-click on the downloaded zip file and select "Extract All...". Choose a location to extract the files. Your Desktop is a good starting point. Add ExifTool to your system path:

This allows you to run ExifTool from any directory in the command prompt. Search for "Environment Variables" in the Windows search bar. Click on "Edit the system environment variables". Under "System variables", find the variable named "Path" and click "Edit". Click "New" and enter the path where you extracted ExifTool (e.g., "C:\Users\YourUsername\Desktop\exiftool-12.81"). Click "OK" on all open windows to save the changes.

This got it working for me. Not sure about gifsicle though, I'll update this if I find a solution

IDXoX commented 3 months ago

THX!!

lingkops4 commented 1 month ago

gifsicle install

  1. cmd
  2. git clone https://github.com/kohler/gifsicle.git