Loading...
Loading...
Practical DaVinci Resolve Studio scripting knowledge for building edits from code - timelines from a template, frame-exact appends, zoom, grades, custom frame sizes, subtitles, renders, and the traps that silently fail or crash Resolve 21. Use when writing or debugging any script that talks to Resolve.
npx skill4agent add appariciojunior/video-editor-skills resolve-scriptingDuplicateTimeline(name)useCustomSettings=1timelineFrameRatetimelinePlaybackFrameRatetimelineResolutionWidth/HeightscaleToCropscaleToFitAppendToTimelineendFrameseconds = ((h*3600+m*60+s)*round(fps) + f) / fpsitem.SetProperty("ZoomX", z)"ZoomY"Timeline.ApplyGradeFromDRXitem.GetNodeGraph().ApplyGradeFromDRX(path, 0)SetClipColor("Green")Timeline.NormalizeAudioLevel(items, {normalizationMode, targetLevel, targetLoudness, setLevelMode})resolve.NORMALIZE_AUDIO_SET_LEVEL_INDEPENDENTvoice-and-audioAudioVolumeSetVoiceIsolationState({"isEnabled": True, "amount": 50})SetCurrentRenderFormatAndCodec("mov", "ProRes422LT")SetRenderSettings({SelectAllFrames: False, MarkIn, MarkOut, TargetDir, CustomName, ExportVideo: False, ExportAudio: True, AudioCodec: "lpcm"})AddRenderJob()StartRendering([job], False)GetRenderJobStatus(job)IsRenderingInProgress()AddRenderJobSetTrackEnableOpenPage("edit")Timeline.Export(path, EXPORT_DRT)MediaPool.AppendToTimeline-v2