Correct a subject drifting out of an overlay window

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Correct a subject drifting out of an overlay window

PostMon Dec 28, 2020 6:30 am

Hi. I have 18 clips, half are scenic and the other half are a talking head (subject of small overlay). The overlay was created with transform (zoom, position) and crop properties.

All 9 subject clips have identical transform/crop so that the window is uniform through entire track.

Problem is the camera intermittently pans so that the subject is not centered. This needs to be fixed.

I know how to do it with keyframes so that the subject pans back and the crop adjusts in sync. Problem is it takes forever to do it since there are 10 corrections needed. All those keyframes create huge problems for other adjustments.

I tried fusion tracking without luck. The background bobs around wildly. Edit\stabilization (translation) did not correct it.

Is there anything else that might work?
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

Jim Simon

  • Posts: 34455
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Correct a subject drifting out of an overlay window

PostMon Dec 28, 2020 2:16 pm

I can't think of any.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostMon Dec 28, 2020 10:41 pm

Yikes... ouch. Okay
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

Jason Conrad

  • Posts: 802
  • Joined: Wed Aug 16, 2017 3:23 pm

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 12:37 am

If installing R17 beta is an option, you could try the smart reframe. It creates keyframes to keep a subject centered, which sounds exactly like what you need. The results I've gotten with it are very hit or miss. When it works, it works pretty well. When it doesn't, it gets it miserably wrong, but it only takes a few seconds to try, and potentially saves some work.
-MacBook Pro (14,3) i7 2.9 GHz 16 GB, Intel 630, AMD 560 x1
-[DR 17.0 Beta9]
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 12:43 am

Definitely willing to try! Thanks!
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 1:06 am

Jason Conrad wrote:If installing R17 beta is an option, you could try the smart reframe. It creates keyframes to keep a subject centered, which sounds exactly like what you need. The results I've gotten with it are very hit or miss. When it works, it works pretty well. When it doesn't, it gets it miserably wrong, but it only takes a few seconds to try, and potentially saves some work.

Is Smart Reframe Studio-only?
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 1:16 am

I don't think I'm understanding. You have 10 talking heads that are appearing as a picture-in-picture over scenic video, and the talking head shot occasionally pans horizontally -- for some reason -- and the head is then not centered?

It sounds to me like you could stabilize the talking head footage. I'm thinking you'd create a timeline with all 10 talking heads and Stabilize each clip. The clip would wander around in the timeline's View, but you'd then nest the timeline in your final timeline -- the one with the scenic shots in it -- putting it on V2 and then crop THAT to the size you want. Does that make sense? The idea is the talking head timeline has all the talking heads centered, and as long as you crop it (as a clip, nested into the main timeline) small enough you won't see the edges of the actual talking head clips showing.

Also, are you using Studio or free Resolve? Also, you've gotten a suggestion to upgrade to v17 -- and it is amazing -- but be careful because it will convert your DB and render it inoperable in v16! So backup your DB before you try v17! (Read up on the details a bit more. There's a thread about it in this forum.)
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 6:06 am

wfolta wrote:It sounds to me like you could stabilize the talking head footage. I'm thinking you'd create a timeline with all 10 talking heads and Stabilize each clip. The clip would wander around in the timeline's View, but you'd then nest the timeline in your final timeline -- the one with the scenic shots in it -- putting it on V2 and then crop THAT to the size you want. Does that make sense?


As I mentioned, stabilize did not work. I don't understand how nesting a timeline would make it work, noting I've never nested a timeline before.

Successfully upgraded to 17B studio. Thinking I'll need to undo all talking head crops and then reset their resolutions to the tall aspect. I tried to reframe in the crop window (as is) but it did not account for the crop window also being a fixed reference point.
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 2:16 pm

NickMDal wrote:[quote="wfolta"I mentioned, stabilize did not work. I don't understand how nesting a timeline would make it work, noting I've never nested a timeline before.

[Edited to delete commend on stabilization. I missed a sentence of the OP, and the next post addresses it very well.]

I'm suggesting nesting the clips in a timeline so that you can crop the timeline for all 10 talking heads in one shot. If you get stabilization working, the image is shifted around exposing the edges of the original clip. You usually want to hide this by either cropping, or by scaling the original image up. In your case, it seems cropping makes sense. So if you cropped all of the talking heads to the center 1/3 of the stabilized image it could work in one shot.
Last edited by wfolta on Tue Dec 29, 2020 2:55 pm, edited 1 time in total.
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline

Sander de Regt

  • Posts: 3948
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 2:27 pm

The part I don't understand is the bobbing around of the background. Isn't that to be expected if you're changing the position of the head? i.e. you're keeping one thing in place - by stabilizing - then the BG will overcompensate for that, depending on whether or not the optic center of the lens was over the center of the tripod.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostTue Dec 29, 2020 3:52 pm

How exactly did you stabilize your footage?

The symptoms you describe sound a lot like you used a Planar Tracker on the face. This would definitely move the whole world around as they moved their head while talking. Basically, camera stabilization should look pretty much like what you're going to do by hand, unless there's something strange about the footage.
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostWed Dec 30, 2020 4:14 am

The symptoms you describe sound a lot like you used a Planar Tracker on the face.

Yes you are right. I used fusion planar tracking, which stabilized one part of the image, in this case the subject's head. The way I tried it held the head steady and let everything else move.

As in this example (go to 4:48), which I followed in my attempt.


For stabilization, I set it to translation (x,y axis since there was only movement on the x), with and without camera lock. Again I'm pretty new to DR so I don't know why it didn't work. No change resulted. (I double checked with uncropped/zoomed original clip and the pan is not corrected by stabilization\translation).

When the camera inadvertently pans, the subject only moves about 6 inches to one side, which crops half of his left shoulder. Its very obvious in the clip since the crop window is tight around the subject.

Feeling that transform (zoom and position) and cropping (all sides plus softness) are interfering somehow.
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostWed Dec 30, 2020 1:11 pm

NickMDal wrote:
The symptoms you describe sound a lot like you used a Planar Tracker on the face.

Yes you are right. I used fusion planar tracking, which stabilized one part of the image, in this case the subject's head. The way I tried it held the head steady and let everything else move.

You got the results you asked Fusion to give you. As the head moves, the Planar Tracker will warp the rest of the world around the head, which is totally unnatural. Locking down a person's face when they talk is about as natural as someone talking with their chin on a table so that their head moves up and down rather than their jaw. This isn't the tool we're talking about when we say "Stabilize".

Use the Stabilize function in Edit/Cut/Color. You want to stabilize the overall image (the camera), not just the face. A full-frame Stabilize will detect camera motion versus subject motion and will stabilize appropriately.
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline

Jim Simon

  • Posts: 34455
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Correct a subject drifting out of an overlay window

PostWed Dec 30, 2020 3:54 pm

This job would have been done in maybe an hour with manual Position keyframes.

Something to consider. ;)
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

wfolta

  • Posts: 632
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Correct a subject drifting out of an overlay window

PostWed Dec 30, 2020 5:01 pm

Jim Simon wrote:This job would have been done in maybe an hour with manual Position keyframes.


In a prior career, I was a software developer. We are notorious for taking a couple of days to develop and debug a program to accomplish what could've been done manually in three hours. Sometimes, it's the journey, not the destination! ;-)
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostWed Dec 30, 2020 10:55 pm

Sometimes, it's the journey, not the destination!

I was thinking too that this would have long been done with keyframes. But DR's endless features are so enticing!

Tried stabilization again and it does not solve the problem. The pan seems to not be enough to trigger the function. Tried all modes with and without camera lock and zoom.

Smart reframe doesn't seem right. I can't seem to duplicate the position of the crop box. It does prevent some (not all) lateral movement, but that is moot. It also seems to only apply the timeline resolution to all clips, which does not work for my vid.

Last possibility is a matte composite but I don't see why it alone would successfully stabilize. Guess I'm back to keyframes. :lol:
Last edited by NickMDal on Thu Dec 31, 2020 2:12 am, edited 1 time in total.
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

Peter Cave

  • Posts: 4306
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Correct a subject drifting out of an overlay window

PostThu Dec 31, 2020 1:05 am

wfolta wrote:
Jim Simon wrote:This job would have been done in maybe an hour with manual Position keyframes.


In a prior career, I was a software developer. We are notorious for taking a couple of days to develop and debug a program to accomplish what could've been done manually in three hours. Sometimes, it's the journey, not the destination! ;-)


When I have a deadline or a client breathing down my neck, I care not about the journey!!!
Resolve 19.1.2 Mac OSX 15.3 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline
User avatar

NickMDal

  • Posts: 234
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: Correct a subject drifting out of an overlay window

PostThu Dec 31, 2020 2:15 am

When I have a deadline or a client breathing down my neck, I care not about the journey!!!

Now that I get! Casually exploring new features is for the non-professionals.
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel

Return to DaVinci Resolve

Who is online

Users browsing this forum: AndreN, Majestic-12 [Bot], Yahoo [Bot] and 288 guests