GIFsquid is great, but it isn't perfect. Please post here about any problems you encounter.
I'm having a similar issue to Parzzi. Whenever I 'SquirtGif' i get the error popup that "It may appear the AE has crashed, but rendering will continue. After rendering, we compress your gif in a dos window' I select yes and the render completes but the DOS window doesn't open and I'm left with an avi file.
Im exporting to an external drive that has plenty of space and I am saving into a subfolder, and the "allow scripts to write files..." is selected, so I'm not too sure as to what is happening.
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
I was pretty excited to try GunSquid but something doesn't work :[
When I hit the Squirt Gif button, an alert pops up. It says that AE may crash and I shouldn't be afraid because a DOS window should pop up and finish the job (something like that).
Sadly, it doesn't happen. It just adds the project in the render queue, as an .avi and nothing else happens.
I've checked what you said in the other bug reports.
1) The project isn't in the root, it's in subfolders
2) I've checked the "allow to write script from network" thing
3) I've tried to run AE as an administrator
4) I've been searching for something into the c:/ProgrammData, sadly there was no trace of anything GunSquid related. I guess, that's where my proglem is, right?
To be honest, I'm a bit lost and don't know what I should try next... so here I am, telling you everything I could try / figuring out :D
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.
The first time I used GIFsquid it added the project to the render queue, but then did nothing. I had to manually "Squirt GIF" again, and then it finally ran (DOS popup). However, the .gif it created was exceptionally choppy/stuttered when viewed. I figured this had to do with a framerate issue, so I adjusted the composition and settings and ran GIFsquid again, but the only thing it's doing is creating new AVI files in the output directory. The DOS function never runs and a .gif file is never generated.
Any thoughts/input would be greatly appreciated. I'm using AfterEffects cc2018 on Windows 10 Home Build 16299.
--
**Edit - I previously had a paragraph expressing concerns at how GIFsquid might have altered the way Adobe Media Encoder generates animated .gif files, but have since resolve that issue and removed that portion of my question above.
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
exit
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.
Hi, I've tried everything stated here regarding the issues with having 'It may appear the AE has crashed, but rendering will continue. After rendering, we compress your gif in a dos window' error, restarted my pc, reset my settings on AE, reinstalled GIFsquid, ran as admin, did "allow to write script from network", nothing. in programdata I'm only getting 'squidyavi.bat' and not the log file. Honestly don't know what to do at this point!
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):
Successful (turbo):
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
exit
Unsuccessful (non-turbo):
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
exit
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.
Hello, I am using Windows and have " Allow scripts to write files....." checked in AE. When i squirt the GIF, CMD pops up and does its thing and then takes me to an empty output file in the path where my project was saved. I have show hidden files on in file explorer ( if that makes a difference ) but i cant seem to find where it sent my gif. There are no special characters in the title of my project as well.
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)
Hi! I'm having an issue with rendering 60fps gifs. It outputs the initial AVI file fine, but when it's converted into a GIF, the resulting GIF looks like it's going 2x slower than it should. I tried hardcoding the FPS values in the bat files, but that didn't seem to make a difference. My comp is set to 60fps, and GIFSquid in AE is set to 60fps. Any help would be appreciated!
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.
The last time I used GifSquid it worked flawlessly. But after I reset my computer, it stopped working. It does render the avi file and it very briefly opens the dos window. But it closes in like half a second. Don't know what to do. Tried changing the settings and of course rebooting.
Help me GunSquid, you're my only hope.
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.
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.
BUG for GIFsquid and Project Cuddlephish: Squirting more than 1 gif at a time leads to unexpected results
Steps to reproduce:
Actual behavior: when squirting more than 1 gif at a time, the outputted gifs may have dropped frames and/or contain frames of other gifs that were rendered simultaneously.
Expected behavior: squirting multiple gifs at once works well.
My GIFsquid.log file is empty...
I realize this is probably a "feature", but I figured you should know about it. Thanks for the hard work on this.
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.
I haven't been able to get this to work yet, I'm using Adobe After Effects CC 2015 on Windows 10.
When I click on "Squirt GIF" I get the "It may appear that After Effects has crashed..." message, but when I press "Yes" the popup closes and nothing happens.
I read the other bug reports, and I found that my c:\ProgramData doesn't have squidyavi.bat, so I figured it was having trouble writing to the file system. I tried reinstalling the script, making sure that "Allow scripts to write files" is checked, and even tried running After Effects as administrator, but nothing's changed. I also tried "Enable JavaScript debugger" but that didn't do anything either.
Anything else I can try to troubleshoot? Where does squidyavi.bat come from, is it downloaded from the Internet at runtime?
Update: solved! The issue was that I had the video file selected in the Projects tab (instead of the Composition).
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).
GIFSquid 0.6 is not working, and it is the only one that would be useful for me, because of the transparency.
I’m using Windows 10 Home 64-bit , version 1903 and After Effects 2020.
When I hit the Squirt Gif button, an alert pops up. It says that AE may crash and I shouldn't be afraid because a DOS window should pop up and finish the the job.
After a very long time, it doesn't happen. It just adds the project in the render queue, as an .avi and nothing else happens. I've already checked: - The project isn't in the root, it's in subfolders - I've checked the "allow to write script from network" - I've tried to run AE as an administrator - I've been searching for something into the c:/programdata, and "squidyavi.bat" is there
-I have installed all of the files, in my Script UI Panels folder, and I have the gifsquid.jsxbin as well as a Gifsquid folder.
As AE is not rendering my project after queing an AVI, I’ve tried rendering it manually and clearing the render queue before squirting, but that didn’t work either.
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'
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
I havn't been able to install the ScriptUI Panel for 1.2 and now 1.3. Everything works great, I just have to go into the sub menu and choose "Run Script File" each time. When I do click on Cuddlephish under the Windows menu I get this error: "Unable to execute script at line 121. Invalid image data." For 1.2 I think it was something like line 88. Let me know what I'm doing wrong please
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?
Hi, unfortunately I can't get Gifsquid to work without turning on Turbo mode. I tried everything I could find in previous posts. I installed new beta version from 4 days ago and still the same problem. Updating ffmpeg to the newest version didn't help as well :(
Here is my GIFsquid.log (not working):
convert.exe: UnableToCreateTemporaryFile `E:\PROJECTS\AFX\NotABeatEmUp\nabeuprmxfull.avi': No such file or directory @ error/delegate.c/InvokeDelegate/1876.
convert.exe: UnableToOpenBlob `C:/Users/Mario/AppData/Local/Temp/magick-13732pkjotHz6EYya.pam': No such file or directory @ error/blob.c/OpenBlob/2705.
convert.exe: NoImagesDefined `E:\PROJECTS\AFX\NotABeatEmUp\GIFsquid_Output/nabeuprmxfull.avi-2020-08-17_23-44-49.gif' @ error/convert.c/ConvertImageCommand/3257.
and squidyavi.bat (not working):
cd\
cd "C:\Program Files\Adobe\Adobe After Effects CC 2019\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 30 2500 "E:\PROJECTS\AFX\NotABeatEmUp\nabeuprmxfull.avi" "E:\PROJECTS\AFX\NotABeatEmUp\GIFsquid_Output" 0.5 475x "" "nabeuprmxfull.avi" false
exit
CUDDLEFISH no problems at all but the size is a killer, at least with longer clips
GIFsquid.log (TURBO - working):
cd\
cd "C:\Program Files\Adobe\Adobe After Effects CC 2019\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 30 4500 "E:\PROJECTS\AFX\NotABeatEmUp\nabeuprmxfull.avi" "E:\PROJECTS\AFX\NotABeatEmUp\GIFsquid_Output" 0.5 475:-1 "" "nabeuprmxfull.avi" true
exit
and squidyavi.bat (TURBO - working):
cd\
cd "C:\Program Files\Adobe\Adobe After Effects CC 2019\Support Files\Scripts\ScriptUI Panels\GIFsquid\"
GIFsquidavi.bat 30 4500 "E:\PROJECTS\AFX\NotABeatEmUp\nabeuprmxfull.avi" "E:\PROJECTS\AFX\NotABeatEmUp\GIFsquid_Output" 0.5 475:-1 "" "nabeuprmxfull.avi" true
exit
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 :)
Hi - On AE CC 2020 Windows 10 and the latest version of GIFsquid 0.8b. Once I click continue to render then get this error - http://prntscr.com/ujnd0q
[debug] SquirtGIF failed with: null is not an object
My GIF is about 8 seconds long. Any thoughts?
Hello! I've just purchased GifSquid but when i'll try to Squir GIF it gives me the warning of the DOS process first and then it gives me an error saying "Lossless is not a valid model name"
(Edit: It gives the error in Italian ofc, i just translated for asking support purposes)
How can i make it work ? Do i need to run AE with english language ? (I'm not native english and i use Italian version)
Hi there! I'm sorry I know this thread is a bit old, I seem to be having the same issue as a person had about 3 years ago. These are the steps I have done/ whats going on if it helps.
1) Project in subfolders (tried a couple locations)
2) "allow to write script from network" and java debug on
3) AE as an admin
4) Scriptui has all files
5) it creates the bat file in program data
6) I did the output module loading aom file
7) it opens with the window warning of the possible crashing, etc, opens render que with avi (I have not rendered yet otherwise) and nothing happens it seems. I have a performance overlay, the CPU and GPU stay at 0-3%, occasionally the gpu spikes a little but I dont think its from gifsquid.
Its so strange because I have previously had a few machines, it worked on all of them from windows to mac, i remember having an issue one time a year ago but I somehow fixed it.
My specs:
GIFsquid v0.8
AE CC newest version I think
Win 10 Home / Version 2004 / OS 19041.928
I feel like I heard something about AE actually being able to export gifs now so im going to check that out, I just loved being able to specify everything and keep it around a specific size.
Anyway, thanks for making this!
Not sure what's happening, GIFsquid was working fine but now it just hangs on the DOS window. I'm not sure if it's always said this but at the top it says: 'Dennis' is not recognized as an internal or external command, operable program or batch file.
Anyways it'll get to Pre-cleaning and Squirting GIF but then nothing else happens. In the past it would usually squirt a gif in under a minute. Last night I left it for several hours and nothing happened.
I updated Ae recently and thought that could be an issue, so I deleted GIFsquid and re-added it to the ScriptUI Panels folder.
Also, not sure if this helps but Cuddlefish will output a file but it's 0 bytes. So seems like both are having issues right now.
Any thoughts?