Forcing motion interpolation

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

Zack_W

  • Posts: 118
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Forcing motion interpolation

PostWed Mar 31, 2021 7:44 pm

I am editing 1080p 29.97 footage using Resolve 17.1, and have a few shots that were inadvertently shot with a 1/25th second shutter speed. Because the shutter speed was slower than the frame rate, the resulting footage contains only 15 discrete frames per second, with each frame duplicated (thereby creating 30fps). This leads to a noticeable stutter on moving footage.

I believe I could reduce this stutter if I could make Resolve interpolate the alternate frames instead of simply using the duplicates created by the camera. However, I'm having trouble doing this. In Project Settings>Master Settings I've set "Frame Interpolation" to "Optical Flow." I've then changed the clip speed to 50%, which eliminates all the duplicate frames. But when I then set the clip speed back to 100%, Resolve simply puts back the duplicate frames, rather than creating new interpolated frames. (If I set the clip speed to something other than 100% - say, 80% - I do get interpolated frames.) Is there any way I can force resolve to interpolate frames in this situation when I double the speed of a clip?

Thanks in advance for any help!

Resolve 17.1 running on an M1 Mac Mini with Big Sur. Not sure if this makes any difference, but all of my material was shot interlaced. It was deinterlaced using QTGMC/Vapoursynth/Hybrid. I don't believe the duplicate frames on these shots are related to the deinterlacing process, since the duplicates are present when I view the original interlaced footage as well.
Offline
User avatar

Sean Nelson

  • Posts: 892
  • Joined: Sun Feb 07, 2021 9:48 pm
  • Location: Vancouver, Canada
  • Real Name: Sean Nelson

Re: Forcing motion interpolation

PostWed Mar 31, 2021 8:18 pm

Actually, you want to set the clip speed to 200% to eliminate the duplicate frames.

The way I'd do this, which may not be the best way, would be to export the 200%-speed clip to an intermediate, then import it and set the clip speed to 50% with Retime Process set to "Optical Flow" and Motion Estimation set to "Speed Warp".

"Speed Warp" may require the Studio version. Also note that clips with a lot of motion blur tend to be harder to interpolate.
DR Studio 19.1.4 Build 11, Win10Pro x64 22H2/19045.5608
Asus C246 Pro Motherboard, Xeon E-2278G@3.4GHz, 64GB ECC RAM
GeForce 3060 12GB, "Studio" driver 560.81
OS,Library: 1TB NVMe SSD - Project,Cache: 1TB NVMe SSD
Offline

Peter Cave

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

Re: Forcing motion interpolation

PostThu Apr 01, 2021 4:07 am

I would also try Sean's method.
Resolve 20.0 Mac OSX 15.5 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

Zack_W

  • Posts: 118
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: Forcing motion interpolation

PostThu Apr 01, 2021 5:20 pm

Whoops! Yes, I meant to write set the clip speed to *200%* to eliminate the duplicate frames, not 50%. Sorry, wasn't thinking clearly.

Sean, thanks for suggesting that I export and then reimport the retimed clip before retiming it by 50% to return to 29.97 fps. This did in fact create properly interpolated frames, and the result is a lot smoother (much less stutter) than the original. So you solved my problem!

As you indicated, "Speed Warp" does require the Studio version, and I'm on the free version. I used "Enhanced Better" and the results were quite good. The main problem is a lack of sharpness, which I think this is due to motion blur in the original due to the slow shutter speed - it's just more obvious now that the stutter doesn't distract from it. Do you know what improvements I should expect to see if I upgraded to the Studio version and used Speed Warp?
Offline
User avatar

Sean Nelson

  • Posts: 892
  • Joined: Sun Feb 07, 2021 9:48 pm
  • Location: Vancouver, Canada
  • Real Name: Sean Nelson

Re: Forcing motion interpolation

PostThu Apr 01, 2021 8:48 pm

Zack_W wrote:Do you know what improvements I should expect to see if I upgraded to the Studio version and used Speed Warp?

"Enhanced Better" often works very well, but my experience from back in version 16 before I got the Studio version is that with certain kinds of repeating patterns you can get very weird results. You'll definitely know them when you see them. If it's an issue, "Speed Warp" will likely solve it - I haven't really seen anything so far that it hasn't handled reasonably well.
DR Studio 19.1.4 Build 11, Win10Pro x64 22H2/19045.5608
Asus C246 Pro Motherboard, Xeon E-2278G@3.4GHz, 64GB ECC RAM
GeForce 3060 12GB, "Studio" driver 560.81
OS,Library: 1TB NVMe SSD - Project,Cache: 1TB NVMe SSD
Offline

Zack_W

  • Posts: 118
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: Forcing motion interpolation

PostFri Apr 02, 2021 8:56 pm

Thanks Sean! What sort of "weird results" should I be keeping an eye out for? Odd motion stutters? Moire or other artifacts?
Offline
User avatar

Sean Nelson

  • Posts: 892
  • Joined: Sun Feb 07, 2021 9:48 pm
  • Location: Vancouver, Canada
  • Real Name: Sean Nelson

Re: Forcing motion interpolation

PostFri Apr 02, 2021 10:45 pm

Zack_W wrote:Thanks Sean! What sort of "weird results" should I be keeping an eye out for? Odd motion stutters? Moire or other artifacts?

I had a scene with horizontal wooden slats. The camera was doing a handheld pedestal move so the slats were moving vertically down the frame. I wanted to slow it down to half speed, partly for timing issues and partly as a way to make the uneven movement a little less obvious. What happened was that the image got broken up into big pieces, almost like a jigsaw puzzle, that were not exactly aligned with each other. I've attached a screenshot that shows what it looks like. The biggest issue is that these artifacts appear for a frame or two and then disappear, which makes them really distracting.

With "Speed Warp" it looks flawless.
Attachments
Optical-Flow-Enhanced-Better.jpg
Artifacts produced by retiming to 50% with Optical Flow and "Enhanced Better"
Optical-Flow-Enhanced-Better.jpg (70.65 KiB) Viewed 2889 times
DR Studio 19.1.4 Build 11, Win10Pro x64 22H2/19045.5608
Asus C246 Pro Motherboard, Xeon E-2278G@3.4GHz, 64GB ECC RAM
GeForce 3060 12GB, "Studio" driver 560.81
OS,Library: 1TB NVMe SSD - Project,Cache: 1TB NVMe SSD
Offline

Zack_W

  • Posts: 118
  • Joined: Sat Jun 27, 2020 9:38 pm
  • Real Name: Zack Wilson

Re: Forcing motion interpolation

PostSat Apr 03, 2021 8:39 pm

Sean, thanks again for the detailed reply and for taking the time to post the image. This really helps me understand what sort of artifacts to be watching out for. So far so good, I haven't been seeing any such issues with the footage I'm working with using "Better Enhanced."

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], DerDudeMitDemHut, mnjjacobs, panos_mts and 310 guests