Page 1 of 1

Resolve as command-line grading tool?

PostPosted: Tue Jun 07, 2016 9:00 pm
by Jacek Plebanek
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.

Re: Resolve as command-line grading tool?

PostPosted: Wed Jun 08, 2016 5:30 am
by Blake LaFarm
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.

Re: Resolve as command-line grading tool?

PostPosted: Wed Jun 08, 2016 3:50 pm
by JPOwens
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

Re: Resolve as command-line grading tool?

PostPosted: Wed Jun 08, 2016 4:41 pm
by Jean Claude
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 (?)

Re: Resolve as command-line grading tool?

PostPosted: Thu Jun 09, 2016 3:32 am
by Marc Wielage
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.

Re: Resolve as command-line grading tool?

PostPosted: Fri Jun 10, 2016 7:35 am
by Jacek Plebanek
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.

Re: Resolve as command-line grading tool?

PostPosted: Fri Jun 10, 2016 8:11 am
by Tero Ahlfors
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.

Re: Resolve as command-line grading tool?

PostPosted: Fri Jun 10, 2016 10:01 am
by Stefan Gofferje
Actually, at least the things you mentioned can be done with melt :).

Re: Resolve as command-line grading tool?

PostPosted: Fri Jun 10, 2016 10:46 am
by Andrew Kolakowski
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.

Re: Resolve as command-line grading tool?

PostPosted: Fri Sep 14, 2018 8:08 am
by Stephen Dixon
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.

Re: Resolve as command-line grading tool?

PostPosted: Fri Sep 14, 2018 10:15 am
by Martin Schitter
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.