Posted by moinism 5 hours ago

A small TypeScript library that imports and exports FCPXML, FCP7/xmeml, and OTIO, plus a CLI.

You can use it for reading, writing, and converting video-editing timelines with frame-accurate timing.

e.g: npx @chatoctopus/timeline convert edit.fcpxml --to otio

Features:

- Format conversion - Import/parse/Export - Give it clip paths (+ optional trims); it probes them with FFprobe and assembles a timeline - Programmatic timeline construction

Caveats: it moves the structure of an edit (cuts, clips, timing, media) but not effects, color, titles, or audio mixing. Transitions only survive into OTIO (they flatten to cuts in FCPXML/xmeml), and on the Final Cut side, it reads Resolve-style asset-clip timelines rather than FCP's compound/multicam/title containers.

Contributions: Looking for some real-world test files of FCP, Premiere, and Resolve to find and fix any remaining bugs.

1 points | 0 comments