Render Results Log

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

jasonvp

  • Posts: 76
  • Joined: Fri Oct 25, 2019 7:53 pm
  • Location: Northern VA
  • Real Name: Jason Van Patten

Render Results Log

PostMon Oct 25, 2021 11:47 pm

Is there a log file kept of render results? Specifically I'm trying to find how long the render (the export, technically) took without running a stopwatch to do so. Is that available in the UI, or buried in a log somewhere?

Thanks.
System: Mac Pro (2019)
CPU: 3.2GHz 16-core Xeon
GPU: AMD Radeon Pro Vega II
RAM: 96GB
Storage: 1TB sys drive, 8TB NVMe RAID01, 4TB SSD RAID0
Offline
User avatar

roger.magnusson

  • Posts: 3388
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Render Results Log

PostTue Oct 26, 2021 12:33 am

You can see it in the Render Queue, on the right side of the Deliver page in the header of each completed render job.

If you want a list you can copy and paste, paste this code into the Console (Workspace > Console) and press enter:
Code: Select all
local path_separator = package.config:sub(1, 1)
local project = assert(resolve:GetProjectManager():GetCurrentProject(), "Couldn't get current project")

function get_timespan_display(timespan_in_seconds)
   local k = 1
   local days = math.floor(timespan_in_seconds / 86400 / k)
   local hours = math.floor(math.fmod(timespan_in_seconds / k, 86400) / 3600)
   local minutes = math.floor(math.fmod(timespan_in_seconds / k, 3600) / 60)
   local seconds = math.floor(math.fmod(timespan_in_seconds / k, 60))
   local milliseconds = 1000 * math.fmod(timespan_in_seconds / k, 1)

   if (days > 0) then
      return string.format("%02d:%02d:%02d:%02d.%03d", days, hours, minutes, seconds, milliseconds)
   else
      return string.format("%02d:%02d:%02d.%03d", hours, minutes, seconds, milliseconds)
   end
end

for _, render_job in ipairs(assert(project:GetRenderJobList(), "No render jobs found for current project")) do
    local render_job_status = project:GetRenderJobStatus(render_job.JobId)

    if (render_job_status and render_job_status.JobStatus == "Complete" and render_job_status.TimeTakenToRenderInMs ~= nil) then
       print(render_job.TargetDir..path_separator..render_job.OutputFilename)
       print(string.format("Completed in %s", get_timespan_display(render_job_status.TimeTakenToRenderInMs / 1000.0, false)))
       print(string.format("%.2f fps\n", 1000.0 * (render_job.MarkOut + 1 - render_job.MarkIn) / render_job_status.TimeTakenToRenderInMs))
    end
end
Offline
User avatar

jasonvp

  • Posts: 76
  • Joined: Fri Oct 25, 2019 7:53 pm
  • Location: Northern VA
  • Real Name: Jason Van Patten

Re: Render Results Log

PostTue Oct 26, 2021 11:40 am

roger.magnusson wrote:You can see it in the Render Queue, on the right side of the Deliver page in the header of each completed render job.


I swear I kept staring at that section of the Render Queue and never saw it. I tried again after reading your post and sunnuva... there it is. Duh.

Thanks.
System: Mac Pro (2019)
CPU: 3.2GHz 16-core Xeon
GPU: AMD Radeon Pro Vega II
RAM: 96GB
Storage: 1TB sys drive, 8TB NVMe RAID01, 4TB SSD RAID0

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Omar Mohammad, Uli Plank and 108 guests