fablecut_export
Render the timeline to a video file in exports/, matching the editor's Export button. Waits and returns the file path; poll or cancel long jobs.
Instructions
Render the timeline to a video file in exports/ — the editor's own Fast export (same compositor, audio mix and encoding profile as the Export button), so the file matches what the user sees. It runs in a browser: an open editor tab takes the job (the user sees the progress bar), or with no tab open the server starts headless Chrome / Edge (set FABLECUT_CHROME to pick one) and closes it afterwards. Waits for the file by default and returns its path. Range: the project's inPoint→outPoint when set, else the whole timeline (or pass range). Needs ffmpeg on PATH. One export at a time. Long edits: pass wait:false, then poll with {job}; {cancel:job} stops one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | Report on an export started earlier instead of starting one | |
| wait | No | Block until the file is written (default true) | |
| range | No | Whole timeline, or the project's inPoint→outPoint (default: in-out when either is set) | |
| where | No | auto (default): an open editor tab, else headless · tab: only an open tab · headless: always a background browser, leaving the user's tab alone | |
| cancel | No | Cancel this export job | |
| profile | No | Encoding profile id (fablecut_encode_profiles); default: project.encodeProfile, else the server default | |
| timeout | No | Seconds to wait before returning the job's status instead (default 900); the export keeps running |