/mas-video-lab:final-cut-profrom mas-video-lab
Authors valid FCPXML for Final Cut Pro, manages Library render caches, and drives Apple Compressor CLI for batch delivery. Useful for editorial automation and media management.
Ships in mas-video-lab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Final Cut Pro (macOS) centers on the Magnetic Timeline (primary storyline + connected clips), Libraries (.fcpbundle), Roles, and Apple Silicon Media Engine (ProRes/HEVC). Programmatic authoring is file-based FCPXML (versioned DTD — e.g. 1.11 → 1.12 (FCP 10.8) → 1.13 (FCP 11); newer hosts may export still higher). Headless encodes use Apple Compressor CLI. Motion templates live under ~/Movies/Motion Templates.localized/.
FCP 11+ highlights agents should know: Magnetic Mask, Transcribe to Captions (Apple silicon + Sequoia+), spatial video, higher timeline fps (90/100/120).
┌─────────────────────────────────────────────────────────────┐
│ Final Cut Pro interchange loop │
│ │
│ Editorial │
│ ├── Library.fcpbundle → Events → Projects │
│ ├── Magnetic Timeline / Multicam / Compound clips │
│ └── Roles, captions, Motion titles │
│ │
│ Automation │
│ ├── FCPXML (rational times, resources, spine) │
│ ├── DTD gate via xmllint against host DTD │
│ └── Compressor CLI (.cmprstng / batch) │
│ │
│ Media engine │
│ ├── ProRes / ProRes RAW / proxy media │
│ └── Background render + optical flow caches │
└─────────────────────────────────────────────────────────────┘
Use when
Do not use when
@vegas-pro / @adobe-premiere-pro / @davinci-resolve.@losslesscut.version to target FCP; newer XML will not import into older FCP (“DTD not recognized”). Prefer exporting from the oldest required host or a known converter.100/2400s for 24fps family, 100/3000s for 30fps family)—avoid float seconds for editorial accuracy when possible.format + asset IDs, then library → event → project → sequence → spine.-settingpath .cmprstng and output dir; expect first-run App Store entitlement UI on some machines.~/Movies/Motion Templates.localized/ paths."""Generate a minimal importable FCPXML (declare version your target FCP accepts)."""
from __future__ import annotations
import sys
import xml.etree.ElementTree as ET
def generate_fcpxml(project_name: str, asset_uri: str, out_path: str, version: str = "1.11") -> None:
root = ET.Element("fcpxml", {"version": version})
resources = ET.SubElement(root, "resources")
ET.SubElement(
resources,
"format",
{
"id": "r1",
"name": "FFVideoFormat3840x2160p24",
"frameDuration": "100/2400s",
"width": "3840",
"height": "2160",
"colorSpace": "1-1-1 (Rec. 709)",
},
)
ET.SubElement(
resources,
"asset",
{
"id": "r2",
"name": "Interview_A_Cam",
"src": asset_uri, # file:///Volumes/...
"start": "0s",
"duration": "600s",
"hasVideo": "1",
"hasAudio": "1",
"format": "r1",
},
)
library = ET.SubElement(root, "library", {"location": "file:///Volumes/Media/AutoLibrary.fcpbundle"})
event = ET.SubElement(library, "event", {"name": "Automated_Assembly"})
project = ET.SubElement(event, "project", {"name": project_name})
sequence = ET.SubElement(
project,
"sequence",
{"format": "r1", "duration": "60s", "tcStart": "0s", "tcFormat": "NDF"},
)
spine = ET.SubElement(sequence, "spine")
clip = ET.SubElement(
spine,
"asset-clip",
{
"ref": "r2",
"offset": "0s",
"name": "Interview_A_Cam_Take1",
"start": "10s",
"duration": "60s",
"format": "r1",
},
)
ET.SubElement(
clip,
"marker",
{
"start": "25s",
"duration": "100/2400s",
"value": "Subject intro",
"completed": "0",
},
)
tree = ET.ElementTree(root)
ET.indent(tree, space=" ")
tree.write(out_path, encoding="utf-8", xml_declaration=True)
if __name__ == "__main__":
out = sys.argv[1] if len(sys.argv) > 1 else "AutoAssembly.fcpxml"
generate_fcpxml(
"Review_Assembly_V1",
"file:///Volumes/Media/Footage/Interview_01.mov",
out,
)
Validation loop:
# Prefer DTD from the installed Final Cut Pro.app (do not redistribute Apple DTDs)
# xmllint --dtdvalid /path/to/FCPXMLv1_11.dtd AutoAssembly.fcpxml
open -a "Final Cut Pro" # then File → Import → XML into a disposable Library
Compressor (illustrative; flags vary by Compressor version — confirm with man compressor / Help):
# Example pattern: setting file + job media + output directory
compressor -batchname "WebDailyMaster" \
-jobpath "/Volumes/Media/Exports/master.mov" \
-settingpath "$HOME/Movies/Compressor Settings/ProRes422_4K.cmprstng" \
-destinationpath "/Volumes/Media/Exports/Web"
| Signature | Likely cause | Fix path |
|---|---|---|
| DTD version not recognized | XML newer than host FCP | Export/generate older FCPXML version or upgrade FCP |
| Import fails time attributes | Non-rational / bad fractions | Use N/Ds frameDuration-aligned values |
.fcpbundle hundreds of GB | Render/optimized caches | Delete Generated Library Files; pause background render |
| Red missing effect/title | Motion template path | Restore under Motion Templates.localized |
| ProRes RAW playback drops | Disk bandwidth | Generate proxies; Viewer → Proxy Preferred |
| Compressor CLI no-ops / prompts | Entitlement / wrong paths | Sign in on machine; verify .cmprstng and media paths |
@adobe-premiere-pro — cross-NLE via FCPXML/AAF where supported@compressor / Apple Compressor docs — batch encodes@ffmpeg — CFR/proxy prep before import@losslesscut — rough lossless selects before FCP ingestMANDATORY: Emit FCPXML with a declared version compatible with the target Final Cut Pro. Prefer rational frame durations. Validate with DTD when available and always with a disposable Library import. Never invent Apple ID credentials for Compressor.
man compressor / Apple Help on the build machineWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alivirgo/major-ai-skills --plugin mas-video-lab2 plugins in one repository ship this exact skill · first indexed Oct 25, 2026
7 skills in this plugin
/adobe-after-effectsScaffold After Effects comps and expression rigs, queue Render Queue / AME jobs, and export Essential Graphics (.mogrt) with ExtendScript-safe patterns./adobe-premiere-proAutomate Premiere Pro sequences and markers via UXP/ExtendScript, exchange FCPXML/AAF/EDL, and queue Adobe Media Encoder jobs without baking secrets into projects./davinci-resolveAutomate DaVinci Resolve media and timelines with its scripting API, build Fusion workflows, and configure render jobs.Other plugins' skills for the same job