/mas-video-lab:davinci-resolvefrom mas-video-lab
Automates DaVinci Resolve media management, timeline assembly, Fusion compositing, and render job configuration via its Python/Lua scripting API. Useful for batch ingest, render queue automation, and color-managed deliverables.
Ships in mas-video-lab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
DaVinci Resolve Studio (pin e.g. 19.x / 20.x / 21.x) unifies Edit, Color, Fusion, Fairlight, Deliver. Pipeline automation uses DaVinciResolveScript (Python/Lua), optional fuscript.exe, and Deliver render queue APIs. Color: YRGB 32-bit, ACES / DWG, timeline Color Management settings drive all outputs.
License gate (critical): From Resolve 19.1+, external scripting (scriptapp("Resolve") from a separate Python process) is Studio-only. Free edition: Console/Workspace scripts only — plan automation accordingly (community reports, BMD docs). AI features may require Extras downloads before API calls succeed.
┌─────────────────────────────────────────────────────────────┐
│ PYTHONPATH → DaVinciResolveScript → Project / MediaPool │
│ Deliver: SetCurrentRenderFormatAndCodec + AddRenderJob │
│ Headless: Resolve -nogui (API still available) │
│ Color: project color science + CST nodes → export tags │
└─────────────────────────────────────────────────────────────┘
Use when: batch ingest, timeline assembly, render queue, metadata, Fusion comp batch, OTIO/XML interchange (file-based, not always scripting).
Do not use when: Studio license unavailable and external Python is required; expect Free + external process to fail silently.
RESOLVE_SCRIPT_API, RESOLVE_SCRIPT_LIB (path to fusionscript.dll), PYTHONPATH → ...\Developer\Scripting\Modules.resolve.GetProductName() / license APIs indicate Free when external automation is required.SetRenderSettings (TargetDir, CustomName, SelectAllFrames, ExportVideo, ExportAudio) → AddRenderJob() → StartRendering(); poll IsRenderingInProgress().ExportCurrentFrameAsStill or Deliver with single-frame range; disable noise reduction variance for regression where possible.import os, sys
def get_resolve():
if sys.platform.startswith("win"):
api = os.environ.get("RESOLVE_SCRIPT_API") or os.path.expandvars(
r"%PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting"
)
sys.path.append(os.path.join(api, "Modules"))
import DaVinciResolveScript as bmd
resolve = bmd.scriptapp("Resolve")
if not resolve:
raise RuntimeError("Resolve not running or external scripting unavailable (Studio required)")
return resolve
def queue_mp4(project, timeline, out_dir, name):
project.SetCurrentTimeline(timeline)
project.LoadRenderPreset("H.264 Master") # or SetCurrentRenderFormatAndCodec
project.SetRenderSettings({
"TargetDir": out_dir,
"CustomName": name,
"ExportVideo": True,
"ExportAudio": True,
})
project.AddRenderJob()
project.StartRendering()
while project.IsRenderingInProgress():
pass
if project.GetRenderJobStatus(0).get("JobStatus") != "Complete":
raise RuntimeError("Render failed: " + str(project.GetRenderJobStatus(0)))
# resolve = get_resolve()
# pm = resolve.GetProjectManager()
# project = pm.LoadProject("MyProject")
# timeline = project.GetTimelineByIndex(1)
# queue_mp4(project, timeline, r"C:\Exports", "master")
| Symptom | Cause | Fix |
|---|---|---|
ImportError: DaVinciResolveScript | PYTHONPATH | Set env vars; use Resolve-bundled Python |
| External script no connect | Free edition / 19.1+ gate | Studio license |
| API returns False | Studio-only function on Free | Guard feature matrix |
| GPU memory full | TNR / Fusion | Proxies, cache, lower radius |
| H.264 dull/wrong | Display-referred vs scene-referred | CST + correct output gamma |
| HEVC edit stutter | Long-GOP | Proxy media (DNxHR LB / ProRes Proxy) |
Headless: Resolve.exe -nogui — scripting APIs documented as available without UI (Scripting API wiki).
MANDATORY: Confirm Studio + external scripting before building separate-process agents. Set PYTHONPATH every run. Align timeline color science with Deliver codec. Poll render job status; never assume
StartRenderingsuccess without status check.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alivirgo/major-ai-skills --plugin mas-video-lab7 skills in this plugin
/adobe-after-effectsScaffold After Effects comps and expression rigs, queue Render Queue / AME jobs, and export Essential Graphics (.mogrt) with ExtendScript-safe patterns./adobe-premiere-proAutomate Premiere Pro sequences and markers via UXP/ExtendScript, exchange FCPXML/AAF/EDL, and queue Adobe Media Encoder jobs without baking secrets into projects./ffmpegTranscode and compress video with FFmpeg, inspect streams with ffprobe, build filtergraphs and HLS outputs, and diagnose codec or hardware-encoder failures.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Oct 7, 2026