Scripting. Feature Request:Add all Render Settings

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

simonstar66

  • Posts: 2
  • Joined: Tue Apr 15, 2014 11:06 am

Scripting. Feature Request:Add all Render Settings

PostWed May 28, 2025 3:58 pm

Hi Everyone

We are a small post shop and rendering large batches of deliverables is rather cumbersome with Davinci Resolve.

I started coding an automated deliveries system, which would present a simple web interface where users could select different versions of a deliverable like resolution, color space, audio versions, subtitles, logos, etc. and render it all in a batch.

But very soon I hit a hard limit.

Subtitle settings and output audio track settings are not accessible over scripting.

Code: Select all
This section covers the supported settings for the method SetRenderSettings({settings})

The parameter setting is a dictionary containing the following keys:
    - "SelectAllFrames": Bool (when set True, the settings MarkIn and MarkOut are ignored)
    - "MarkIn": int
    - "MarkOut": int
    - "TargetDir": string
    - "CustomName": string
    - "UniqueFilenameStyle": 0 - Prefix, 1 - Suffix.
    - "ExportVideo": Bool
    - "ExportAudio": Bool
    - "FormatWidth": int
    - "FormatHeight": int
    - "FrameRate": float (examples: 23.976, 24)
    - "PixelAspectRatio": string (for SD resolution: "16_9" or "4_3") (other resolutions: "square" or "cinemascope")
    - "VideoQuality" possible values for current codec (if applicable):
    -    0 (int) - will set quality to automatic
    -    [1 -> MAX] (int) - will set input bit rate
    -    ["Least", "Low", "Medium", "High", "Best"] (String) - will set input quality level
    - "AudioCodec": string (example: "aac")
    - "AudioBitDepth": int
    - "AudioSampleRate": int
    - "ColorSpaceTag" : string (example: "Same as Project", "AstroDesign")
    - "GammaTag" : string (example: "Same as Project", "ACEScct")
    - "ExportAlpha": Bool
    - "EncodingProfile": string (example: "Main10"). Can only be set for H.264 and H.265.
    - "MultiPassEncode": Bool. Can only be set for H.264.
    - "AlphaMode": 0 - Premultiplied, 1 - Straight. Can only be set if "ExportAlpha" is true.
    - "NetworkOptimization": Bool. Only supported by QuickTime and MP4 formats.
    - "ClipStartFrame": int
    - "TimelineStartTimecode": string (example: "01:00:00:00")
    - "ReplaceExistingFilesInPlace": Bool


Would it be possible to include audio 'Output Track' and 'Export Subtitle' as well as subtitles 'Format' in the scripting API?

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], SampoManninen and 304 guests