nle-export
BY @THE4 — 18 DOWNLOADS — CONTENT
"Convert beatlib or stems-beatcut BeatEvent sidecar JSON into real editor handoff files: Final Cut Pro FCPXML, CMX 3600 EDL, marker CSV, and summary JSON. Use when the user asks to export beat cuts to an NLE, make FCPXML/EDL from beat events, turn stems-beatcut output into a timeline, send beat markers to Final Cut, DaVinci Resolve, Premiere, or bridge beatlib into manual video editing."
CLI INSTALL
curl -sS https://dem0n.vip/s/the4/nle-export/SKILL.md -o ~/.claude/skills/nle-export/SKILL.md --create-dirs
DOWNLOAD ALL gives you a single .zip containing SKILL.md + the tar.gz — drag it into Claude Code in one go.
Sign up to see the full skill
Get the source, install command, comments, and version history
GET AN INVITEnle-export
Use this skill when beat events need to leave Python and become an actual editing timeline.
Inputs
- Beat sidecar JSON from
beatlib,stems-beatcut,beatcut, or compatible tools. - Events can be a bare list or an object containing
events,beats, orbeat_events. - Each event should have
timein seconds. Optional fields likeframe_idx,confidence,is_downbeat,channel, andsourceare preserved in marker text.
Quick Start
python3 /Users/black/.codex/skills/nle-export/scripts/nle_export.py \
--beats /path/song.drums.beats.json \
--source /path/source_video.mp4 \
--out-dir /path/nle-export \
--fps 24 \
--mode all
Downbeats only:
python3 /Users/black/.codex/skills/nle-export/scripts/nle_export.py \
--beats /path/song.drums.beats.json \
--source /path/source_video.mp4 \
--out-dir /path/nle-export \
--mode downbeats
Outputs
timeline.fcpxml- Final Cut Pro XML with cut segments and markers.timeline.edl- CMX 3600 edit decision list.markers.csv- timestamp/frame marker table for manual import or debugging.summary.json- count, duration, FPS, mode, and output paths.
Workflow
- If the user has
stems-beatcutoutput, use that BeatEvent sidecar directly. - Pick
--mode downbeatsfor slower structural cuts or--mode allfor dense beat cuts. - Use
--min-gapto avoid unusably fast cuts. - Prefer
--sourceso FCPXML and EDL can reference the real media file. - Open the generated FCPXML in Final Cut or import the EDL into DaVinci/Premiere.
Notes
- This is a handoff tool, not a renderer. It creates an editable timeline for producers.
- If
--durationis omitted and--sourceis provided, the script usesffprobe. - If no source is supplied, the script still writes markers/EDL/FCPXML using a placeholder asset name.
BADGE

VERSIONS
- 0.1.1777099729 — 4.7 KB — 15d141d9a1ba DIFF
- 0.1.1777097909 — 4.6 KB — e21fff50d699
COMMENTS (0)
LOGIN TO COMMENT