export_otio
Exports a DUP Presenter deck to a standard OpenTimelineIO (.otio) JSON timeline for DaVinci Resolve, Adobe Premiere Pro, Kdenlive, or Final Cut NLE workflows.
Instructions
Export a DUP Presenter deck to a standard OpenTimelineIO (.otio) JSON timeline for DaVinci Resolve, Adobe Premiere Pro, Kdenlive, or Final Cut NLE workflows. Includes V1 slide clips (linked to out/.mp4 when rendered), SMPTE_Dissolve transitions, color-coded chapter markers, A1 narration WAV clips, and optional A2 music/ambient bed. Uses frame-exact timing from src/generated/deck_resolved.json ONLY when it matches this deck; otherwise reports timing_source='estimated' (or fails closed when require_resolved=true). Refuses to overwrite an existing .otio file unless overwrite=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deck": "<deck>"
},
"name": "export_otio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Optional output path ending in .otio (default: out/<slug>.otio) | |
| deck | Yes | Path to the deck JSON file inside decks/ (e.g. decks/dup-protocol.json) | |
| overwrite | No | Allow replacing an existing .otio file (default false refuses) | |
| include_music | No | Include A2 music/ambient track when present (default true) | |
| require_resolved | No | When true, fail closed unless src/generated/deck_resolved.json matches this exact deck |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| fps | Yes | ||
| path | Yes | ||
| slug | Yes | ||
| bytes | Yes | ||
| tracks | Yes | ||
| markers | Yes | ||
| audio_clips | Yes | ||
| video_clips | Yes | ||
| total_frames | Yes | ||
| timing_source | Yes | ||
| total_seconds | Yes | ||
| rendered_mp4_linked | Yes |