FORUMS: list search recent posts

Time Remap layer to comp duration with expression

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eric Staswick
Time Remap layer to comp duration with expression
on May 14, 2015 at 5:04:00 pm

I have a simple task that I can't seem to figure out. I need to time remap a video footage layer to the duration of the comp. I need to do this through expression as I am automating the process of creating multiple comps. I suspect it is quite simple but my searches have not turned up anything.

I could also do this by time remapping to the duration of a certain layer in the comp if that is easier.

Thanks for the help!

-Eric


Return to posts index

Dave LaRonde
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 5:45:13 pm

I don't know if that would be such a good idea.
By automating the process, you could run into some unanticipated and serious frame rate issues... in fact, I'd say it would be almost guaranteed that you would.

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


Return to posts index

Eric Staswick
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 5:53:28 pm

Thanks for the feedback Dave. We have been doing it this way for 2 years, just manually moving the keyframe, just looking for a way to automate that. I'm not too worried about frame rate because the "footage" is basically a fancy slideshow, mostly static with some transitions, and the range it would need to be remapped to is between 35 and 45 secs, not enough to make a big difference.


Return to posts index


Cassius Marques
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 6:11:52 pm

maybe something like:

a=thisLayer.source.duration;
b=thisComp.duration;
(a/b)*time

...on the time remmap property?


Return to posts index

Eric Staswick
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 6:15:14 pm

Perfect! Thanks.


Return to posts index

Cassius Marques
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 6:21:28 pm

Just watch out with frame rates mismatches, I'm not sure how it will behave on those cases.


Return to posts index


Walter Soyka
Re: Time Remap layer to comp duration with expression
on May 14, 2015 at 11:29:13 pm

[Cassius Marques] "Just watch out with frame rates mismatches, I'm not sure how it will behave on those cases."

The calculation will be fine. The duration property counts seconds (with decimals as necessary), not frames, so there's never a mismatch across different timebases.

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

Dave LaRonde
Re: Time Remap layer to comp duration with expression
on May 15, 2015 at 2:50:41 pm

I don't think the OP will have a lot of problems with this trick: not much movement to speak of. But it could get ugly with real video shot on a camera.

Earlier this week, I saw video of the aftermath of the second Nepal earthquake. People running all over, POV camera movement, the works. Apparently it was shot at 25fps and dumped into 29.97 edit timeline.

The subject matter of the images was ugly enough. The motion of the images makes a person cringe. I can only imagine what video would look like when subjected to the random-length result of this time remapping trick .

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


Return to posts index

Walter Soyka
Re: Time Remap layer to comp duration with expression
on May 15, 2015 at 2:53:27 pm

[Dave LaRonde] " I can only imagine what video would look like when subjected to the random-length result of this time remapping trick."

One way to find out!

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]