Skip to content

Instantly share code, notes, and snippets.

@naixx
Created June 29, 2025 05:21
Show Gist options
  • Save naixx/1e332a09c8250713fb623115b62f4d83 to your computer and use it in GitHub Desktop.
Save naixx/1e332a09c8250713fb623115b62f4d83 to your computer and use it in GitHub Desktop.
Davinci Resolve Export individual clips with original names

🎬 Export Individual Timeline Clips preserving names β€” DaVinci Resolve Script

This script automatically adds render jobs for each individual clip on video track 1 of the current timeline, preserving the original clip names. It includes video, audio, subtitles etc, and you can configure output settings as needed.

πŸ“ How to Use

Enable scripting in Resolve:

  • Preferences > System > General > Enable scripting

Save the script to:

%AppData%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts\Utility\

Run the script inside Resolve:

  • Workspace > Scripts > Utility > ExportNamedClips.py

All jobs will be added to the Render Queue.

βœ… What It Does

  • Loops through all clips on video track 1
  • Adds a render job per clip using its start/end frames
  • Retains each clip’s original name as output filename
resolve = bmd.scriptapp("Resolve")
if not resolve:
print("Resolve not available")
exit()
project = resolve.GetProjectManager().GetCurrentProject()
timeline = project.GetCurrentTimeline()
if not timeline:
print("No timeline loaded.")
exit()
clips = timeline.GetItemListInTrack("video", 1)
for clip in clips:
name = clip.GetName()
start = clip.GetStart()
end = clip.GetEnd() - 1
settings = {
"MarkIn": start,
"MarkOut": end,
"SelectAllFrames": False,
"CustomName": name,
"ExportVideo": True,
"ExportAudio": True,
}
project.SetRenderSettings(settings)
project.AddRenderJob()
print("Jobs added.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment