Skip to main content
David_MB
Participant
October 25, 2012
Question

Why can't After Effects have realtime playback?

  • October 25, 2012
  • 5 replies
  • 32281 views

A few of us around the office are baffled by the lack of realtime playback in AE CS6. Premeire Pro can play a linked AE comp realtime but AE can't. That is kind of confusing.

Yes, I know, there's good 'ol RAM preview, but some normal everyday playback would be awesome times 1000. So why can't AE CS6 have a normal playback engine like Premeire Pro? What's holding it back?

    This topic has been closed for replies.

    5 replies

    Vinay Dwivedi
    Adobe Employee
    Adobe Employee
    March 22, 2016
    Known Participant
    May 24, 2016

    The question was asking why After effects needs to build a ram preview and can't just play back natively like other faster motion graphics programs (motion for example).

    Dave_LaRonde
    Inspiring
    May 24, 2016

    Pat481 wrote:

    The question was asking why After effects needs to build a ram preview and can't just play back natively like other faster motion graphics programs (motion for example).

    Because the root code of After Effects was written in nineteen-stinkin'-ninety-three and a lot of it hasn't been touched since then, that's why!

    Do you think there just might have been a couple-three changes in the way computers deal with video since then?  Adobe management has been in denial about that for better than a decade.  Not the AE team itself, but the lowlifes who write the paychecks.

    Peter A Lund
    Inspiring
    December 30, 2014

    for realtime effects i use modul8 (garagecube.com)

    it´s not that you can always use what you do , but sometime i need that response to get an idea.

    so if i need to play around with particles then i use the simple interface of modul8 and if i find

    something interesting , i rebuild this in AE.

    there a 3 vj app´s that i thing a worth to look at.

    1. modul8

    2. resolume

    3. vdmx

    all these apps are build around realtime. So what you don´t get is

    1. a timeline (so this is the catch)

    2. not tracking

    3. masking is tricky

    as said: these are app´s i play around with to get ideas. And i use them for mapping and projections.

    but i would edit in after effect if i could.

    i always thought , well maybe next year, or maybe the next machine.... but it never happened.

    i quess they need to recode the complete engine.

    so , i hope this helps you.

    pele2010

    rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.>Be content with what you have;rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.
    Community Expert
    October 27, 2012

    Bring footage captured in one format into a Premere Pro sequence setup with another format and you'll have to render for realtime playback too. The only time PPro doesn't have to render a preview is when the playback engine and the footage codec match closely enough that the frames don't have to be rendered.

    After Effects is specifically designed to mix all kinds of media and as such it breaks down what ever is sent to the timeline into raw pixel values. There was never an attempt to send a codec to a playback engine because AE isn't designed to be a NLE, it's designed to composite mixed media.

    Pixels are blended (simple arithmetic mostly) and a new image is constructed a pixel at a time. That's why footage from a highly compressed, cup intensive codec like MPEG4 takes longer to ram preview than a footage from an easy to decompress format like Animation QT. There's less work to do to break the data into pixel values.

    Faster processors and GPU acceleration helps this process so AE is faster than it used to be. On my MBPro I get real time preview from 50% sized HD footage from the space bar with a production codec source file unless there are more layers to process. If they are, the preview is very quick and then I can playback as much footage as the available ram will allow.

    Participating Frequently
    October 29, 2012

    Same here actually. I'm using Win7 with 8 gigs of RAM and a GTX560 with 2gigs of RAM (with the GFX hack) and a single video plays fine.

    The thing I don't get is why when inside a comp, things playback fine, but when you pre-comp that, they go all slow.

    And I know AE isn't meant to be an NLE... but something tells me that the fact it can't do some things faster because of of the fact that it's NOT an NLE sounds like an excuse.  That's almost like saying "Well 3DS Max/Maya/Blender can't move quickly because it's not meant to be quick, it's meant to render really high end 3D graphics... If that's the case then I feel like it SHOULD move fast so that the VFX team can hurry and get done wht they need to get done.

    ESPECIALLY if I'm just using partical plugins and stuff.

    I wonder how AE would work if I had an i5 or i7 CPU with at least 4 HGz, 16 gigs of 1396 DDR3 RAM and an NVIDIA GTX 690. THEN will it be real time?

    Szalam
    Community Expert
    Community Expert
    October 29, 2012

    Dreamcube017 wrote:

    I feel like it SHOULD move fast so that the VFX team can hurry and get done wht they need to get done.

    ESPECIALLY if I'm just using partical plugins and stuff.

    I wonder how AE would work if I had an i5 or i7 CPU with at least 4 HGz, 16 gigs of 1396 DDR3 RAM and an NVIDIA GTX 690. THEN will it be real time?

    Actually, particle effects are some of the slowest things to render. Think about it; it's having to animate hundreds of thousands or even millions of things at once. Okay, maybe you're not doing particle effects that are as complicated as mine, but still it's probably thousands of things at once. That's still a lot.

    No computer will be real time with After Effects for high end effects. There are basic things you can do (and even some simple particle effects) that will render close to real time on a higher-end machine. I have dual six-core Xeons in my work system with 48 GB of RAM and it's still slow on some of the particle effects I do. It's significantly better than the one I have at home though (single six-core processor, 36 GB of RAM).

    The problem is that you have no sense of perspective. It was only a few years ago that a render would take overnight whereas that same effect now renders in about ten minutes (and it even looks better). We have come a very long way in a very short amount of time.

    David_MB wrote:

    I don't expect it to playback a comp with a ton of layers and effects, but something simple like one chroma keyed video clip and a background should be able to be played back realtime without trouble. It would really speed up the workflow if it did.

    Perhaps exerpts from a post Rick Gerard made some time ago on another thread will help explain things to you:

    "Sony Vegas, Premiere Pro, Final Cut, Avid are all NLE's (Non Linear Editors) and they are specifically designed to playback a video stream. With any of them, if you stack enough layers or effects on the video, they will have to render a new video stream based on the pixel-based calculations for every pixel in the stack. This rendering, especially for HD sources or for complex plugins, will take a bit of time.

    After Effects, Flame, Fusion, Shake -- are all pixel-based image processing applications that act very much like Photoshop. They calculate the values of every pixel in every frame, come up with a new pixel, and then play those pixels back as a video stream.

    AE and all the other pixel-based compositing apps, always work internally with completely uncompressed pixel data. NLE's rely on codecs (and in some cases hardware) to playback the video. It's an entirely different way of working with moving images."

    If your workflow requires a real-time playback, use Premiere! It's got a great keyer (or two) in it. And it plays back a video stream without needing to calculate each pixel. If you need to do some more involved keying work, once you've done your edit, import your Premiere project into After Effects and do the keying there. This script can make things even easier.

    Note: the advice in this thread is from some very seasoned experts in the field. Mylenium, Rick Gerard, and Dave LaRonde have been working with After Effects for many years before I was - and I've been working in video for over a decade!

    Mylenium
    Legend
    October 26, 2012

    It's just the way it is and has been forever. It's getting better, though. If and when it works, Fast Preview in CS6 is jaust as good, it's just limited to playing back footage mostly. Any effect still makes things a lot slower...

    Mylenium

    Participating Frequently
    October 27, 2012

    The GPU makes some things a little bit faster, but the GPU in AE isn't used to render everything where in Premiere it is.  I'm pretty sure AE still runs videos through the CPU and it doesn't use the Mecury Playback/Render engine on anything but the raytraced stuff.

    I have a feeling that if adobe wanted to, they could implement a lot of the DirectX 11 features like particles and DoF and stuff that are in the newest or high end realtime technology such as Unreal Engine 4... however, this would leave Mac users out in the cold as Macs don't run DirectX... Sooo... blame Macs.

    [cue the rage]

    Dave_LaRonde
    Inspiring
    October 25, 2012

    What's holding it back?

    The nature of the application, that's what.  AE was never, ever intended to work like an editing application.  It was always intended to be a desktop effects, motion graphics and compositing application, working with virtually unlimited layers of footage.

    If you tried to do what AE does in Premiere, it would come to a screeching halt and need to render.  If you look at similar applications like Apple's Motion, you won't be playing anything back in real time, either.

    Now, that's not to say that there are NO applications that can composite and play in real time: I believe either Flame or Smoke by Autodesk can do it.  The downside: you have to follow Autodesk's precise hardware specifications including pricey and proprietary hardware, you need a boatload of extremely fast storage, and you can't buy Autodesk software: you can only rent it for a 1-year period for a cost of five figures.

    Taking that into consideration, I don't think AE looks too bad in comparison.

    David_MB
    David_MBAuthor
    Participant
    October 27, 2012

    I don't expect it to playback a comp with a ton of layers and effects, but something simple like one chroma keyed video clip and a background should be able to be played back realtime without trouble. It would really speed up the workflow if it did.

    lasvideo
    Inspiring
    October 27, 2012

    Heck, on my Z820 some projects playback in realtime when I view them as a ram preview (as it renders the first time)..