0

I want to get a stationary view on a moving subject, which needs to be staying within his square box on the final video (the camera should follow him).

So far I got away by clicking every 15 second to create a new keyframe and drag the canvas such that the object is centred in the final 1×1 layout.

I am going to automate this with a simple Python script.

The output of the script could be a sequence of coordinates, in whatever format Premiere wants them, so that it would replace my desperate clicking (45 hours of footage overall × 4 × 3600 = 650k clicks). Hence, does anyone know how to import / export keyframes so that I can figure how to craft such a hack?

Alternatively, but I don't fancy this, I can crop the video using ffmpeg and import that, but that wouldn't allow for later corrections.

3
  • Premiere doesn't support Python scripting. DaVinci Resolve does. Feb 26, 2020 at 8:55
  • After Effects would probably be more appropriate for tracking a moving subject, the process is almost entirely automated.
    – Ambo100
    Feb 26, 2020 at 14:51
  • Yeah, @Ambo100, my student yesterday showed me some dark magic in AE (I've never used before). Haha, I still think programming is easier 😅
    – Atcold
    Feb 26, 2020 at 16:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.