General Specialist

2007-07-10

Troubleshooting After Effects

Having problems, crashes or installation errors with After Effects 7.0 or After Effects CS3 (8.0)? Here's a collection of tried and true remedies, but before you start reinstalling and trashing things, make sure you've tried to locate what part of your AE project is causing the problems.

Start by isolating the problem:

  1. What is causing this problem, and when does the problem occur? Every time you import something, every time you render to a specific codec, everytime you apply a certain effect? Can you reproduce the problem by doing something, or is it random?
  2. What did you do just before the problem occured? Can that operation have caused the problem? Can you do the same thing in another way without seeing the error?
  3. Does your rendering/preview fail at the same frame on both previews and renders? Isolate that layer with the solo switch and turn off every effect and then turn them on one-by-one.
  4. Does the error occur in all projects or just one? If in just one, what is special about it?
  5. Does the error occur on other machines with the same version of AE/plugins/drivers? If so, what is unique about this machine?
  6. Does it happen without third-party plugins? Are the third-party plugins compatible with CS3? Do you have a third-party video card such as AJA or Decklink? Have you updated those drivers?
  7. Have you changed anything about the system lately? Installed a new codec, driver, software or hardware? Try to revert your changes and see if the problem disappears.
  8. Do a search with specific keywords from any error messages you get. Enclose terms that have more than one word with quotation marks. Here's a good example:
    "image buffer" "after effects"

Workarounds to common problems:

  1. If you hold down the Shift key while opening an old project you will force AE to close all comp viewers, so if one of the comps are causing problems you will be able to identify which comp it is.
  2. You can also try to import the project instead of opening it.
  3. A third solution is to move all source files into a new folder so that AE can't find them, and then locate each source file separately by choosing "Replace footage -> File..." so that you can isolate which source is causing problems.
  4. If you are getting rendering errors it might be the codec that is hogging RAM. If you enable "Purge every 20 frames during Make Movie" you will probably get around the problem. You can do this in the Secret preferences by holding down the Shift key and then select Preferences... from the menu. In the Preferences dialog box you can then choose the "Secret" option that will give you hidden features (they are hidden since they will cause AE to render more slowly.)
    Don't enable the other checkboxes, just write "20" in the text field. Also, make sure you enable the "Prevent DLL Address Space Fragmentation" under "Memory & Caches" if your on a Windows system.
  5. If you are working with large compositions, images and video files, you may get an error message about creating the image buffer. Here's a tutorial on how to work around that problem.

OK, that didn't work?

Bigger problem-solving tools:
1. If you've had any of Adobe's public beta software installed previously, uninstall them and then use the Adobe CS3Clean Script.
If you're on Mac OS X you can't just throw the program folder into the Trash. I repeat: you can't just throw the program folder into the Trash. Instead, in your Applications/Utilities folder, you'll find an uninstaller called (for example) Premiere Pro Setup that you must use to completely uninstall any CS3 program.

2. Check that your system harddrive and the harddrive where you store your After Effects project and footage aren't full, and then run a disk check to make sure they aren't damaged.

3. Run Adobe Updater to see if there are any updates or patches. You can find a menu item called Updates... in the Help or the After Effects menus.

4. Uninstall QuickTime and then restart your computer.

5. Uninstall any third-party video and audio codecs for QuickTime and Windows Media, such as XviD, DivX, FFDShow, BlackMagic, Aja, Avid, Flip4Mac, etcetera. Restart your computer.

6. Reinstall the latest version of QuickTime (unless it is version 7.2.0 or 7.4, which are notoriously buggy.) Restart your computer.

7. Update your graphics card's drivers. If you're on Windows you can download them from the manufacturer of your graphics card's website, such as nvidia.com. If you're on OS X, make sure you're using the latest OS X version by choosing "Software Update..." from your Apple menu. Restart your computer.

8. Remove all non-system fonts (a corrupt font file can cause all kinds of problems.)
On Windows they are found here:
C:\WINDOWS\Fonts
C:\Documents and Settings\**YOUR USERNAME**\Application Data\Adobe\Fonts

and on OS X the fonts can be in a lot of places.

9. Rebuild After Effects preference file (all you preference settings will be lost, unfortunately) by pressing and holding down Cmd-Opt-Shift / Ctrl-Alt-Shift directly after you've clicked the AE icon.

10. If you are still having problems, close AE and then remove the "OpenGL3D.AEX" plugin from the plugins folder found at
OS X and 7.0:
Applications/Adobe After Effects 7.0/Plug-ins/Support Files/Standard/Extensions

OS X and 8.0/CS3:
Applications/Adobe After Effects CS3/Plug-ins

Windows and 7.0:
C:\Program Files\Adobe\Adobe After Effects 7.0\Support Files\Plug-ins\Standard\Extensions

Windows and 8.0/CS3:
C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\Plug-ins\Extensions



Other tips & tricks:

How to install CS3 programs
I've written some tips for optimal installation of Adobe's CS3 software.


"License has expired"
If you get the dreaded error "The license has expired" with any of the CS3 applications, you have probably forgot to deactivate a previous Adobe product. A temporary fix is to set back the date on your computer if you just need to get through a deadline, and then reinstall at a later date.


Slow performance on multi-core machines without enough RAM
After Effects CS3 8.0 and 8.0.1 had multiprocessing performance issues with multi-core machines, especially high-end 8-core hardware. This was fixed in the 8.0.2 update.
When all 8 cores try to render a complex or memory intensive composition with Render Multiple Frames Simultaneously, the application can become memory starved if each process has insufficient memory. If you have less than 2 GB of available RAM per CPU core, your hard drive will be used as temporary RAM which is at least 100 times slower than real RAM.

To remedy this, there is a text preference in the preference file to control the maximum number of cores that Render Multiple Frames Simultaneously will use.
Open the text preference file and look in the ["MP"] section for:
"MaxNumberOfProcesses" = "0"

"0" is the default setting, which means that all available CPU cores will be used. Calculate how much RAM you have available for After Effects (don't count the RAM used by your operating system.) If you have 8 cores and 8 GB of free RAM, change the setting to "4" so that 4 CPU cores will be used and so they will each receive 2 GB of RAM.
Save the preference file and restart After Effects.

You can find the preference file Adobe After Effects 8.0 Prefs.txt in the directory (on Windows):
C:\Documents and Settings\YOUR_LOGIN_NAME\Application Data\Adobe\After Effects\8.0
...or for OS X:
Users/YOUR_LOGIN_NAME/Library
/Preferences/Adobe/After Effects/8.0/



Data Execution Prevention (DEP)
On Windows, the Data Execution Prevention (DEP) may cause crashes at startup. You can disable it so that AE can start properly.


Icons not working
On Windows Vista all CS3 applications can refuse to start when you click their icons. This can easily be fixed by updating the Acrobat 8 licensing service.


Image buffer problems
Here's a blog post about how to avoid image buffer problems.


Flickering interface, buttons and menues that flash and don't work
Microsoft's IntelliPoint software is known to cause the GUI in After Effects to flash and flicker. Just uninstall IntelliPoint and everything will start working properly (and you IntelliPoint mouse and keyboard will still work!)

No sound or audio in previews and renders
Does the video files have sound when you play them in something like VLC, QuickTime Player or Windows Media Player? If other programs can't play the audio, you can't blame After Effects...

Do you see a green waveform in the preview in the Project panel? If not, AE can't read the audio track.

Try to apply the "Tone" effect to a layer and do a RAM Preview (numpad-0) and you should hear a tone. If you don't hear anything, make sure your Sound preferences inside AE is set to the correct audio card and output. If you use something like a BlackMagic or AJA card, they tend to route the audio to the card's outputs instead of through your normal audio output.

Check that you have the Sound button enabled in the Time Controls panel to hear the sound when you do a RAM Preview.

Finally, when you render, do you have "Sound" enabled in the Output Module in your Render Queue?


Slow and sluggish performance and GUI with GeForce 8800 GPU's
There's a newly discovered bug that only seems to affect Windows users with nVidia's GeForce 8800 graphics cards. The entire user interface in both After Effects CS3 and Encore DVD CS3 becomes slow and sluggish.
Some people have reported that a workaround is to use the programs logged in to a non-administrator account, but if you have these problems, please file a bug report.


Still having problems?
If you're still having problems, here's Adobe's own trouble-shooting tips for version 7.0:
Troubleshoot system errors or freezes in After Effects (7.0 on Mac OS X)
Troubleshoot system errors or freezes in After Effects (7.0 on Windows XP)

...and for version 8.0 / CS3:
Render fails on a computer with 8 or more processor cores
Troubleshoot OpenGL problems in After Effects CS3
Troubleshoot crashes, system errors, and freezes (After Effects CS3 on Mac OS X)
Troubleshoot installation problems After Effects CS3 (Mac OS X)
Troubleshoot installation problems After Effects CS3 (Windows Vista)
Troubleshoot installation problems After Effects CS3 (Windows XP)
Error "Microsoft Visual C++ Runtime Error..." or crash when you install (Windows XP)
Freeze or crash when you start on a system with Realtek HD Audio (Windows XP)



RTFM
Remember, you have the entire (and up-to-date) manual available at LiveDocs.


Create a detailed log and report the bug to the After Effects team
If everything above fails, you can have AE create a log file for each session, but please note that AE will run slower because it has to write every operation into the text file, so make sure you remove/rename the file after you have had a crash!

Place an empty text file called After Effects Log.txt in the directory (on Windows):
C:\Documents and Settings\YOUR_LOGIN_NAME\Application Data\Adobe\After Effects\8.0

...or for OS X:
Users/YOUR_LOGIN_NAME/Library/Preferences/Adobe/After Effects/8.0/

You can look in that log what the last twenty or so operations were and possibly get a clue what went wrong. You can then look at the great list of the often cryptic error codes that Mylenium is regularly updating with helpful tips on what the errors mean.

Make sure you also post a bug report to Adobe.


- Jonas

Labels: , ,

27 Comments:

  • I just went through hours of hell with my setup. Constant crashes trying to reopen a project I had been working on. Finally dumped my Avid codecs, and everything works flawlessly again.

    Hopefully, Avid can update their legacy codecs to be more AE friendly.

    Great tips!

    By Blogger Greg, at Wednesday, February 14, 2007  

  • Greg,

    I render to the Avid Meridien codecs almost every day on Windows. I haven't been so lucky with the same codecs at home on OS X, I tried the other day and couldn't open a rendering, but I haven't had time to trouble-shoot it further.

    By Blogger Jonas Hummelstrand, at Wednesday, February 14, 2007  

  • Does anybody now how to solve the preview icon bug, the sometimes curious behaviour of the expression editor, crashes while extensive use of expressions, the still remaining „hiding app bug“ in 7.0.1, the miserable mouse scroll implementation and the unexpected deactivation of expressions after resorting layers?

    CS3 beta seems to be much more stable. So AE7 sometimes feels like an alpha version…

    By Anonymous Michael, at Tuesday, July 10, 2007  

  • Michael,

    Haven't heard of, or experienced your first three bugs, and I know that at least the most common OS X-only hiding bug was fixed with 7.0.1.

    Concerning mouse scroll, I don't know what implementation you are referring to, but unfortunately it is still not as fast to scroll with the mouse wheel in the Timeline window in CS3 as it was in 6.5.

    The deactivation of expressions is another bug I haven't heard of.

    Make sure you report bugs you find by sending a detailed description of your hardware/OS, the project file and a description of the bug to aebugs@adobe.com

    By Blogger Jonas Hummelstrand, at Tuesday, July 10, 2007  

  • hi jonas,

    did you checked out the massive Quicktime 7.2 Issue going around?

    This would be worth to mention before you recommend downloading the latest QT update (ergo 7.2).

    Macfixit has a large thread about it.

    cheers

    By Anonymous Anonymous, at Tuesday, July 17, 2007  

  • So OK, I went into my Documents and Settings\Application Data\Adobe\After Effects\7.0 and threw everything out and then restarted After Effects and there she was, back up and running and showing up on my VT4 switcher. So I guess it was the AfterFX7.ini file that had to be wiped. Kind of like C3PO from the Star Wars was always getting his mind wiped. Whatever, now I'm back in business! I hope this helps some poor soul like myself.

    puneet brar
    9815665000


    __________________

    By Blogger Puneet brar, at Thursday, September 27, 2007  

  • Okay kids, I have tried everyones "fix" for this extremely disturbing problem and have come to the conclusing that it has something to do with your footage. I can load up any old project and play with it with no problems. My new project (captured with PPro) will not function. It plays in any other app, but crashes AE 6.5. Try recapturing or ;( rerendering your animation. Hope this helps.

    By Anonymous bngiii, at Sunday, October 14, 2007  

  • bngii,

    Thanks for your comment, however I have no idea what you are talking about. Perhaps you posted in the wrong place?

    Best regards,
    Jonas

    By Blogger Jonas Hummelstrand, at Monday, October 15, 2007  

  • puneet brar
    U are my angle!!!
    I had tried anything i could to solve this AE Crashed problem but won't work!
    After follow your instruction:
    Delete all things inside C:\Documents and Settings\User\Application Data\Adobe\After Effects\8.0 folder, the crashed problem solved!!!!
    Thanks a lot!

    By Blogger goh, at Friday, November 23, 2007  

  • hmm.... I can't enable SECRET PREFERENCES by holding down SHIFT on the Mac CS3 version... is it a different keystroke?

    Do you choose GENERAL under the Preferences?.... simply holding SHIFT and then clicking on PREFERENCES doesn't yield any results... nor does holding SHIFT while clicking GENERAL under Preferences doesn't seem to work either.

    By Anonymous Anonymous, at Monday, December 31, 2007  

  • I even can't go to setup...
    When i click setup.exe, it pop-up for 2-3 seconds and then it quits...
    Somebody an answer to this?

    By Anonymous Anonymous, at Wednesday, January 02, 2008  

  • Hold down the Shift key BEFORE you choose "Preferences"

    Then look in the drop-down inside Preferences and you'll see the item.

    By Blogger Jonas Hummelstrand, at Wednesday, January 02, 2008  

  • Is this the "setup.exe" found on the installer disc? In that case, you should first check that your computer meets the minimum requirements, and then contact Adobe's free installation support.

    If you've downloaded this from some unreliable source, then you are on your own. Who knows, you might have just added your computer to the growing network of spam-senders? Congratulations...

    By Blogger Jonas Hummelstrand, at Wednesday, January 02, 2008  

  • Hi, I just wanted to say that this post should be renamed... 'Taming After Effects - The Bible'.

    Thanks for all the hard work and research.

    By Anonymous Anonymous, at Sunday, February 03, 2008  

  • Running Adobe After Effects 7.0 or 7.1.4

    Alright you get the error while running in which mode?
    Win 98?
    Win XP?

    In Windows 98 mode
    This should allow you to import files

    In Windows XP mode
    This should allow you to export files

    I changed the compatibility mode in the preferences for AfterFX.exe file I also clicked on "Show Settings For All Users" and changed the compatibility mode there as well.

    I hope this helps

    By Anonymous I love Pizza, at Wednesday, February 13, 2008  

  • I have had a problem with opengl crashing AE constantly - couldn't even start ae sometimes. I fixed it when I found cs3 had installed 2 ae_opengl.aex files - in plugins/format and plugins/extensions. They both had different dates so I removed the aex from format and put it in my adobe root folder for safe keeping and it all ran perfect after that.

    Whoohooo!!!

    hope this helps someone.

    u:Everyday

    By Anonymous Anonymous, at Monday, February 25, 2008  

  • i have a poblem with the render feature.
    i cannot render all quick time compresors. all other formts can be rendered.
    every time i try to render with "sorenson video 3" -an error accures :" bad parameter (-50) (44::36.
    i tried everything.
    i deleted the ae, quick time and even formated my computer.
    then installed another ae version- to 7 unstead of 7 pro.
    and nothing works.
    please help!!!

    By Anonymous Anonymous, at Tuesday, February 26, 2008  

  • Do you really need "Sorensen 3?" It is such an old (and outdated) codec that Apple has even hidden it in QuickTime 7.4. I think it might have something to do with that codec only supporting certain framerates and resolutions.

    If you really need to render to it, try rendering to QuickTime Animation@100% or Photo JPEG @ 95-100% from AE and then export that movie to Sorensen 3 from QuickTime Pro ($29.)

    By Blogger Jonas Hummelstrand, at Wednesday, February 27, 2008  

  • where is located the preference file to set the MaxNumberOfProcesses to 4?

    Thanks

    By Anonymous Anonymous, at Thursday, March 20, 2008  

  • I just updated the blog post with the path to the preference file!

    By Blogger Jonas Hummelstrand, at Friday, March 21, 2008  

  • THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!! THANKS!!

    By Anonymous Anonymous, at Friday, April 04, 2008  

  • THANX!

    uninstalling video codecs helped for me!

    By Anonymous Anonymous, at Wednesday, April 09, 2008  

  • Does anyone know of, or can point me too, some decent audio posts about after effects? I get NO audio ever, not even in RAM preview, and every where I look that's the only answer I get. Believe me, I ram preview, no audio. Any format, as part of any file, no audio will work in AE. Any suggestions?

    By Blogger matthew, at Monday, May 26, 2008  

  • Matthew,

    Post your question in the AE User-to-User forum: http://adobeforums.com/

    It's a quite common question and the answer is often found either in the turned off speaker button in the Time Controls panel or in the Audio preferences.

    By Blogger Jonas Hummelstrand, at Monday, May 26, 2008  

  • I've just updated this post with the basic steps for trouble-shooting audio problems in AE. Enjoy!

    By Blogger Jonas Hummelstrand, at Thursday, June 05, 2008  

  • Thank you very much, finally I can use After Effects...the deleting non standard fonts did the trick!

    -AlbinKlein

    By Blogger AlbinKlein, at Thursday, June 26, 2008  

  • Nope, it didn't, what it stopped from crasch all the time was the option at the memory preferences about the dlll fragmentation....

    Unchecked and fixed..now I can use AF/X

    Thank you anyway.

    By Blogger AlbinKlein, at Thursday, June 26, 2008  

Post a Comment

<< Home