Adobe Support Community
-
Global community
- Language:
-
Deutsch
-
English
-
Español
-
Français
-
Português
- 日本語コミュニティ
- 한국 커뮤니티
-
-
Home
-
After Effects
-
Discussions
-
- Re: AFTER EFFECTS «ERROR: CACHED PREVIEW NEEDS 2 O…

1 Correct answer
Explorer
,
Sep 26, 2018
Sep 26, 2018
I tried all of the advice online, and nothing worked for me. I was using the puppet tool on photoshop assets, as soon as I changed the puppet engine from Advanced to Legacy, my content reappeared in the preview window, and I was able to Ram Preview like normal. If this is happening in your comp, make sure to change the puppet engine on all your layers that are using it.
14
Replies
14
After Effects Community Recap
Getting started with After Effects
Hi, I have been struggling with this After Effects for 2 days now and badly need to fix this.
When I try to preview what I am working on in my composition by pressing my space bar and clicking on the play button, I get this pop up message: «Cached Preview needs 2 or more frames to playback». When I click OK, I usually get the following pop-up: «Fresh layer cache check-out failed».
I cannot seem to get more than one frame in green or blue (cached). I have already tried Purging the memory, cleaning the database & cache and emptying my disk cache. I have also tried working on my other after effects files ( which all worked fine a few days ago) and they all have trouble previewing. I also tried working on earlier versions of After Effects and that either did not change my situation or could not open my files (not compatible versions, which is confusing to me because I have switched versions in the past when having a problem in AE and never had files not open because of version compatibility).
My max disk cache size is 75, which has always worked fine for me, with 12 GB RAM available for AE.
My «Reduce cache size when system is low on memory» is NOT checked and I have no other programs running.
Running latest version of After Effects 2017, 14.0.1.5
It’s my first time posting a question on here so if I’m missing any useful info, please let me know.
I see a lot of people asking this same question on forums and have tried many of the tricks and tips, even the strange or very general ones, cleaned up a ton and restarted the computer and the program many times. None of the forums questions seemed to have been answered with a clear answer though, so hoping someone can help me as the Adobe chat will only open in two days and I have clients waiting for their work.
Thank you
Hi, I have been struggling with this After Effects for 2 days now and badly need to fix this.
When I try to preview what I am working on in my composition by pressing my space bar and clicking on the play button, I get this pop up message: «Cached Preview needs 2 or more frames to playback». When I click OK, I usually get the following pop-up: «Fresh layer cache check-out failed».
I cannot seem to get more than one frame in green or blue (cached). I have already tried Purging the memory, cleaning the database & cache and emptying my disk cache. I have also tried working on my other after effects files ( which all worked fine a few days ago) and they all have trouble previewing. I also tried working on earlier versions of After Effects and that either did not change my situation or could not open my files (not compatible versions, which is confusing to me because I have switched versions in the past when having a problem in AE and never had files not open because of version compatibility).
My max disk cache size is 75, which has always worked fine for me, with 12 GB RAM available for AE.
My «Reduce cache size when system is low on memory» is NOT checked and I have no other programs running.
Running latest version of After Effects 2017, 14.0.1.5
It’s my first time posting a question on here so if I’m missing any useful info, please let me know.
I see a lot of people asking this same question on forums and have tried many of the tricks and tips, even the strange or very general ones, cleaned up a ton and restarted the computer and the program many times. None of the forums questions seemed to have been answered with a clear answer though, so hoping someone can help me as the Adobe chat will only open in two days and I have clients waiting for their work.
Thank you
Если все перечисленное выше не помогло (или просто вам неохота возиться, пробуя все подряд), значит, скорее всего ошибка происходит из-за конкретного проекта. При возникновении ошибки или другой проблемы обратите внимание на таймкод (время) ошибки. Если баг возникает каждый раз в одном и том же месте, то есть вероятность, что он вызывается каким-нибудь конкретным эффектом или анимацией, которую придется изучить и, возможно, изменить. Например, при работе с частицами можно выбрать другой режим работы CPU/GPU в плагине (если поддержка есть), уменьшить количество частиц, для Element 3D упростить геометрию, уменьшить количество полигонов, проверить материалы, текстуры, размер и т.п.
Для уточнения проблемного слоя или эффекта мне несколько раз помогал такой способ. Вы выбираете половину слоев в композиции и удаляете их все. Рендерите видео, ну или как вы там предпочитаете проверять. Тут возможны два варианта:
- Если ошибка пропала, значит, она была в удаленных слоях композиции, отменяем удаление, и теперь удаляем только половину удаленных ранее слоев. И снова запускаем рендер.
- Если ошибка осталась, то продолжаем дальше удалять слои, упрощая проект.
Если ошибку вызывает что-то конкретное, рано или поздно мы найдем виновника таким методом. Я понимаю, что это долгий, муторный и неудобный способ, но если вы знаете лучше, то пишите мне, буду благодарен!
А если ошибка возникает каждый раз в случайных местах композиции, то можно попробовать рендерить не готовое видео, а набор кадров Image Sequence. В After Effects есть несколько пресетов для этой цели под общим названием Multi-Machine Settings/Sequence в очереди рендера Render Queue.
В таком случае каждый кадр будет отдельным изображением на диске, и если рендер оборвется, вы не потеряете уже просчитанный готовый материал. А когда вы продолжите рендер (можно продублировать задание в очереди рендера Render Queue), After Effects пропустит уже существующие на диске кадры и начнет считать со следующего места. За это отвечает отдельная настройка в Render Settings — Skip existing files (allows multi-machine rendering) («Пропустить существующие файлы (позволяет осуществлять рендеринг на нескольких компьютерах)«).
Но, естественно, звук в таком виде не получится вывести из программы After Effects и придется потом дополнительно его считать как WAV файл без видео и объединять с набором отрендеренных кадров композиции. Их, конечно же, надо предварительно импортировать в любую программу для работы с видео — After Effects, Premiere Pro, да любую. Даже мой любимый FFMPEG может это сделать, да все нормальные программы умеют делать такое. Только проверьте частоту кадров, так как куча файлов на диске не имеет такой информации, и это надо задавать руками.
Вообще, это было сделано для рендеринга по сети несколькими компьютерами одновременно, чтобы они не считали одинаковые кадры, назначенные другому After Effects. А самое интересное, что такое можно провернуть и на одной машине для ускорения рендера, ведь одна копия After Effects не задействует ресурсы процессора CPU на полную. Уменьшение времени рендера в After Effects
Содержание
- How to Fix the ‘Cached Preview’ Error in After Effects
- Let’s fix the dreaded вЂCached Preview’ error in After Effects.
- What’s the ‘Cached Preview’ Problem?
- How to Fix the ‘Cached Preview’ Error
- 1. PURGE RAM CACHE (MEMORY)
- 2. EMPTY YOUR DISK CACHE
- 3. CHANGE RAM RESERVED FOR OTHER APPLICATIONS
- 4. CLOSE OUT UNNECESSARY APPLICATIONS
- 5. CHANGE PREVIEW QUALITY
- 6. INCREASE DISK CACHE SIZE
- 7. UNCHECK вЂREDUCE CACHE SIZE WHEN SYSTEM IS LOW ON MEMORY’
- 8. CHANGE DISK CACHE LOCATION
- 9. SAVE AND CLOSE AFTER EFFECTS
- 10. CLEAN DATABASE & CACHE
- 11. SET WORK AREA TO THE APPROPRIATE DURATION
- 12. SET YOUR REGION OF INTEREST
- 13. OPTIMIZE YOUR EFFECTS
- 14. ORGANIZE YOUR PROJECT
- 15. RENDER INSTEAD OF PREVIEWING
- 16. OPTIMIZE YOUR MACHINE
- How to Fix Cached Preview in After Effects
- Here are a few tried-and-true ways to prevent this aggravating error message in After Effects.
- Purging
- Empty Disk Cache
- Close Everything
- Re-Importing Rendered Clips
How to Fix the ‘Cached Preview’ Error in After Effects
Let’s fix the dreaded вЂCached Preview’ error in After Effects.
If you’re reading this article then chances are you probably have just recently received the dreaded вЂCached Preview Needs 2 or More Frames to Playback’ error in After Effects. This error usually leaves me feeling like this. but that doesn’t mean you can’t do something about it. In this article we’re going to talk about how to fix this common error. If you follow all of the steps below there’s a good chance that you’ll fix this error in only a matter of seconds. If you just want to fix the error you can follow the steps below, but first we thought it’d be helpful to talk about why you get this error in the first place.
What’s the ‘Cached Preview’ Problem?
After Effects previews compositions by creating temporary video files that are stored on your machine. These files are known as вЂcached’ preview files and they come in two flavors: Disk Cache and RAM Cache files.
RAM cache files are the preview video files that After Effects plays when you hit the spacebar. The bright green bar at the top of the timeline indicates the portion of your composition that is playing off of your RAM. Most of the time when you get the вЂCached Preview Needs 2 or More Frames to Playback’ error it is because there is not enough room on your RAM (memory) to load these temporary video files. Because After Effects utilizes RAM to playback preview files it’s advised that you have at least 8GB or RAM if not more in order to ensure that you have enough memory to playback large compositions.
Disk cache files are temporary video files that are typically rendered in the background while you’re working in After Effects. After Effects does not directly preview video from the disk cache. Instead video files from your disk cache are loaded into your RAM cache when you’re ready to preview. You can tell if a frame is rendered in the disk cache by looking for the dark blue bar at the top of the After Effects timeline. Disk cache files can be stored anywhere you want. You can even control how big your disk cache can get under the preferences menu.
How to Fix the ‘Cached Preview’ Error
Here’s a step-by-step guide for fixing the вЂCached Preview Needs 2 or More Frames to Playback’ error in After Effects.
1. PURGE RAM CACHE (MEMORY)
The first thing you should do is purge your RAM. This will erase any temporary cache files currently stored in your memory. To do this navigate to Edit>Purge>All Memory. This will reset your RAM cache from scratch.
2. EMPTY YOUR DISK CACHE
You can also try emptying your disk cache. The fastest way to do this is to navigate to Edit>Purge>All Memory and Disk Cache. This will (obviously) purge both your RAM and Disk Cache.
3. CHANGE RAM RESERVED FOR OTHER APPLICATIONS
After Effects allows you to set how much RAM is available for other applications. This is especially important if you have multiple applications open at the same time. If you use After Effects a lot I recommend giving After Effects as much RAM as you can. Navigate to After Effects>Preferences>Memory… From the popup menu change the value of вЂRAM reserved for other applications’ to a low number.
4. CLOSE OUT UNNECESSARY APPLICATIONS
If you have a lot of applications open on your machine you may need to close them out so After Effects isn’t competing for memory. I have a nasty habit of leaving Premiere Pro open when I’m working on After Effects projects. Go ahead and close out any unnecessary applications. This includes Spotify and iTunes. Just listen to music on your phone if you can’t stand the silence.
5. CHANGE PREVIEW QUALITY
The fastest way to reduce the size of the file being written to your RAM is to reduce the preview quality on your machine. To change this hit the menu at the bottom of the composition panel. By default it should be set to вЂAuto’. If you have a complicated project that won’t render go ahead and reduce this to half, third, or quarter. There’s also some handy keyboard shortcuts for doing this:
- Full: Cmd + J
- Half: Cmd + Shift + J
- Quarter: Cmd + Opt + Shift + J
6. INCREASE DISK CACHE SIZE
You also might be running into an issue where your disk cache is simply not large enough to effectively render in the background. To troubleshoot this go to After Effects>Preferences>Media & Disk Cache. Once the popup window appears increase the size of your disk cache. I like to keep mine above 50GB, which should be more than enough for most projects.
7. UNCHECK вЂREDUCE CACHE SIZE WHEN SYSTEM IS LOW ON MEMORY’
Some people have found success by navigating to After Effects>Preferences>Memory… and deselecting the вЂReduce cache size when system is low on memory’ button.
8. CHANGE DISK CACHE LOCATION
One common problem that people have when it comes to rendering in After Effects is placing their project files and their disk cache on the same drive. This can bog down your machine as After Effects will read and write files simultaneously to the same drive. Instead it is recommended that you separate your disk cache and project files across two separate drives. I typically have my project files on an external SSD and my disk cache on my local storage.
To change your disk cache location navigate to After Effects > Preferences > Media and Disk Cache and select вЂChoose Folder’ under Disk Cache.
9. SAVE AND CLOSE AFTER EFFECTS
While it may seem obvious sometimes this error can be often be solved by simply closing out After Effects and opening it back up. In my experience this will fix the problem for a few preview renders, but the error will likely pop-up again.
10. CLEAN DATABASE & CACHE
If you’ve made it this far and are still seeing that dreaded error it’s not the end of the world, but we will need to start getting creative. Try cleaning the database and cache by navigating to After Effects > Preferences > Media and Disk Cache. Once you’re there, hit вЂClean Database & Cache’.
11. SET WORK AREA TO THE APPROPRIATE DURATION
Sometimes this annoying error can be fixed by setting your work area to the exact length that it needs to be. You can very quickly change your previewable work area by using the B and N keys to set the start and end of your work area.
12. SET YOUR REGION OF INTEREST
You’ve likely accidentally set your region of interest once or twice when working in After Effects, but this little-used tool can actually be very helpful when you’re trying to preview a small portion of your video frame in After Effects. In short, After Effects will render a smaller portion of the video instead of the entire frame. You can activate the вЂRegion of Interest’ tool by navigating to the small region of interest button at the bottom of the composition panel.
13. OPTIMIZE YOUR EFFECTS
Not all After Effects are created equal. Some effects like the Lens Blur effect are simply much more intense on your machine than say a Fast Box Blur effect. Before you give up on your project try changing out any effects that may be unnecessary for your scene.
14. ORGANIZE YOUR PROJECT
Ask yourself if you’ve organized your project in an efficient and practical way. A project with hundreds of pre-comps and unnecessarily large asset files could possibly benefit from some better organization. It may be tempting to want to just hop into a big project and start animating, but this is actually a fast way to get lost in a disorganized project. Spend some time on the front-end to plan out your project and you might not end up with the вЂCached Preview’ error.
15. RENDER INSTEAD OF PREVIEWING
While this is certainly not what After Effects was designed to do one solution that could work would be to render out your project in the Render Queue instead of previewing the project in After Effects. For example, if you’re working on a huge Element 3D sequence it might make sense to work in the wireframe preview mode until you’re ready to export. In a way this method of animating is very similar to a 3D pipeline, we’ve just been spoiled by After Effects’ quick previews inside of the composition.
16. OPTIMIZE YOUR MACHINE
It’s time to take a look at your computer. We all know that After Effects is an incredibly intense program to operate. If you’ve optimized your project and are still receiving an error it might be time to consider upgrading your hardware. The first place to look would be your RAM (because that’s where RAM cache is stored), but honestly if any part of your system is lacking it can bring the whole animation process to a screeching halt. Go check out Adobe’s recommended system specs to get an idea for the type of machine you should be running. Sure a system upgrade can cost some money, but if you’re working in After Effects every day it is definitely worth it.
So that is every way that we were able to find that could potentially fix the вЂCached Preview Needs 2 or More Frames to Playback’ error in After Effects. If you want to learn more about After Effects check out the rest of the site here on School of Motion. Hopefully this error hasn’t completely ruined your day, but look on the bright side. a bad day in After Effects is better than a good day at a вЂnormal’ job.
Источник
How to Fix Cached Preview in After Effects
Here are a few tried-and-true ways to prevent this aggravating error message in After Effects.
One of the most stomach-churning error notifications you can get while working in After Effects is the dreaded “After Effects error: Cached preview needs two or more frames to playback.” Goatman Arts notes that if you’re using a third-party plugin like Element 3D or using 3D cameras in your project, expect the workflow for this solution to be a bit more in-depth. These aren’t guaranteed to work every time, but they may help you prevent the error.
Purging
Go to Edit > Purge > All Memory and Disk Cache. Essentially, this is just emptying your RAM cache, and as he so lovingly puts it, cache is just where After Effects stores its results of your current render. So, this is just one possible solution that doesn’t always work, so let’s try out a few other methods to get past this hiccup.
Empty Disk Cache
Above your clips in the timeline, you should see a thin green bar spanning the width (hopefully) of your selected clip. This green bar represents the RAM cache, so by Purging in the previous step, you should no longer see this green bar. Most likely, you’ll see a thin blue bar atop your clips. This is how After Effects writes content to RAM quicker.
To clear this blue bar, go to Preferences > Media and Disk Cache > Empty Disk Cache. This should clear all renders. He also recommends hitting Clean Database and Cache while you’re still in the Preference window.
Close Everything
A simple yet sometimes-overlooked solution to this problem lies with how many applications and programs you have running while working in After Effects. Also, try changing the quality of your preview footage from Full to Half or Third. This might help with rendering.
Re-Importing Rendered Clips
This one is a bit of a stretch, but you could try rendering out what you can and re-importing the clip into the timeline. This is a perfectly viable solution to the problem, but it is a major disruption to your workflow. Select Lossless in your rendering queue, then change your Channel in Video Output from RGB to RGB +Alpha. This will give the clip a transparent background so you can re-import it back onto your footage.
One last tip: Goatman also recommends going to Preferences > Memory then uncheck the box next to “Reduce Cache size when system….”
Know of any other solutions to this frustrating problem? Let us know in the comments.
Источник
If there’s one error in Adobe After Effects that I can’t stand, it’s this error:
After Effects Error: Cached Preview needs 2 or more frames to playback.
What this error does is mess around with your preview. Every time you preview your project, this error message pops up and we all know how important previewing our work is.
What’s causing this problem?
After Effects constantly stores the files that are used to preview render in a folder on your hard drive, so that they can be easily accessed in the future without having to re-render each time. This folder is known as the Disk Cache, and as it grows full over time, it can cause problems within the program. Output Module Failure is no exception.
How to fix this error?
Below are some of the quick fix you can apply to your After Effects.
1. Purging All Memory and Disk Cache
This step is really simple. Just go through «Edit» then «Preference» and select «All Memory and Disk Cache».
2. Emptying your Disk Cache
To do this, you need to navigate through «Edit» then «Preference» and select «Media & Disk Cache». Simply click the «Empty Disk Cache» tab to clear all materials on your disk cache folder.
3. Try moving your «Current Time Indicator»
If the problem is still there or it gets worst, try moving your «Current Time Indicator» and then try to preview your project.
In case of worst case scenario or none of the methods listed about work, then it’s time to check whether you could properly run Adobe After Effects or not.
The fact is, After Effects eats a lot of memory space and it’s really recommended that you go beyond the requirements for running this video editing software. Also, if you have other apps opened while After Effects are running, then I suggest that you close them as it will definitely give you lags and hiccups while editing your videos.
So that’s it guys. I hope this guide helped you.