FORUMS: list search recent posts

After effects play/pause current preview

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Arno Deceuninck
After effects play/pause current preview
on Jun 15, 2017 at 3:35:22 pm

Hey,

Is there a way to play/pause your movie(or layer) preview in after effects?

I have already found app.executeCommand(app.findMenuCommandId("Play Current Preview")); but this created a second problem:
i have to pause my preview to get my current position app.project.item(index).time and this isn't working, it pauses the video, but doesn't start playing again after pausing the preview:

app.executeCommand(app.findMenuCommandId("Play Current Preview"));
$.writeln(app.project.item(index).time);
app.executeCommand(app.findMenuCommandId("Play Current Preview"));


Do you have any suggestions? I have to get the current position of the sound layer playing in the background, but this layer has to keep playing.

If you think you know anything that can help me, please leave a comment.

Thank you


Return to posts index

Richard Garabedain
Re: After effects play/pause current preview
on Jun 15, 2017 at 3:59:27 pm

what are you trying to do. I dont understand...Play pause a layer in after effects...You mean the preview window? surely not..so what then?


Return to posts index

Arno Deceuninck
Re: After effects play/pause current preview
on Jun 15, 2017 at 4:26:58 pm

Indeed the preview window, but if you double click on a layer in after effect you get a preview of that layer, but that doesn't matter, if you know how to do it with a composition preview, that'd be great too. This preview I'd like to play/pause so I can get the time of this preview the moment I clicked a button.


Return to posts index


Dave LaRonde
Re: After effects play/pause current preview
on Jun 15, 2017 at 4:41:57 pm

It appears you're thinking that After Effects swhould work like a video editing application. IT DOESN'T, ande you can't make it work like one.

Don't try pausing a preview. It won't work. Once you have a real-time preview, you can scrub to find a precise frame.

People have been doing it this way in After Effects for.... what, twenty years now? You can learn how to do it, too. Actually, you HAVE to learn how to do it.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Arno Deceuninck
Re: After effects play/pause current preview
on Jun 15, 2017 at 4:55:04 pm

And is there a way to scrub using scripts? I need to make an array with all moments when I've clicked a button (the time the composition is at that instant will always be added to this array) but to click the button at the right moment, I have to hear the sound playing in the background.


Return to posts index

Dave LaRonde
Re: After effects play/pause current preview
on Jun 15, 2017 at 5:02:07 pm

No. You need to use your hands.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index


Arno Deceuninck
Re: After effects play/pause current preview
on Jun 15, 2017 at 5:06:12 pm

And there isn't an alternative way to automate this? Something that does something similar to this?


Return to posts index

Dave LaRonde
Re: After effects play/pause current preview
on Jun 15, 2017 at 5:07:37 pm
Last Edited By Dave LaRonde on Jun 15, 2017 at 6:18:21 pm

NO. AE is incapable of doing this. You can't automate everything. Sometimes you have to do actual work.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Walter Soyka
Re: After effects play/pause current preview
on Jun 15, 2017 at 7:00:30 pm

[Dave LaRonde] "Don't try pausing a preview. It won't work. Once you have a real-time preview, you can scrub to find a precise frame."

Pausing a preview works fine. The Preview panel lets you define your stopping behavior.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index


Walter Soyka
Re: After effects play/pause current preview
on Jun 15, 2017 at 7:01:17 pm

I suggest you make markers while previewing (* on the NumPad), then have your script read the markers, get their times, and get whatever attributes you need from those times.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]