0

I've got 20 videos with the same static background. Unfortunately during filming the camera was nudged so the background doesn't line up exactly across all the videos. Is there a way I can automatically crop, rotate and move the videos so the videos lineup precisely?

  • 1
    Try this: load all clips on a timeline one after the other without gaps. Next this sequence in another sequence and apply the Warp Stabilizer to the nested sequence. Although if the camera is fixed in each shot, I would just keep a reference clip on V0, and then overlay all of the other clips one-by-one with some lower opacity and manually adjust. – Gyan Sep 2 '16 at 12:57
  • 1
    To easily see the alignment between two layers put them above one another and use difference transfer mode. Where they are the same it will be black. Nudge the layer you want to align by using the arrow keys, tweak rotation with the + and - keys on the numeric keyboard and adjust the scale with cmd/ctrl and the + and - numeric keyboard keys until it goes as black as you can get it. This won't work perfectly if there are perspective shifts of course, but it's a quick way to get as close as you can. – stib Sep 2 '16 at 13:15
1

20 videos is not very many videos, and if the nudge happened between takes rather than during takes, the best approach is to align them manually, either by using the difference mode of a compositor or setting the opacity of each video to 50% and nudging them until all the backgrounds line up.

If you had 20,000 videos, I would suggest starting with Hugin, a tool for processing HDR and panoramic photos. The HDR problem concerns aligning multiple images so that a tone-mapping can be applied. The alignment heuristics for HDR would also align your videos (especially if you only compute the alignment parameters for the portion of your videos that are reliably background). You could play around with parsing the output of the Hugin control point finder.

1

This isn't specifically Premiere-oriented, but I would concatenate all of the videos into one and use the MELT framework with video stabilization. You might need to play around with the parameters a bit, so I would suggest cutting a 1min section with the nudge in the middle in order to fine tune your settings before running it over the entire video.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.