Export Track
Take the match move to Nuke or After Effects
- track_data
- path
- snippet
Tracking in ComfyUI is handy, but finishing in ComfyUI is a stretch for a lot of shots. Export Track is the bridge: it writes your track to a canonical JSON file, or - the part that makes it special - renders it as a ready-to-paste Nuke CornerPin2D node or After Effects Corner Pin keyframe data. You tracked in the graph; you finish in the compositor; nothing needs re-doing.
How it works
Every format is baked from the same per-frame homography chain the apply nodes use, so what you pin in ComfyUI is exactly what lands in the compositor. One key per frame, no interpolation surprises.
nuke_cornerpinemits a complete, animated CornerPin2D node as.nktext. Save the snippet, open it (or paste it) into the Nuke DAG. The Y-flip to Nuke's Y-up coordinates is already handled, and thefrom1–4pins are set to the reference-frame corners, so it's an exact match-move of your tracked quad - paste and it just works. Nuke scripts are 1-based, sostart_frame(default 1) sets where the curves begin.ae_cornerpinemits Adobe "8.0 Keyframe Data" text for the Corner Pin effect. Apply Corner Pin to your insert layer, copy the exported text, select the layer, paste. Keyframes are 0-based and per-frame;fps(default 24) only fills the header, so match it to your comp's frame rate.platetrack_jsonwrites the canonical.platetrack.json- the thing Import Track reads back. That's your save-and-share format, and the "keep the track, drop the node graph" option.
Inputs and outputs
- track_data - the track to export.
- format - one of the three above.
- filename_prefix (default "track") - the output filename base.
- start_frame (optional) - where Nuke curves begin.
- fps (optional) - AE header frame rate.
Outputs are path (where the file was written) and snippet (the full text, so you can copy it straight off the node - the AE path is literally clipboard-paste, so the snippet output is the feature).
Installing it
Same pack, same install: PlateTrack in Manager or clone + pip install -r requirements.txt. OpenCV only. You don't need Nuke or AE installed to produce the files - they're just text.
Where people get burned
- Nuke frame numbering. If your curves start at the wrong frame, check
start_frame- the default is 1 for Nuke conventions. - AE is 0-based and Nuke is 1-based; don't reuse a Nuke
start_frameon an AE paste and expect the same timeline. - The export is only as good as the track. Export a drift-heavy track and you've exported drift. Fix it in the Planar Track editor first, then export.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| track_data | PLATETRACK_DATA | — | |
| format | COMBO | platetrack_json | 3 options: platetrack_json, nuke_cornerpin, ae_cornerpin |
| filename_prefix | STRING | track | — |
| start_frameopt | INT | 10–1000000 | — |
| fpsopt | FLOAT | 24.0001–240 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| path | STRING | — |
| snippet | STRING | — |