GIFsquid is great, but it isn't perfect. Please post here about any problems you encounter.
Sorry to hear about that, Parzzi. I'd like to help but I need more information. What is the exact error you receive and what are the steps to reproduce the issue?
Its all good now i was using cs6 tried it on cc and it worked no problem.
OK so i don't know what is happening right now it stoped working again every time i press squirt gif it just render the comp to avi video and then the dos window appears for split second and close. I dont know what im doing wrong because the other day it was working fine now i only get avi file.
I've seen this happen when your harddrive is near full. It can also happen if your project is in the root of a drive and not in a folder. Another thing to check is that you have the AE option "Allow scripts to write files and access the network" set.
Just to confirm, you are using Windows, correct?
Yep I'm on windows
Very strange. It almost sounds like you are missing files from the archive. Do you have a GIFsquid folder inside your Script UI folder?
I do, and running AE as administrator ended up with the same result.
Ok. Please try this for me. Open a new File Explorer window and go to c:\ProgramData (if the folder is hidden, just type it into the address bar)
Inside you should see two files: GIFsquid.log and squidyavi.bat. Open both of those in notepad and paste the contents here or to pastebin.
Ah, so I'm not seeing those files there. Only a blank "GifSquid" text document.
It really sounds like you're missing some files and/or AE isn't set to allow scripts to write files/access network. Please try re-extracting the JSXBIN file and the GIFsquid folder into your AE/ScriptUI folder and double-check the preference to allow scripts to write files. In your case, the script is choking at the point it should be able to write to C:\programdata
Did you ever get this working?
Hello, I'm having the same problem. I did everything you suggested, but I keep getting the "AE has crashed" notification and it just renders the comp as an .avi file and then nothing else happens.
I hope i can help you with this as i found the problem with mine was that you have to run after effect as an administrator or it will not work at least for me that is the case.
Try to run after effect as an administrator.
Nope! It will currently show that if there is nothing to pre-clean. Pre-cleaning is only necessary if you close out of the DOS window or otherwise cancel the squirting process early.
Another thing, seems like my gifs are playing too fast, I don't know if there should be a frame delay set in after effects or something like that.
You can select a framerate in the options. Please note that not all framerates are valid and will get rounded to whatever the GIF format actually supports. Also note that if you enable Turbo mode, it pulls the framerate from your comp.
Hey there, sorry you're having issues. What version of After Effects and Windows are you running?
That's fine, no need to apologize. I'm like 90% sure there's something wrong with my computer :D
But if it can help, I'm using After Effects CC, on Windows 10 family edition / Version 1709 / OS: 16299.64
Please doublecheck that you have installed all of the files, in your Script UI Panels folder you should have the gifsquid.jsxbin as well as a Gifsquid folder. Also check in c:\programdata for a file called "squidyavi.bat". If that isn't present after trying to Squirt, it means that GIFsquid wasn't able to write files. If AE is simply not rendering your project after queing an AVI, try rendering it manually or clearing the render queue before squirting.
It is possible. The old version of GIFsquid (still available here) uses PNG internally instead of AVI, and will produce transparent GIFs. It can be a little trickier to set up, so I scrapped that in favor of simplicity but I still have the old version available.
This is usually an issue with special characters in the project path. Can you go to c:\programdata (it may be hidden) and find the "squidyavi.bat" file and paste the contents of it here (edit it in notepad, then copy and paste)
Thanks for your reply. Here are the contents of the .bat file you requested. I'm assuming it is the "_" in the name that messed it up, as the original file was named "Comp 1", but the renaming algorithm added the "_4" (this was my fourth attempt, versions _2 and _3 also were previously generated by AfterEffects...)
cd\ cd "C:\Program Files\Adobe\Adobe After Effects CC 2018\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 24 1500 "D:\Windows\Documents\WebWorks\Brittleknee\Gif Creation\1\Comp 1_4.avi" "D:\Windows\Documents\WebWorks\Brittleknee\Gif Creation\1\GIFsquid_Output" 0.5 480x "" "Comp 1_4.avi" false
Actually, underscores are allowed characters, so it shouldn't be that. Does the issue persist after restarting after effects? Another thing to try is clearing the render queue and deleting any leftover AVI files from failed GIF creation and then trying again. I've sometimes seen AE fail to render anything after pressing g Squirt. Usually manually rendering and then trying again fixes this.
very odd. That suggests that AE wasn't able to write in it. Can you delete that bat file and try again? I'm curious if it can create the file but not write in it.
hey there. I've seen this issue happen when the path of your project or the name of your comp has special characters in it. I've also seen antivirus software remove some of the .exe files that gifsquid needs from the gifquid/bin folder.
Thanks for the fast reply! My comp name (abc) and filename (MetaNonMeta.aep) only have letters though, same with the path (excluding backslash, space, and colon chars) . Here's a screenshot of my gifsquid\bin folder (though the only antivirus I have is Windows Defender):
Here's the GIFsquid.log:
convert.exe: UnableToCreateTemporaryFile `E:\Stephen\Documents\AfterEffects Projects\WHATAMIGONNADO\abc.avi': No such file or directory @ error/delegate.c/InvokeDelegate/1876.
convert.exe: UnableToOpenBlob `C:/Users/Stephen/AppData/Local/Temp/magick-93516xuC9P0tpcKhx.pam': No such file or directory @ error/blob.c/OpenBlob/2705.
convert.exe: NoImagesDefined `E:\Stephen\Documents\AfterEffects Projects\WHATAMIGONNADO\GIFsquid_Output/abc.avi-2018-04-11_21-10-40.gif' @ error/convert.c/ConvertImageCommand/3257.
It's strange that this only happens in non-Turbo mode; does Turbo mode handle paths differently maybe?
very weird... do me a favor and try a regular (non-turbo) render, then open up "c:\programdata\squidyavi.bat" in notepad and paste the contents here. GIFsquid creates and runs this batchfile right after it renders the AVI. I want to see what it is trying to do. Note that c:\programdata is a hidden folder so may not be visible in explorer windows.
Here's what I found (used another project/comp, but same issue):
cd\ cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 30 12000 "E:\Stephen\Documents\AfterEffectsProjects\WHATAMIGONNADO\Troi.avi" "E:\Stephen\Documents\AfterEffectsProjects\WHATAMIGONNADO\GIFsquid_Output" 0.5 800:-1 "" "Troi.avi" true
cd\ cd "C:\Program Files\Adobe\Adobe After Effects CC 2017\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 30 12000 "E:\Stephen\Documents\AfterEffectsProjects\WHATAMIGONNADO\Troi.avi" "E:\Stephen\Documents\AfterEffectsProjects\WHATAMIGONNADO\GIFsquid_Output" 0.5 800x "" "Troi.avi" false
Looking at the log file, now it's throwing new errors:
convert.exe: DelegateFailed `"ffmpeg.exe" -nostdin -v -1 -i "%i" -vframes %S -vcodec pam -an -f rawvideo -y "%u.pam"' @ error/delegate.c/InvokeDelegate/1919.
convert.exe: UnableToReadImageData `C:/Users/Stephen/AppData/Local/Temp/magick-31324qcORP4FuAA8U.pam' @ error/pnm.c/ReadPNMImage/1280.
convert.exe: NoImagesDefined `E:\Stephen\Documents\AfterEffectsProjects\WHATAMIGONNADO\GIFsquid_Output/Troi.avi-2018-04-12_21-04-51.gif' @ error/convert.c/ConvertImageCommand/3257.
Do you have FFMPEG installed on your computer? GIFsquid might be trying to use the one on your system instead of the one included with it. You could try upgrading FFMPEG. Do me a favor and send me your email address in a PM, I want to send you some stuff.
Hey there, are you using a weird skin for windows or is that a Mac?
I'm on Mac OS X Sierra 10.12.6, After Effects CC.
Windows 7 64bit or later.
Adobe After Effects CC.
Contact me at email@example.com with the email you used to pay and I'll arrange for a refund.
So, usually it ends up making a folder called "GIFsquid_Output" in the same folder that your last render went to. If you can't find it, try adding your comp to your render queue manually and check the output folder (no need to actually render, just check the path) and then check for the Output folder there. Another option is to search the drive for "*.gif" and sort by date modified. Usually the folder is opened for you after the gif is done rendering, but sometimes it fails to open the right folder. I've seen this happen when the project is saved in the root of a folder (like T:\project.aep)
There is no such thing as a 60fps gif file, unfortunately. Most 60fps "gifs" are actually mp4 files. GIF files don't use a framerate internally, they use a frame delay, which is how long to display each frame before moving on to the next. This delay can only be specified in 10ms increments, and 60FPS = ~16ms delay. If you are trying to make a smooth GIF file, I recommend no higher than 50fps.
Hey somberoww, I'm sorry you're having trouble! it seems like you're doing everything right here so I'm not sure what could be wrong. double check that virus scanners aren't interfering with the .exe files in the gifsquid/bin flles. somtimes updates can detect these files as harmful since i'm not a big time developer.
uh oh. What version of Windows are you running?
Windows 10 Home Version 1803, Build 17134.706
double check you've installed all the files. This error implies that the icon is missing.
Hey I get the same error message with both GIFSquid and Project Cuddlephish- I've installed all the files and it's still giving me the same error message. To be clear, to install, I go to File-Scripts-Install UI Panel, and click on the .jsx file, correct? It's showing up in the window panel, but I get the same error code as soulforsoup. Windows 10, After Effects CC 2020. Any help would be appreciated.
No, that is not how you should install it. You should unzip the entire zip file to the Script UI folder, not just the jsxbin file.
Thanks for the feedback. I'll do some research to see what Adobe has changed.
I did some testing on version 16.1.1 and it still works. There haven't been any major changes to the API. Can you try installing again, unzipping all the files and folders and checking the AE option to allow scripts to write files.
Yes, it works now for both makers. Thanks for being fast about this.
For reference, "Allow Scripts to Write Files and Access Network" has been moved to preference->scripting and expressions tab
Thanks for the report! Squirting more than one gif at a time is not yet supported. I'll add it to the possible feature feature list.
it looks like you are missing wmic from your system path. Verify that you still have your windows directory and system32 in your PATH environment variable.
ivI'vee only seen that when the crappiness is set too high. What was it set to here?
Hey. I am using Gif Squid 0.6 (the one that creates a png seqeunce), I don't seem to find a crappiness setting as in GifSquid 0.8. Only the fuzz option, but the output does not change wether or not I have a higher or lower fuzz input, the text is still overlapping.
hey there. I wanted to ask if there was any news regarding a solution. :)
Hello, I apologize, I didn't see your reply until now. I'm working on a solution that you may be able to implement, but please understand that I am not able to provide much support for older versions. One of the reasons newer versions of GifSquid don't support transparency is because it was so problematic to deal with. That said, i'll try to work out something for this particular case.
I was able to fix it in my test scenario. Here is how you can fix it on your side.
Great write-up with pics! After the avi renders, the script will convert it to a gif and delete the avi. It uses the last location you rendered to, so for now just set a location for the avi and render it manually, then delete the avi. Now gifsquid should be able to do everything itself. To be clear, when you squirt the gif, it queues up an avi, renders it, converts it to gif, then deletes the avi.
Thanks for replying! After I saved and rendered the AVI file to a folder, the command line script opens up and says that it can't find the path specified, and nothing happens. https://imgur.com/0tpnxAC
And for some reason, The GIFS that I make in Cuddlephish are rendered in slow motion, so I need some help with that. Thanks again!
the "can't find path" is normal, it just means there were no files to clean up. After that the "nothing happens" is your gif being made! It is very slow and there is no progress bar.
Framerate issues are usually from trying to compress at an invalid framerate for the gif format. Stay between 25 and 50 fps for good results.
c:\ProgramData\squidy.avi is generated by the plugin after rendering your comp to an AVI. It sounds like the render is never kicking off, but there is a workaround: Manually queue your comp for a render to AVI, and set the render location somewhere project-agnostic, like c:\projects\GIFs. Render your comp out, clear the queue, and delete the render. Squirting should now work.
The reason this workaround works is because GIFSquid/CuddlePhish render to the last location you rendered to.
Also if you haven't already, join the High Quality Gifs discord where lots of folks share tips and give advice.
Thanks GunSquid, I should've mentioned that I had tried that too. Tried again, no change. For the render I did "File > Export > Add to Render Queue", in case there's another way to do it. I rendered as AVI (but I'm guessing that doesn't matter since you said to delete the render anyway).
I'll try posting in the discord!
Update: solved! The issue was that I had the video file selected in the Projects tab (instead of the Composition).
Hi Volive, I'm sorry you're having issues. Old versions of Gifsquid are no longer supported, but we can try to get you working. The first thing you'll need to do is replace the 'GIFsquid.bat' file in ScriptUI Panels\GIFsquid with the one here https://gist.github.com/hellphish/95a16d940f96a0bf8f6f3b3d16258708
Next, make sure you have imported the PNG sequence output template from the zip file, instructions are in the readme.
Last, before you press Squirt, be sure you have a comp selected in the project panel.
0.6 doesn't generate a squidyavi.bat file and should not be queing an AVI file. It should queue a png sequence, and the file it generates in programdata is called 'squidy.bat'
Do make sure that your comp is selected before attempting to "squirt" a gif. It should add a render to the queue, render it, then use the rendered Avi to create the gif.
Yes the comp is selected and "squirting" it does add the render to the queue. But I have to launch it manually, and of course it gives me a really heavy .avi file. But no window opens, and no gif is rendered anyhow. I know it was a discount, and I probably missed something that would make it work, but for the moment I just paid 7.5$ for another render button :(
I did try everything that was said on this thread but it still doesn't work...
Can you check for a file called "squidyavi.bat" inside c:\programdata (this is a hidden folder). If it exists, can you open it in notepad and paste the contents here? If it doesn't exist, try restarting AE, reopening your project, and manually clearing the render queue.
BTW, where did you buy the script from? I have never charged more than $5 for it, and you said you bought it yesterday but I don't see any transactions in the past 6 days.
Also, if you haven't yet, come join the High Quality Gifs discord where lots of people share help and advice. https://discord.gg/Yzcw7Q
Sorry for the very long time, had plenty of work and forgot about this.
There's no squidyavi.bat there :/
I actually bought it from this very website, it was a bundle GifSquid/Cuddlephish that cost 6$ and there was 1$20 of taxes (I just found my paypal receipt with all details).
Hello. I'm away from my PC for the next few days, but I'll get a new version uploaded which has more debugging features. Hopefully it will help us get down to the issue.
Sorry for the delay getting back to you, I've uploaded a debug version of GifSquid that may give us more information about your issue. It is version 0.80b
Generally you should launch scriptUI scripts from the "Window" menu in AE, not from the "File" menu.
The error you are seeing can be caused when the script is not fully installed (you must unzip everything in the zip to your ScriptUI folder). It can also be caused by using an unsupported OS.
What OS are you running?
All fixed! And I am on w10.
The problem was the unzipping, I was unzipping all the files into their own folder in my ScriptsUI folder instead of putting all the zip contents directly in there.
Thank you for the detailed report! From what you've shown me, I believe the issue lies with ImageMagick (convert.exe) it looks like it is unable to open the intermediary AVI file. Can you check that convert.exe isn't being blocked by Antivirus? It is in the gifsquid/bin folder
Thank you for your swift response!
Added whole GIFSquid folder (inside ScriptUI Panels) to exception, convert.exe to trusted files + set to Administrator but still no luck.
Closing completely Firewall and Antivirus made no difference.
UPDATE (Problem Solved!)
It seems there was a problem with both Avast antivirus and Comodo Firewall you can add the whole folder to be trusted and it doesn't work.
I tested few free alternatives that work and can recommend:
Firewalls: TinyWall or Simplewall
Antivirus: Bitdefender Antivirus Free or Kaspersky Cloud Antivirus
Solution: Add convert.exe to exception and something that was not mentioned here,
do the same with cmd.exe ( ! ) (you can set it for an hour or time span needed to convert file if you don't want to allow connections permanently)
It's all good now,
Thank You :)
Try run AFX in Administrator mode, make sure your composition's name doesn't include any special characters and don't forget to add exceptions to your firewall.
Thank you for providing this advice. However I must point out that gifsquid does not phone home or use the internet in any way.
I know that, yet convert.exe was blocked by default in Comodo Firewall, Tiny Wall and some antivirus software. That was causing my export problems.
Tried this and still had the same problem.
I'm also getting this error on the new version and on AE CC 2020.
I am also getting this problem, I do get a pop up box saying that After Effects appears to have crashed, which it has not. Press yes and then get this error I am on AFX 17.5.1 (Build 47) - I can turn on debugging and send a report if required.
Hello. Firstly, that pop up is not saying that AE crashed, only that it may APPEAR frozen. Secondly, make sure you have a comp selected when you press squirt and that there are no special characters in the name of the comp or the path of the project file.
Thank you for your reply @GunSquid. I renamed the comp with the title "Test"
Pressed "Quirt Gif" and it loads the comp to the Render Queue
However it doesn't render the project out, and does not load up DOS like it does for Project Cuddlephish.
Having the same problem here. Suspected Adobe broke something, but I backed out to After Effects 17.0.6 and did not resolve the issue.
Additional troubleshooting step: I attempted to squid a project that previously created a gif successfully. Same broken result
yes, unfortunately Gifsquid doesn't work on international versions of the software.