raea track

Solve a clip's camera on this machine, so 3D can stand in its world with <Matchmove>.

View as Markdown

raea track solves the camera that filmed a clip: where it was and where it looked on each frame, and where the ground is. <Matchmove src=...> in a composition uses the solve to put 3D into the shot. The solve is kept in the project's asset store with its settings, so the render that asks for the same clip and settings finds it already made, and the other way round. The solver installs itself the first time it's used.

Terminal
raea track media/street.mp4 --from 2 --seconds 6
raea track media/table.mp4 --subject 0.3,0.4,0.4,0.3 --height 1.2 -o table.solve.json

Usage

Terminal
raea track CLIP.mp4 [--subject X,Y,W,H] [--from S] [--seconds N] [--height M] [--fov DEG] [--smooth F] [--dir EDIT_DIR] [-o OUT.json]   (the clip's camera solved, for <Matchmove>)

Headless: it needs nothing running and opens no window. Takes up to 1 argument besides its flags.

Flags

FlagTakesWhat it does
--dirEDIT_DIRThe edit's folder, whose asset store keeps the solve (the current folder by default).
--fovDEGThe camera's vertical field of view, for a shot with too little parallax to solve it (0, the solver's own, by default; 40 when it has none).
--fromSStart the solve this many seconds in.
--heightMThe camera's height over the ground in metres, which sets the scene's scale (1.6 by default).
--secondsNHow many seconds to solve (to the clip's end by default).
--smoothFFrames of Gaussian smoothing on the camera's path (1 by default; 0 for none).
--subjectX,Y,W,HThe subject's box on the first frame, in 0 to 1 of the frame, to solve around.
-oOUT.jsonAlso write the solve to this file.