Forum Replies Created

  • Noah Wankner

    February 20, 2012 at 7:43 pm in reply to: access the velocity of a 3D camera via expression

    but then the time still doesn’t regard the frames before. still when the speed is at 150%, the time only refers to this value, so it’s like the whole clip to this point was at 150%, which was not the case.

    i kind of almost solved the problem with a loop, but then again i have another problem. But i posted that problem in a new thread, because the question how to access the velocity of a 3D camera has been solved long ago 🙂 So thanks again for your help with this!

    Greets, Noah

  • Noah Wankner

    February 19, 2012 at 9:57 pm in reply to: access the velocity of a 3D camera via expression

    okay i think i understand now what you mean. But this will not work because the cameraspeed is different every single frame and so is the twixtor-speed. so if at frame 10 the speed is 150% it could still be any frame because you don’t know which speed the frames before had.

  • Noah Wankner

    February 19, 2012 at 9:37 pm in reply to: access the velocity of a 3D camera via expression

    sorry i don’t get how this could help?

  • Noah Wankner

    February 19, 2012 at 8:38 pm in reply to: access the velocity of a 3D camera via expression

    it clearly has 🙂

    but the thing is – in order to find out where a frame went because of the time distortion, i have to know the time distortion of ALL the frames before, i do not see another way. And to achieve that, i need a loop, which adds all the speed% of all frames before, so i know where i am in time. I really don’t see a simpler way. So the question is – is it even possible in After Effects?

    The clip length is not a problem, to adjust that is pretty simple compared to that other stuff. And I don’t want to fix my camera-track, it’s the movement of the real camera when we shot the scene, that was too inconsistent in speed. Or is that what you mean when you say “tracking”?

    I also tried the Warp Stabilizer, but there’s to much paralax in the shot, it totally messed up.

    Thanks for your help!
    Noah

  • Noah Wankner

    February 19, 2012 at 7:15 pm in reply to: access the velocity of a 3D camera via expression

    Alright, thanks for the help, that was what i was searching for.

    But it seems like what i’m trying to do is much more complicated than I thought it would be. The problem is: By connecting the playback speed of twixtor to the speed of my 3D-camera, after the first frame nothing fits anymore because the playback speed was adjusted, so frame 2 is not frame 2 of my original footage anymore.
    An example to make clear my problem: if my expression adjusts the playback speed to 50% on the first 9 frames, the 10th frame is the 5th frame of my original footage, so i also have to look at the camera speed at frame 5 and not frame 10.

    I tried to fix this problem by summing up the playback-speed-values in order to calculate the frame, at which the expression looks at the cameraspeed, but it seems i’m doing something wrong.
    I heard the expression language is based on javascript, so I tried a for-loop, maybe that’s my mistake? Is this even possible in After Effects?

    This is my latest try (it also gives me an error in the last line, but i don’t know why):

    (explanation: the values of the camera-speed are saved in the v_cam-slider and my project is in 50fps, that’s were the 0.02 come from.)

    My brain really hurts of thinking of this stuff, it would be so great if someone could try helping me with this!!!

    Thanks, Noah

    x = thisComp.layer("values").effect("x")("slider");

    timeSum = 0;

    for (i=0; i<time; i=i+0.02){
    timeSum= timeSum+((effect("Twixtor")("Speed %").valueAtTime(i))/100);
    }

    (x/(thisComp.layer("Werte").effect("v_cam")("slider").valueAtTime(timeSum*0.02)));

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