20 Replies Latest reply on Apr 10, 2015 3:05 AM by iakasura

    Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering

    Grizzlar

      My After Effects CS6 locks up for 3 minutes "Locking Existing Frames" before it even begins to start rendering, every time I need to preview anything - even at the lowest possible quality.

       

      The render goes perfectly normal - it is not the rendering that is the problem - it is the "Locking Existing Frames" process BEFORE rendering that freezes up my computer for 3 minutes, and ruining my life.

       

      I am using Adobe After Effects CS6 on a Mac Book Pro with a 2.9 GHz Core i7 processor (2 cores) and 8 GB of RAM.

       

      Please help me understand what is happening when it is "Locking Existing Frames," and what some solutions could be to reduce the amount of time it takes to do this.

       

      ALSO: I have scoured the Web for hours looking for the answer to this problem, and to this point it has never been solved.  If you can solve this issue, Adobe should give you a promotion and $1 million.

        • 1. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
          Greg Baber Adobe Employee

          If you have Multiprocessing turned on, turn that off - your system is under-powered to use that. Let me know if that resolved the issue.

          • 2. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
            Rick Gerard Adobe Community Professional & MVP

            3rd party codecs, MPEG source files, disk cache, low available resources, free memory, all could be having an effect on your performance.

             

            How much free memory are you showing? Do you have any 3rd party codecs installed. Did you enable disk cache? What kind of footage are you using? My MBPro runs just fine with 8GB ram for most AE work.

            • 3. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
              Grizzlar Level 1

              Hi Rick and Greg,

               

              Thanks for the quick responses.  Below are all the details to all your questions.  Also - just to emphasize again - my rendering goes super awesomely fast.  It is not the rendering.  It is the "Locking Existing Frames" process before the rendering that is ruining my life.

               

              FREE MEMORY:

              • This is brand new Mac Book Pro with hardly anything stored on it.
              • The 8 GB of RAM is split into 2 memory slots, each with 4GB of RAM

               

              3RD-PARTY CODECS:

              I am not aware of any third-party codecs in this system.  I imported some fonts (ITC Franklin Gothic) and some video files (see below), but I am not aware of any third-party codec installed on this system.

               

              DISC CACHE:

              • My Disc Cache is enabled
              • My maximum disc cache size is 69 GB
              • I do not have a seperate "fast hard drive" or "SSD" seperate from my main hard drive, where I store my footage.

               

              MPEG SOURCE FILES:

              If by source files, you're asking about the video files I imported:

              • 2 MP4s (5 sec. each)
              • 3 QuickTime .mov (3 sec. each)
              • 1 Audio-only FLV. (2 minute background music throughout video; used to be a Premiere working file)

               

              MULTIPROCESSING

              Turned off, but still locks up forever before rendering.

               

              ADDITIONAL FUN FACTS:

              Here are some additional observations that might help:

              • It doesn't just take a long time to start rendering; it freezes my entire computer for the duration of the "Locking Existing Frames" process - putting my entire life on hold for 3 minutes, every time I need to preview a minor detail... It's a nightmare.
              • The video is 1 min. 45 sec. long so far, and has 15 sec. to go.
              • The video is comprised of 99 percent motion graphics, and 1 percent actual footage (Occupy Wall Street hates my footage)
              • The complexity in this video is that there are a lot of compositions inside of compositions inside of compositions, but even when I go to the very beginning of the first comp - where the only animation is a line being drawn with the "Stroke" effect - it still takes 3 minutes to "Lock Existing Frames."
              • Again... The rendering goes super fast after the "Locking Existing Frames" process.  The problem is NOT with the rendering.  The problem is the "Locking Existing Frames" process BEFORE the rendering starts.

               

              This is my job and I can't do efficiently until I solve this problem, so I will be very responsive until we can identify the issue.

               

              Thanks again for all your helpful responses!

              • 4. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                Grizzlar Level 1

                Also, Greg, thanks for the quick response!  Not sure if it automatically notifes you, but please see my comment to Rick.

                • 5. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                  Grizzlar Level 1

                  GETTING CLOSER TO SOLUTION:

                   

                  I went back through previous comps, and it stopped the problem whenever I deleted my audio in each comp (I had the audio turned off in each one so that they weren't overlapping, in case anyone think I'm idiot).

                   

                  So I know the problem has something to do with my audio, and probably its Codec.  First I tried using the raw Premiere file.  Then I exported an FLV at a 250-something bit rate.

                   

                  I'm going to play around with that for a bit.  Shoot me a response if you know how I can zero in on what I need to change in my audio details.

                   

                  Thanks!

                  • 6. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                    Grizzlar Level 1

                    I now know the problem, but I don't know the solution.

                     

                    I figured out that the "Locking Existing Frames" issue only happens when I have audio, so I'm assuming I need to know the correct codec to use for my audio.

                     

                    To figure that out, I need to know:

                     

                    1. Where in After Effects can I find the information that tells me the correct codec I need to use for my audio?
                    2. If that's not the right question, then what codec should I use for exporting my audio from Premiere so that it doesn't lock up my machine for 3 minutes whenever I need to render?

                     

                    Thank you!

                     

                    Andy

                    • 7. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                      Grizzlar Level 1

                      And just to clarify, the files I've tried to use for my audio include:

                       

                      • Premiere Project File (Raw)
                      • FLV
                      • MPEG4

                       

                      I just tried an MPEG2 but I don't think my Mac recognizes the file (it appears as an icon image piece of paper).

                       

                      How should I export an audio file to use in After Effects on a Mac Pro?

                      • 8. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                        Grizzlar Level 1

                        Upon further research, I just found out this problem has persisted since CS4 for which they created an update to the bug, and then it seems it came up at the beginning of CS5 for which they had to create another update.

                         

                        Is this a bug, and do you have the update for CS6???

                         

                        P.S. This issue seems to only come up on Macs because the same project on my Windows computer at home works perfectly fine.

                        • 9. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                          bldg13 Level 1

                          I'm having what seems to be the same issue. Like Grizzlar, seemingly anything that I RAM preview that has audio takes longer due to the Locking Existing Frames. The audio I'm using is AIF exported from Apple Logic. I'm on a Mac Pro (early 2009) 2 x 2.26 GHz Xeon w/ 24 GB RAM running 10.8. This happens no matter if Render Multiple Frames is on or off. This happes any time I RAM preview—even if I have full green showing everything is in RAM—I still get the Locking Existing Framesdelay before playing. If I mute the audio layer there is no delay.

                           

                          Another weird audio issue—I'll post in a separate thread if unrelated: my audio pitch is off (low) in RAM preview. The first playback of the RAM preview is usually wacky (I've seen this before in previous versions of AE) where the audio plays and no video for the first few frames and is indicated as NOT realtime. Like I mentioned I've seen this before in previous versions, but not quite like this: FPS is at 115.224/24 for the first few frames but the audio is the correct pitch. Then the second time through (and all subsequent plays) the video plays realtime (24/24fps) but the audio pitch is now lower. In previous versions I recall the audio was higher (incorrect) pitch for the first play through and lower (correct) pitch on subsequent plays.

                          • 10. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                            bldg13 Level 1

                            A few other notes: I'm not getting the 3 minutes of delay as Grizzla but rather 10 seconds. The comps that I am currently working on are only 100f though.

                             

                            Also, I'm not getting consistent results with Render Multiple Frames on/off as it pertains to Locking Existing Frames (LEF). On RAM preview, some of my comps are LEF even if already in RAM and others play immediately. I'm looking for variables that might be causing this.

                            • 11. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                              bldg13 Level 1

                              Here is a post about my audio problem that includes a screencast w/ audio

                              http://forums.adobe.com/message/4626717#4626717

                              • 12. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                Rick Gerard Adobe Community Professional & MVP

                                Try transcoding any MPEG video to a production codec. Turn off disk cache.

                                 

                                Convert your audio to .wav files. Let us know how that works for you.

                                • 13. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                  opossumfx

                                  Hello Everyone,

                                  we have dealing with the same issue on various of our Mac.  We simply have opted to turn off the audio during preview and rendering to a file to view our movies with audio.  I just tried all your suggestions and continue to have the problem.  At this point the locking of the frames will happen after about 1 minute,

                                  This mac is a 2x3.06 GHz 6-Core Intel Xeon, 32 GB 1333 MHz DDR3, running mac OS 10.7.5. NVIDIA Quadro 40000 grphics card. Built in Audio Intel High Definition Audio.

                                  If anyone find an answer to this it would be osom!!!!  thanks.

                                  • 14. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                    Jonas Hummelstrand Level 2

                                    I would make sure to avoid MPEG-based codecs (FLV, H.264, MP4, MKV, M4V, MPEG-2 and MPEG-4) as these are delivery codecs that prioritize file size rather than quality and frame-reading speed. On many such codecs the audio is "muxed" into the video stream, causing AE to try to demux the entire audio duration before playing.

                                     

                                    Good production codecs, you ask? Avid DNxHD, Apple ProRes, QT Animation, QT Cineform, QT PNG. All can be set to use minimal or no lossy compression.

                                     

                                    For audio, either embed it in a production codec or use WAV or AIFF, never MP3 or another delivery audio codec.

                                    • 15. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                      Tuttleharry Level 1

                                      Here is the immediate solution:

                                       

                                      1. Open your Preview Panel.
                                      2. Make sure "RAM Preview Options" is selected from the dropdown.
                                      3. Turn off all audio rendering by clicking the third icon from the right, on the top of the panel.  It will look like a speaker.
                                      4. That's it. When you hit NUM 0 to start RAM preview, you will see the "Locking" statement for only a couple of seconds and it will go right into rendering.
                                      5. If you need audio in your preview, you'll need to use Jonas's suggestion.
                                      • 16. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                        Galen Fott Level 1

                                        Encountering this problem in CC. I must have audio in my RAM previews as I'm working on timing. I'm working with a jpeg sequence. Audio, though, is definitely the culprit. My audio is a wav file. When it's in the comp, "Locking existing frames" takes about 30 seconds every time I do a RAM preview. Even if I stop the RAM preview, don't make any changes, then start it again, there's still the 30 second wait. But if I delete the wav file from the comp, the preview is immediate. I tried converting the wav to a mov, but that didn't change anything.

                                         

                                        How many years do these problems have to persist?

                                        • 17. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                          Slipangle10000 Level 1

                                          I too am on CC - just upgraded to 12.1. I am having the same problem, even when I shut off all audio. When a director or editor comes for a preview...we all wait for 30 seconds even though everything is cached. I have a brand new BOXX 8920 with 3 SSDs, 32 GB RAM, and a K5000 - so this is definitely an AfterFX probplem...that should be solved ASAP!!!

                                          • 18. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                            Galen Fott Level 1

                                            Slipangle, you say you "shut off" the audio, but try deleting the audio from the comp and see if the problem goes away. That's what I had to do. Not really a workaround, obviously...

                                            • 19. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                              iakasura Level 1

                                              I think that problem in soundcard Realtek HD Audio (driver). I have the same problem in a project, and before playing the video AE is blinking. I connected an external PRO soundcard M-Audio FireWire 410 - the waiting time is strongly decreased.

                                              • 20. Re: Adobe After Effects CS6 takes FOREVER to lock existing frames before rendering
                                                iakasura Level 1

                                                need to change card in AE Preferences - Audio Hardware