Retime Process: Optical Flow is slowing down render times.

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

kuyagee

  • Posts: 9
  • Joined: Tue Sep 08, 2020 2:36 pm
  • Real Name: Greg Philips

Retime Process: Optical Flow is slowing down render times.

PostFri Mar 05, 2021 6:20 am

For the life of me I couldn't figure out why some of my newer projects were rendering at 20-24 FPS when previous projects would average above 100 FPS. I thought it was the codecs or the files that were submitted to me, or the version of Resolve, I was jumping between different versions of 16 before installing 17.

It turns out that it was the project settings, namely the Retime Process (Frame Interpolation). The older projects were set to Nearest, whereas my recent projects had the template set to Optical Flow.

Not sure if this is a bug but when I have it set to Optical Flow, render times are basically set to the frame rate of the project (24FPS). If I change the setting to nearest, it fully utilizes the CPU.

Any idea why this is the case or is this a common issue?

PC Specs:

Ryzen 9 3900X / Radeon VII / WD Black 750 / 32 GB RAM
Ryzen 3900X
Radeon VII
32 GB RAM
Win 10 - 1809
Offline

Hendrik Proosa

  • Posts: 3401
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: Retime Process: Optical Flow is slowing down render time

PostFri Mar 05, 2021 6:26 am

Optical flow based retime is very processing intensive. Nearest frame just grabs, as name suggests, nearest frame, so has no impact whatsoever.
I do stuff
Offline
User avatar

Uli Plank

  • Posts: 25497
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Retime Process: Optical Flow is slowing down render time

PostFri Mar 05, 2021 1:20 pm

And if you want to see something really slow, but in most cases excellent, try SpeedWarp ;-)
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline

kuyagee

  • Posts: 9
  • Joined: Tue Sep 08, 2020 2:36 pm
  • Real Name: Greg Philips

Re: Retime Process: Optical Flow is slowing down render time

PostFri Mar 05, 2021 3:49 pm

Hendrik Proosa wrote:Optical flow based retime is very processing intensive. Nearest frame just grabs, as name suggests, nearest frame, so has no impact whatsoever.


Is there a way to get it to render faster if I ever need to use Optical flow? Would using the render cache or optimized media speed things up?
Ryzen 3900X
Radeon VII
32 GB RAM
Win 10 - 1809
Offline
User avatar

waltervolpatto

  • Posts: 11331
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: Pictureshop 6040 Sunset Blvd, Hollywood, CA 90028

Re: Retime Process: Optical Flow is slowing down render time

PostFri Mar 05, 2021 4:12 pm

kuyagee wrote:
Hendrik Proosa wrote:Optical flow based retime is very processing intensive. Nearest frame just grabs, as name suggests, nearest frame, so has no impact whatsoever.


Is there a way to get it to render faster if I ever need to use Optical flow? Would using the render cache or optimized media speed things up?


progressively render to a good cache while you're working and then "render form cahe"

or

right click to the clip you need to do Oflow, [render in place] it will create new media and from that point on you're good. (v17 only)
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled - 12x8TB SSD RAID5 internal (80TB)
PSU RM1200x SHIFT 80 PLUS - Decklink Studio 4K (12.4.1)
Resolve 20.0.0 / fusion studio 19
GPU 3090ti drivers 576.80
Offline
User avatar

Mel Matsuoka

  • Posts: 1438
  • Joined: Wed Aug 22, 2012 9:54 am
  • Location: Buffalo, NY

Re: Retime Process: Optical Flow is slowing down render time

PostSat Mar 06, 2021 3:54 am

waltervolpatto wrote:
progressively render to a good cache while you're working and then "render form cahe"


Be very careful when using cached renders with retimed clips, and you are using a "roundtrip" rendering workflow (at least to Premiere). If you enable use render-cache for your roundtrip renders, those clips will be rendered with incorrectly retimed frames baked into the roundtrip renders (in a roundtrip workflow, retimes should not be baked into the renders at all!)
Last edited by Mel Matsuoka on Sat Mar 06, 2021 6:26 pm, edited 2 times in total.
Blog: https://PostProductive.tv
YouTube: https://www.youtube.com/@postproductive
Offline
User avatar

waltervolpatto

  • Posts: 11331
  • Joined: Thu Feb 07, 2013 5:07 pm
  • Location: Pictureshop 6040 Sunset Blvd, Hollywood, CA 90028

Re: Retime Process: Optical Flow is slowing down render time

PostSat Mar 06, 2021 4:07 am

Mel Matsuoka wrote:
waltervolpatto wrote:
progressively render to a good cache while you're working and then "render form cahe"


Be very careful when using cached renders with retimed clips, and you are using a "roundtrip" rendering workflow (at least to Premiere). If you enable use render-cache for your roundtrip renders, those clips will be rendered with incorrectly repeated (or dropped) frames

See: viewtopic.php?f=21&t=130139


Apologies: i don’t do round-trips so I’m not aware of this issue.
W10-19043.1645- Supermicro MB C9X299-PGF - RAM 128GB CPU i9-10980XE 16c 4.3GHz (Oc) Water cooled - 12x8TB SSD RAID5 internal (80TB)
PSU RM1200x SHIFT 80 PLUS - Decklink Studio 4K (12.4.1)
Resolve 20.0.0 / fusion studio 19
GPU 3090ti drivers 576.80

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Christoph Schmid, juanborras, panos_mts and 374 guests