otio-kit · file-based editing engine

Timeline files are the automation surface Resolve Free didn't lose.

DaVinci Resolve 21.1 moved Python scripting to Studio. The Scripts menu loads nothing, the external socket refuses connections, and the console that remains is a sandboxed Lua REPL. What still works on Free is file import — and that is the surface this project builds on.

otio-kit compiles a small YAML brief into a standard OTIO timeline: cuts, a cross-dissolve, stills on upper tracks, markers, a music bed. Then you import it. No scripting bridge, no Studio licence, no Python inside Resolve. The output is a text file — diffable, versionable, revertable, readable before it touches a timeline.

Source & docs → PyPI → Release updates →

Verified, per Resolve build

Fidelity is the whole product, so it is recorded row by row — one row per (version × OS × edition), each with a reproduction path. This is the actual count; no "community-verified" label is used until there are independent rows.

ResolveOSEditionRunResult
21.1.0.0017Linux (Ubuntu 24.04)Freefirst-party, 2026-09-15PASS — frame-accurate cuts, dissolve, title, marker; no relink dialogs
21.1.0.0017Windows 10 (GTX 1650)Freeindependent control run, 2026-09-20/21PASS — frame-exact cuts, dissolve, title, marker, audio audible, stock-effect fade-in applied

Not verified yet: macOS, and anything newer than 21.1 (21.1.2, 21.2). A row gets added only after the import has actually been run on that build. If you test one, a fidelity report takes about ten minutes and becomes a cited row.

Quickstart

pip install otio-kit          # Python 3.10+, pure Python, no Resolve needed to compile
otio-kit compile brief.yaml -o timeline.otio
otio-kit validate brief.yaml  # spec + media check, writes nothing

A brief is ~15 lines of YAML:

spec_version: 0
name: specimen-60
fps: 24
media:
  clip_a: media/clip_a_dnx.mov
  clip_b: media/clip_b_dnx.mov
  title:  media/title.png
timeline:
  video:
    - track: V1
      clips:
        - media: clip_a
          duration: 20.0
        - media: clip_b
          duration: 20.0
          transition_in: {type: dissolve, duration: 1.0}
    - track: V2
      clips:
        - media: title
          duration: 5.0
markers:
  - {time: 10.0, color: blue, name: beat-1}
$ otio-kit compile tests/golden/specimen60.yaml -o timeline.otio
compiled 'specimen-60': 5 clips, 3 tracks -> timeline.otio

What v0 covers — and what it refuses

InOut (loud error, not silent misinterpretation)
Timeline name/fps; sequential clips with frame-exact durations; cross-dissolve between adjacent clips; stills on upper tracks; 8 stock marker colours; media manifest with compile-time existence check Custom effect schemas (fatal to the importer); bare relative media URLs on Linux; gaps/offset placement; speed changes; effects, grades, Fusion comps; dissolves that don't fit their clips

Everything emitted is stock OTIO schema; project semantics ride in metadata. Durations are quantized to whole frames, so at 23.976 or 29.97 fps the total can differ from the nominal duration by a few frames — that is the model, documented, not drift to paper over.

Why a file, not an API call

Even if scripting returns to Free, the file approach stands on its own. A mutating API call is invisible until you look at the result; a timeline file can be reviewed, diffed, committed, and regenerated. The compiler is deterministic: the same brief produces the same bytes.

Comparisons

Status

Alpha, spec v0 frozen. CI runs ruff and pytest on Ubuntu and Windows, Python 3.10 and 3.12. The committed test media are empty stubs: the golden suite proves emitter determinism; import fidelity is the Resolve runs above. AGPL-3.0, with commercial dual licensing on request. Not affiliated with or endorsed by Blackmagic Design.