After effects error cached preview needs 2 or more frames to playback ошибка

Adobe
Adobe Support Community

search

  • Global community

    • Language:
      • Deutsch

      • English

      • Español

      • Français

      • Português

  • 日本語コミュニティ

  • 한국 커뮤니티

Exit

    • Home

    • After Effects

    • Discussions

  • Re: AFTER EFFECTS «ERROR: CACHED PREVIEW NEEDS 2 O…

correct answers
1 Correct answer

mikem87557378

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.

replies
14
Replies
14

After Effects Community Recap

Getting started with After Effects

I found 16 different ways to fix this error.

1. Purge RAM

2. Empty 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 and 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.

I actually wrote a pretty extensive blog post about how to do each one of these steps. Hopefully it helps! https://www.schoolofmotion.com/blog/cached-preview

Fix Cached preview needs 2 or more frames to playback 2021. One of the most annoying error messages you get while working in After Effects is the “After Effects error: Cached preview needs two or more frames to playback” error. Ngolongtech notes that if you’re using a third-party plugin like “Element 3D” or using “3D cameras” in your project, this isn’t a cure-all, but they can help you prevent it. errors. Here are a few ways to prevent this error message from aggravating in After Effects.

Fix Cached preview needs 2 or more frames to playback 2021

Fix Cached preview needs 2 or more frames to playback 2021

Purging

All Memory and Disk Cache

All Memory and Disk Cache

Go to  Edit > Purge > All Memory and Disk Cache. This is basically just emptying the cache of your RAM. So this is just one solution that may not always work, so try some other methods.

Empty Disk Cache

a green bar

a green bar

On your clips in the timeline, you will see a green bar like the image above. This blue bar represents the RAM cache, so by Clearing in the previous step you will no longer see this green bar. Chances are, you’ll see a thin blue bar above your clips. This is how After Effects writes content to RAM faster.
 

Empty Disk Cache

Empty Disk Cache

To remove this blue bar, go to  Preferences > Media and Disk Cache > Empty Disk Cache. This will delete all renderings. You should click Clean Database and Cache in the Preference window.

Change the preview scene quality from Full to Half or Third

changing the preview scene quality from Full to Half or Third

changing the preview scene quality from Full to Half or Third

A simple but sometimes overlooked solution to this problem lies in the number of applications and programs you are using while working in After Effects. Also, try changing the preview scene quality from Full to Half or Third.

Re-Importing Rendered Clips

Re-Importing Rendered Clips

Re-Importing Rendered Clips

As a last resort, re-import the clip into the timeline bar. This is a possible solution to any problem, but it forces you to start over. Select Lossless in your display queue then change your Channel in Video Export from RGB to RGB + Alpha. This will give the footage a transparent background so you can re-import it into your footage.

One last tip: Ngolongtech also recommends going to Preferences > Memory then unchecking the box next to “Reduce Cache Size When System…”.

Hopefully, this article on How to Fix Cached preview needs 2 or more frames to playback 2021 would be helpful for you. In case you have any questions, feel free to leave your comments below. Follow Macwintips for more tips and tricks on Windows and Mac!

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. 

Если все перечисленное выше не помогло (или просто вам неохота возиться, пробуя все подряд), значит, скорее всего ошибка происходит из-за конкретного проекта. При возникновении ошибки или другой проблемы обратите внимание на таймкод (время) ошибки. Если баг возникает каждый раз в одном и том же месте, то есть вероятность, что он вызывается каким-нибудь конкретным эффектом или анимацией, которую придется изучить и, возможно, изменить. Например, при работе с частицами можно выбрать другой режим работы CPU/GPU в плагине (если поддержка есть), уменьшить количество частиц, для Element 3D упростить геометрию, уменьшить количество полигонов, проверить материалы, текстуры, размер и т.п.
Для уточнения проблемного слоя или эффекта мне несколько раз помогал такой способ. Вы выбираете половину слоев в композиции и удаляете их все. Рендерите видео, ну или как вы там предпочитаете проверять. Тут возможны два варианта:

  • Если ошибка пропала, значит, она была в удаленных слоях композиции, отменяем удаление, и теперь удаляем только половину удаленных ранее слоев. И снова запускаем рендер.
  • Если ошибка осталась, то продолжаем дальше удалять слои, упрощая проект.

Если ошибку вызывает что-то конкретное, рано или поздно мы найдем виновника таким методом. Я понимаю, что это долгий, муторный и неудобный способ, но если вы знаете лучше, то пишите мне, буду благодарен! 8-)
А если ошибка возникает каждый раз в случайных местах композиции, то можно попробовать рендерить не готовое видео, а набор кадров 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
Изображение

Возможно, вам также будет интересно:

  • Age of empires ошибка при запуске приложения 0xc0000022
  • Age of empires iv ошибка загрузки результата матча
  • Age of empires 4 ошибка при запуске приложения 0xc000007b
  • Age of empires 4 ошибка подключения к серверу
  • Age of empires 4 ошибка avx

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии