3D Camera track retime expression

Hi guys and gals
Can anyone remember how to retime a camera track using a timewarp node and an expression. I can never remember.
Ive shot and tracked something at 50fps. The edit has a time warp with a curve so Id like to effect the track accordingly.

1 Like

Make sure the tw curve is built in timing, not speed. Then paste it onto an axis’s pos.x channel or something and use eval().

1 Like

You ever get this working @PeteRypstra?

Paste this expression into you new camera;
eval (Camera, TW.Timing)

Where “Camera” is your original tracked camera and “TW.Timing” is the Timewarp used to retime your tracked plate.


Thanks for the tip Angus and Brian… I seem to remember that Angus.
I still havent got round to trying it as the edit has changed a few times now :sob:

(v2021 + fbx imported Camera)

if it is an imported camera like fbx , i found that you cant copy and link the tw.timing to the camera expression.

you need to get a variable (matchbox) into the action , link it there and link the attributes one by one from that .
For ease of use . Let say you do it from pftrack -> pick the fbx 2010 RPY
you will have to add then in the position the and rotatiion attributes one by one
If it is flame camera i think it’s easier than this


As a rule of thumb I personaly do the following …

all of the above is if the TW is flow based

If it is frame based ( round numbers and not the inbetween)
you should add a
round ( blabla.timing ) on the variable
ceil (…)
Similar for the action native camera … adjust as needed or be really specific on the tw on frame by frame basis

1 Like

Thanks George… Will check it out


For camera fbx to use eval predictably, only place expressions on the gross transformation channels.

This means only make expressions for the camera’s position, aim, roll and FOV channels