ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to excerpt timecode data of nested, time-remapped clip?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Kolja van Boekel
How to excerpt timecode data of nested, time-remapped clip?
on Jul 2, 2019 at 1:01:31 pm

Hey there!

I have a clip. That clip is time-remapped.
This remapped clip is nested in a precomp.
That precomp is put in my final comp and time-remapped again.

Is there a possibility to get a CSV including the frames of my final comp and the timecode of my original clip?

I came up with this expression that I put on a text layer, which makes sense in my mind, but it won't output anything, not even an expression error.

t = thisComp.layer("comp_containing_my_clip").source.layer("myclip.mp4").timeRemap;
valueAtTime(t);


What am I not seeing here?


Return to posts index

Miguel de Mendoza
Re: How to excerpt timecode data of nested, time-remapped clip?
on Jul 2, 2019 at 7:02:55 pm

Just remove from your code "valueAtTime(t)"


Return to posts index

Kolja van Boekel
Re: How to excerpt timecode data of nested, time-remapped clip?
on Jul 2, 2019 at 9:28:33 pm

By doing this I get the values of the nested, time-remapped clip, but not the time-code of the clip inside the time-remapped comp… You know what I mean?


Return to posts index


Kolja van Boekel
Re: How to excerpt timecode data of nested, time-remapped clip?
on Jul 4, 2019 at 12:41:18 pm

I tried to make a graphic, I don’t know if my former explanation was sufficient…

I am trying to get the timestamp of my clip after time-remapping it twice.



With the code that I posted earlier I only get the timestamp that it has in Comp A, but not the one in the topmost layer, Comp B.

I don’t get why my valueAtTime() doesn’t make any difference!
Can somebody point me in the right direction?


Return to posts index

Kolja van Boekel
Re: How to excerpt timecode data of nested, time-remapped clip?
on Jul 4, 2019 at 4:09:52 pm

Whoever comes here to find an answer: I just found it.

a=thisComp.layer("comp_containing_my_clip").timeRemap;
a2=thisComp.layer("comp_containing_my_clip").source.layer("myclip.mp4").timeRemap.valueAtTime(a);

//give out seconds
timeToTimecode(t = a2, timecodeBase = 60, isDuration = false);


Return to posts index

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