7 Replies Latest reply on May 21, 2014 10:58 AM by Szalam

    After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram

    Me Myself

      System Specs :

           CPU : Core i7 4770k

           Memory : 16 GB DDRIII

           Graphic Card : GTX 770 4GB RAM

           Storage : 256 GB SSD + 2 TB HDD

           OS : Windows 7 SP1

           Using After Effects CC 12.2.1.5

      NOTE : NOT ANY ADDITIONAL HARDWARE IS ATTACHED TO MY PC . NO SOUND RELATED EQUIPMENT NOR CAPTURE CARD NOR ANY THING ELSE

       

      Hi there

      As you Already Don't know I'm an After effects Specialist Using it for quite long time . There is an Ancient Problem with CS6 CC versions . I have a short Small size 1080p Video , about 8 MB , I drag it into project panel and then put it into timeline hence it creates a sequence . There are no Effects and nothing added to timeline , just a small simple video . The Strange Problem is when I click "0" for ram preview , The video starts playing and the green bar above timeline starts to fill . When Ram preview Finishes and plays the video from beginning I See there are several frames Between which are not being loaded to Ram ! The video plays RGB color bar instead of main video and when I check the Green bar above Timeline I see that those frames are being dropped and there is no Green bar above them !

      I have had this problem several times before but this time it is too important and the problem should be solved . What is obvious is that some frames are not being rendered or are being deleted after render !

      Another Strange problem is that when I open Task manager , It shows AE uses around 10 GB ! of RAM when I press "0" for Ram previewing this video !

      So there is a Logical explanation here , Somehow when I do ram preview this video it uses extra ordinary too much ram so AE is unable to load the full video (8 MB) into Ram and hence deletes some of frames .

      most of my videos have not this problem and use acceptable amount of ram .I've had this issue with some of my videos till now .

       

      Listen carefully : "This has nothing to do with AE preferences or low memory or plugins . because there is nothing wrong with any individual components of may hardware or software . I have far more than enough RAM for a 8MB video . My Memory has no hardware or software problem . I tested them and if there was any problem with memory or other hardware that should have affected other applications . I have the most recent AE version . I have the most Recent windows updates and drivers . I have a Clean virus free system , and as a computer engineer this strange AE problem is rarely caused by viruses , trust me . I have not any hardware instead of ones a normal PC has . I have not any problem with my whole entire system configuration because I have benchmarked my PC with several up to date softwares . I have tested my PC with almost any STRESS TESTING solutions available for really long period of time , 3 days by IDA64 . Not any driver conflict , dll missing , registry problem have been discovered , as I know perfectly how to solve them ."

       

      I asked some of my friend whom are expert in AE . I handed them my videos and Watched ALL OF THEM HAD THE SAME ISSUE ! So the problem isn't related to my Local PC . What i believe is that there is some malfunctioning or miss coded part in AE source code that decides to reserve such a huge strange amount of ram for such a tiny 8MB video . The point is that the AE works fine , no crash or any problem report . So the AE it Self decides to allocate such huge amount of ram and thinks it is correct ! So I think this is a work around that AE developers in adobe are using to bypass a problem or conflict ! by Using more amount of RAM . I think that there might be some miss understanding between the AE and my installed codec . I installed MEGA CODEC PACK on my PC to enable some new codec supports , and so are some of Windows default de/encoders changed to new ones . I think there shouldn't be any problem But there is something wrong between AE and de/encoder modules !

       

      Please any one with any suggestion , I really appreciate your advices .

        • 1. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
          Szalam Adobe Community Professional & MVP

          This was a very long post. From the beginning, it sounded like a codec problem. I was wondering why you never mentioned what codec the 8MB video file was encoded with. What codec is it encoded with?

          Also, 8MB? That's a tiny video file!

          Anyway, I was thinking It was an issue with codecs and then you said:

          me myself wrote:

           

          I think that there might be some miss understanding between the AE and my installed codec . I installed MEGA CODEC PACK on my PC to enable some new codec supports , and so are some of Windows default de/encoders changed to new ones . I think there shouldn't be any problem But there is something wrong between AE and de/encoder modules !

          Did your friends who had issues also install the "MEGA CODEC PACK"?

          Also, where did you get this codec pack?

          It wasn't too long ago that there were people with lots of problems with professional video programs getting messed up due to codec packs. K-Lite used to be a killer of video machines. It's possible that this "MEGA CODEC PACK" you're talking about is causing similar problems.

          • 2. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
            Dave LaRonde Level 6

            As a seasoned After Effects user, you obviously know that you left out one important bit of information about this "tiny" 8MB clip: its duration.

            Is it a second long?  It's not horribly compressed.  Is it a minute long?  It IS horribly compressed.

             

            Also as a seasoned After Effects user, you are also aware that the codec of the footage has a very big bearing on After Effects performance.  You are also aware that a few video codecs are not recommended for use with After Effects.  But you don't tell us anything about the codec of the footage.

             

            I think you should provide those two tidbits of information for a more thorough diagnosis.

            • 3. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
              Me Myself Level 1

              ###UPDATED###

              Well thank you guys for your patience ...

               

              as you considered I forgot to mention the codec itself and other stuff ...

              The video is in 1080p , 35 sec long , it is a green screen shot , this video is directly downloaded from YouTube and plays perfectly on all tested PCs . here are detailed info :

               

              Format                                   : MPEG-4

              Format profile                          : Base Media

              File size                                 : 8.55 MiB

              Duration                                 : 34s 993ms

              Overall bit rate mode                : Variable

              Overall bit rate                         : 2 050 Kbps

               

              VideoFormat                            : AVC

              Format/Info                              : Advanced Video Codec

              Format profile                           : High@L4.0

              Codec ID                                 : avc1

              Codec ID/Info                            : Advanced Video Coding

              Bit rate                                    : 1 927 Kbps

              Width                                      : 1 920 pixels

              Height                                     : 1 080 pixels

              Frame rate mode                      : Constant

              Frame rate                               : 30.000 fps

              Color space                              : YUV

              Chroma subsampling                 : 4:2:0

              Bit depth                                  : 8 bits

              Scan type                                 : Progressive

               

               

              NOTICE : This video is just for testing the lighting and etc , and so the Sampling and other specs are not considered for broadcast .

               

              I think you hit the point ! Thats K-lite codec pack installed on every machine which the video is tested on ! The point is whats wrong with it ?! I have had never ever any problem with this codec pack !!!

               

              The deadly question : So what are the alternative ways to work with codecs that AE doesn't support ?! because installing codec looks simple and sufficient !

              • 4. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
                Dave LaRonde Level 6

                K-Lite is a known destroyer of smooth AE functioning.  If you haven't had problems before, consider yourself lucky.  But you have them now.

                 

                So you have to make a choice: do you want K-Lite or do you want AE?  "I want them both" is NOT a vailid answer.

                 

                If you want AE, you will have a lot of work to do: simply uninstalling K-Lite is no good, because malicious pieces of the codec pack are all over your system drive.  After you are done reformatting your system drive, you will have to do a clean install of your operating system and your applications.

                 

                That K-Lite is a nasty piece of work, isn't it?

                • 5. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
                  Szalam Adobe Community Professional & MVP

                  I'm not sure what's wrong with it. (And the issues were supposedly fixed in an updated version of the codec pack.) But something about the way some versions of K-Lite hook into the system just royally screws up professional video programs. I've seen issues with Adobe, Vegas, and others when K-Lite was present. Again, I haven't come across K-Lite issues for a while, so I had thought they actually had fixed the problem.

                   

                  Doing professional video work, I have never needed the K-Lite codec pack. If I ever were to receive a video from a client that was in an odd codec, I would use a separate machine that had it installed and use some video conversion software to convert it into a proper production codec.

                  • 6. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
                    Me Myself Level 1

                    If you want AE, you will have a lot of work to do: simply uninstalling K-Lite is no good, because malicious pieces of the codec pack are all over your system drive.  After you are done reformatting your system drive, you will have to do a clean install of your operating system and your applications.

                    Ow MAN ! You're joking ?! That's scary ! Well done to Adobe and K-lite with they team work ! I would have never had such a dramatic Impact to my PC by a Trojan Horse ! At least that might be because of Horses know their job better than Software Programmers !

                    The good side is that I have a sector level image from my entire HDD which makes it quick to factory reset my PC . But the configurations and other stuff ! that's a nightmare .

                     

                    As a final Trick I would check if uninstalling Codecs will free my PC from Deamons or not ...

                    I'll post the result

                    thanks guys , you where really a great help

                    • 7. Re: After Effects Ram Preview Drops Frames , Using Strangely Too Much Ram
                      Szalam Adobe Community Professional & MVP

                      Me Myself wrote:

                       

                      Well done to Adobe and K-lite with they team work !

                      Adobe hasn't got anything to do with it. The previous times that K-Lite has been an issue, it was because of K-Lite's poor product. It didn't just effect Adobe software - other professional video software got messed up too.

                       

                      Me Myself wrote:

                       

                      If you want AE, you will have a lot of work to do: simply uninstalling K-Lite is no good, because malicious pieces of the codec pack are all over your system drive.  After you are done reformatting your system drive, you will have to do a clean install of your operating system and your applications.

                      Ow MAN ! You're joking ?!

                      He is not. When this sort of problem used to be common, oftentimes a reinstall was the only way to fix it due to how K-Lite would mess with a system.