Resolve as command-line grading tool?

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

Jacek Plebanek

  • Posts: 3
  • Joined: Tue Sep 10, 2013 1:58 pm

Resolve as command-line grading tool?

PostTue Jun 07, 2016 9:00 pm

Is there a way to use Resolve (Lite?) as command-line grading tool for automatic clips correction? - do some predefined tasks (for example increase gamma by 10%, lower saturation by 20%...) by running one command-line script (not opening GUI).

I thought I have heard something about that, but now I can't find any info on that subject.
Offline

Blake LaFarm

  • Posts: 224
  • Joined: Fri Dec 13, 2013 8:48 am

Re: Resolve as command-line grading tool?

PostWed Jun 08, 2016 5:30 am

Not a grading tool and not command line but Telestream Episode can do this with drag and drop files -- or a watch folder. Good codec support too.
HP Z840 | Dual 10-Core Xeon 2.3 GHz | Dual TITAN Xp | 64 GB RAM | Media: PCIe SSD 2.5 GB/s
DeckLink 4K Ext 12G | Pocket UltraScope | Avid Artist Color | CalMAN Studio/C6-HDR
Resolve Studio 15.0.0B.043 | Fusion Studio 9.0.2 | DTV 10.9.12 | Win10 Pro 1803
Offline
User avatar

JPOwens

  • Posts: 1511
  • Joined: Fri Apr 12, 2013 8:04 pm
  • Location: Victoria, British Columbia, Canada

Re: Resolve as command-line grading tool?

PostWed Jun 08, 2016 3:50 pm

Jacek wrote:grading tool for automatic clips correction


There is also a "Timeline" option that allows an overall output adjustment that will be applied to everything in the sequence. This can be used to apply output LUTs or respond to the "can you trim the contrast a little bit on the whole show with one adjustment?" request.

Optionally, groups of clips can be selected for uniform treatment, on a pre-/clip/post-clip basis.

jPo, CSI
Offline
User avatar

Jean Claude

  • Posts: 2973
  • Joined: Sun Jun 28, 2015 4:41 pm
  • Location: France

Re: Resolve as command-line grading tool?

PostWed Jun 08, 2016 4:41 pm

I think with fusion scripting would be more suitable but I absolutely do not know what software (I began studying), surely someone more cautions tell you more.

Or discover DaVinci Color Transform Language (DCTL) but I do not know if this is possible with the LITE Version (?)
"Saying it is good, but doing it is better! "
Win10-1809 | Resolve Studio V16.1 | Fusion Studio V16.1 | Decklink 4K Extreme 6G | RTX 2080Ti 431.86 NSD driver! |
Offline
User avatar

Marc Wielage

  • Posts: 13296
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Palm Springs, California

Re: Resolve as command-line grading tool?

PostThu Jun 09, 2016 3:32 am

Jacek wrote:Is there a way to use Resolve (Lite?) as command-line grading tool for automatic clips correction?

What exactly are you trying to do? If you give us more background and what the ultimate goal is, we might be able to give you some suggestions.
Certified DaVinci Resolve Color Trainer • AdvancedColorTraining.com
Offline

Jacek Plebanek

  • Posts: 3
  • Joined: Tue Sep 10, 2013 1:58 pm

Re: Resolve as command-line grading tool?

PostFri Jun 10, 2016 7:35 am

Marc Wielage wrote:What exactly are you trying to do? If you give us more background and what the ultimate goal is, we might be able to give you some suggestions.


I'm a programmer. Part of my application is responsible for video editing. Now I'm pre-preparing (grading) video fragments and then in my application using 'melt' command-line util to do some final editing/merging (run predefined shell scripts).

It would be nice to be able to do some things in the same way in Resolve (by command-line or programming API), so I could move more work to automatic scripts.

It seemed to me, that I have heard about something similar in latest Resolve software, but it now looks like I'm probably wrong.
Offline

Tero Ahlfors

  • Posts: 643
  • Joined: Fri Apr 03, 2015 3:02 pm

Re: Resolve as command-line grading tool?

PostFri Jun 10, 2016 8:11 am

How would you know how much correction a piece of footage would need if you would just slap some command line command on it? If the footage needs some camera specific LUT then there are probably some FFMPEG or other tools for batch applying LUTs/gamma/color space conversions.
Offline
User avatar

Stefan Gofferje

  • Posts: 177
  • Joined: Sun Aug 16, 2015 6:18 pm
  • Location: Finland

Re: Resolve as command-line grading tool?

PostFri Jun 10, 2016 10:01 am

Actually, at least the things you mentioned can be done with melt :).
Documentary and wildlife guy, mostly Linux user
DR12.5, Win10, Core I7-4770K@3.5GHz, 32GB RAM, GTX 1070
Canon 6D, Canon 7D
Offline

Andrew Kolakowski

  • Posts: 9535
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: Resolve as command-line grading tool?

PostFri Jun 10, 2016 10:46 am

Jacek wrote:
Marc Wielage wrote:What exactly are you trying to do? If you give us more background and what the ultimate goal is, we might be able to give you some suggestions.


I'm a programmer. Part of my application is responsible for video editing. Now I'm pre-preparing (grading) video fragments and then in my application using 'melt' command-line util to do some final editing/merging (run predefined shell scripts).

It would be nice to be able to do some things in the same way in Resolve (by command-line or programming API), so I could move more work to automatic scripts.

It seemed to me, that I have heard about something similar in latest Resolve software, but it now looks like I'm probably wrong.


You may have way more luck with Assimilate Scratch when it comes to cmd line.
Offline
User avatar

Stephen Dixon

  • Posts: 144
  • Joined: Tue Jul 16, 2013 3:04 am

Re: Resolve as command-line grading tool?

PostFri Sep 14, 2018 8:08 am

You can apply LUTs with ffmpeg, which IS a command line app.

After Effects can run on the command line, pretty much every 3D application out there has a command line renderer, it's not an edge case to want to be able to automate this kind of thing. I found this question because I want to line up two separate projects to render over the weekend, and to send me an email and shut down my computer after it's done. Sort of thing I do all the time with After Effects, ffmpeg, Blender and Lightwave.

A command line version of resolve would be great for situations like this. Another use: doing a bunch of grades on different projects by day and having them render by night.
Offline

Martin Schitter

  • Posts: 899
  • Joined: Tue Apr 28, 2015 10:41 pm

Re: Resolve as command-line grading tool?

PostFri Sep 14, 2018 10:15 am

Stefan Gofferje wrote:Actually, at least the things you mentioned can be done with melt :).


melt resp. MLT and most other free video solutions utilize internally only 8bit processing pipelines, which aren't suitable for more demanding tasks.

the only free solution, which handles this kind of desire in a much more satisfaying manner (i.e. internal processing in 32bit float, just like resolve) is natron, which also supports a headless execution of prepared patches from the comandline.

see: https://natron.readthedocs.io/en/master ... ution.html

it also supports all the elementary OpenColorIO features to handle color related operations (e.g. LUT processing) in an adequate manner and has supports all FFmpeg file formats and few more advanced image sequence formats for high end productions.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Dustin Bowser, Greg Agiannidis, Mads Johansen, PastMyPrime, Pepsina, ShutterlabCreative, Wouter Bouwens and 304 guests