Forum Replies Created

Page 2 of 3
  • Mackie John

    May 26, 2019 at 4:21 pm in reply to: Thumbnails from Markers

    THanks this is what I’m looking for. I can now run this trough as an ExtendedScript using aerender.exe, correct.

  • Mackie John

    February 12, 2019 at 8:21 am in reply to: Trigger composition to play from inpoint

    I have tried one of Dan’s expressions as below:

    newDuration = effect("Slider Control")("Slider");
    t = linear(time,0,newDuration,0,key(numKeys).time);
    valueAtTime(t);

    Modified it as follows:

    clockStart = parseInt(comp("main").layer(5).text.sourceText.value);

    t = linear(time,0,clockStart+1,0,key(1).value+time);
    valueAtTime(t);

    This seems to be working as what I want on the Time Remap property. It plays the keyframe and continues playing it. But the layer goes black. I can’t seem to see any output. If I remove the expression the layer works fine. And the time remap keyframe works exactly as I want.

    This expression holds onto 14secs, which is the first keyframe value. Then when it hits’s clockStart, it continues to play from 14secs. But the output is black. What ami doing wrong here ?

  • Mackie John

    February 12, 2019 at 7:05 am in reply to: Trigger composition to play from inpoint

    Any updatew on this pls. DAN or someone can help me with this as i have reached a wall on this after multiple tries. Thanks in advance

  • Mackie John

    February 10, 2019 at 4:58 pm in reply to: Trigger composition to play from inpoint

    Here is some updates:

    I tried using linear with the script as follows:

    clockStart = parseInt(comp("main").layer(5).text.sourceText.value);
    clockTime = clockStart-1*(time);

    sIn = key(2).time - key(1).time;
    sOut = key(4).time - key(3).time;

    if (time < clockStart)
    linear(time,sIn,key(2).time,key(1).value,key(2).value)
    else if (time >clockStart)
    {
    linear(time,key(3).time,sOut,key(3).value,key(4).value);
    }>

    I’m using this on the time remap propertery with 4 keyframes. One issue I have here is, if I change the clockStart to some value 14 seconds for example, I need to adjust the keyframe4 manually to get the fadeout properly on the closure, otherwise it does a cut.

    Any Other solution to this problem please.

  • Mackie John

    January 4, 2019 at 7:00 pm in reply to: Change position of Marker on timeline

    Yes great it works fine. Thanks once again.

  • Mackie John

    January 4, 2019 at 6:11 pm in reply to: Change position of Marker on timeline

    Just another thing, If I have multiple key frames on the same property. How will I target the 2nd key frame. E.g. I have 1 for fade in, another for fade out. How do I target for fade out ?

  • Mackie John

    January 4, 2019 at 6:00 pm in reply to: Change position of Marker on timeline

    Perfect, I’m grateful to you. It’s working as I wanted, I have understood the logic as well. Thank you so much for you help.

  • Mackie John

    January 4, 2019 at 5:42 pm in reply to: Change position of Marker on timeline

    I will be feeding clockStart which is just a text layer now externally (outside of aftereffects). So it will come in as in `int`. Right now I have put it a text layer for testing only.

    clockStart = parseInt(thisComp.layer(1).text.sourceText.value);
    clockTime = Math.max((clockStart-1*(time-inPoint)),0);

  • Mackie John

    January 4, 2019 at 5:35 pm in reply to: Change position of Marker on timeline

    Yes I understand what you mean, but i’m not getting it. I’m a little weak in expressions and learning them as I go.

    I know what I want to achieve but the part I’m missing is how can I calculate how long it has been 0. Can you help with an example, if possible. Will be grateful.

  • Mackie John

    January 4, 2019 at 5:06 pm in reply to: Change position of Marker on timeline

    Yes, the counter turns zero, after which I want to run the animation (keyframes):

    Here, I have thought of two ways. Can you suggest if this is correct or can be improved. FIrst is using valueAtTime, second is using linear:

    if (clockTime == 0){
    chkTime = time - clockTime;
    valueAtTime(chkTime)
    }

    if (clockTime == 0){
    chkTime = time - clockTime;
    linear(chkTime , 0, 6, 100, 0)}

Page 2 of 3

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy