Five tools are on the M5 Max today, plus the YouTube helper functions in zsh. Every command below was checked against the tool’s own --help on 1 Oct 2026; add --help to any of them for the full option list. Each tool links to its full guide.
| Tool | Source | Built with | How you run it | Update |
|---|---|---|---|---|
| YouTube helpers | ~/.zshrc (“YouTube download/transcode helpers”) + ~/.config/yt-dlp/config | zsh, yt-dlp, ffmpeg | yt-dlp from ~/.local/bin (uv tool, 2026.08.19, shadows the Homebrew copy); probe, prores, yturl as shell functions | uv tool upgrade yt-dlp |
| itt-convert | ~/Developer/itt-convert | Swift package (ITTConvertKit + executable) | /usr/local/bin/itt-convert | swift build -c release, then sudo cp .build/release/itt-convert /usr/local/bin/ |
| roughcut | ~/Developer/roughcut | Python, uv | ~/.local/bin/roughcut (0.1.0) | git -C ~/Developer/roughcut pull, then the “Updating roughcut” steps in docs/user-guide.md |
| shotrunner | ~/Developer/shotrunner | Python, uv | not on PATH: cd ~/Developer/shotrunner && uv run shotrunner … | git pull; the gate is uv run pytest -q |
| projsync | ~/bin/projsync (one zsh script); one config per project in ~/.config/projsync/ | zsh, unison 2.54, ditto | projsync COMMAND NAME; for COURSE also the aliases course, lib-in, lib-out in ~/.zshrc | replace the script in ~/bin, then chmod +x ~/bin/projsync |
| gleaner | ~/Developer/gleaner | Python (requests, Beautiful Soup) | gleaner (0.2.0), an editable pip install in pyenv 3.11 | git -C ~/Developer/gleaner pull (editable, so nothing to reinstall); the gate is python3 -m pytest |
Quick health check, from any folder:
which yt-dlp itt-convert roughcut projsync gleaner
roughcut --version # expect: roughcut 0.1.0 (FCPXML 1.14 DTD ok)
itt-convert --help
gleaner --version # expect: gleaner 0.2.0
1. YouTube downloads
Download with yt-dlp, then transcode to ProRes 422 for FCP with prores. The global config means a bare yt-dlp URL already lands in ~/Downloads/YouTube, named <video id>.<ext>, with metadata (including the source URL) embedded.
# ~/.config/yt-dlp/config
-P ~/Downloads/YouTube
-o "%(id)s.%(ext)s"
--embed-metadata
| Command | What it does |
|---|---|
yt-dlp "URL" | Downloads the best available video and audio into ~/Downloads/YouTube |
yt-dlp -F "URL" | Lists the available formats without downloading |
yt-dlp -P ~/Desktop "URL" | One-off download somewhere else (flags on the command line beat the config) |
probe [file] | Runs ffprobe on the file. No argument = newest video in ~/Downloads/YouTube; a bare name is looked up in that folder |
prores [file …] | Transcodes to ProRes 422 (VideoToolbox) with 16-bit PCM audio, writing <same name>.mov beside the source. Skips any file that already has a .mov. Several files run one after another |
yturl [file] | Opens the video’s YouTube page, read from the embedded metadata (falls back to youtu.be/<id>) |
The usual run:
yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"
prores # transcodes the file you just downloaded
probe VIDEO_ID.mov
Run prores with no argument straight after the download: it picks the newest file in the folder, so a later download would change what it grabs. To batch everything still in WebM: prores ~/Downloads/YouTube/*.webm.
If YouTube starts returning 403s, uv tool upgrade yt-dlp first. Once a newer Homebrew stable ships, uv tool uninstall yt-dlp hands the command back to the brew copy.
2. itt-convert
Converts FCP 12.3 iTT caption exports (.itt) into .srt and <name>_transcript.md (plus <name>.txt, plain text with no timestamps, when asked), with exact frame-grid timing. Inputs can be files or folders; folders are searched recursively for .itt.
usage: itt-convert [-o outdir] [--srt-only | --md-only | --txt-only] [--txt] [--classic-md] [--strict] file.itt | directory ...
| Command | What it does |
|---|---|
itt-convert Interview.itt | Writes Interview.srt and Interview_transcript.md next to the source |
itt-convert ~/Exports/Captions | Every .itt in the folder and its subfolders, outputs beside each source |
itt-convert --md-only ~/Exports/Captions | Transcripts only |
itt-convert --srt-only Interview.itt | Subtitles only |
itt-convert --txt Interview.itt | Adds Interview.txt: the words alone, captions run together, a new paragraph at each pause of 1.5 s or more, unless the next caption carries on the sentence |
itt-convert --txt-only ~/Exports/Captions | Plain text only |
itt-convert --classic-md … | Transcript in the older text-then-time-range layout instead of the paper-cut layout |
itt-convert -o ~/Desktop/md-out --md-only ~/Exports/Captions | Collects all outputs flat into one folder (created if missing) |
itt-convert --strict … | Stops at the first bad file instead of logging it and carrying on |
Exit codes: 0 clean, 1 usage error, 2 one or more files failed (the ok lines above a 2 still succeeded). Re-running overwrites the same outputs, which is what you want after a re-export.
The -o form flattens: two subfolders that each hold Interview_A.itt collide and the second overwrites the first. Check before a flat run; empty output means you’re clear:
find ~/Exports/Captions -name '*.itt' -exec basename {} \; | sort | uniq -d
Tip: type itt-convert with a trailing space, then drag the file or folder in from Finder to paste its path.
3. roughcut papercut
A stringout (FCP project with captions, exported as .fcpxmld folder or zip) plus a paper cut (.docx or .md) in; one FCP selects project per paper-cut section out, with a marker per select and a run report flagging anything doubtful. Output goes next to the paper cut unless you say otherwise. It never touches the library or the media.
| Command | What it does |
|---|---|
roughcut papercut STRINGOUT PAPERCUT | The basic compile |
roughcut papercut STRINGOUT PAPERCUT -o selects | Writes into a chosen output folder |
roughcut papercut STRINGOUT PAPERCUT --suffix _v3 | Appends _v3 to project, bundle and run-file names, so a re-run doesn’t overwrite |
roughcut papercut STRINGOUT PAPERCUT --zip | Writes .fcpxmld.zip instead of bundle folders |
roughcut papercut STRINGOUT PAPERCUT --refine | Places each cut on the words and the pause between them by reading the camera audio with mlx-whisper. Slower; the media must be online at the paths inside the export |
roughcut papercut --manifest jobs.yaml | Runs several jobs in one go; keeps going if one fails and prints a line per job plus a total |
roughcut papercut --to-canonical PAPERCUT | Converts an older paper cut into <name>_canonical.md (format in docs/paper-cut-format.md) |
roughcut papercut … --config extra.yaml | Applies one more settings file after the others |
roughcut --print-config | Prints every setting with its default and what it does |
Example:
roughcut papercut "SpeakerA_stringout.fcpxmld" "SpeakerA_papercut.md" --refine --suffix _refined
Manifest format (paths relative to the manifest file; output, suffix and settings are optional):
- stringout: SpeakerA_stringout.fcpxmld.zip
papercut: SpeakerA_papercut.md
- stringout: SpeakerB_stringout.fcpxmld.zip
papercut: SpeakerB_papercut.md
output: selects
suffix: _v2
settings: {speakers: [Tom]}
To change a default for good, put it in a roughcut.yaml (run roughcut --print-config to see the keys).
4. roughcut script
Camera files, the script .docx with the client’s comments, and the event exported from FCP in; one FCP project per script out, each paragraph cut from the chosen take, every other take of it stacked above as a disabled alternate, and a marker per comment. Three stages, each resumable, each with --dry-run to see the plan and write nothing. PROJECT is the project folder or its roughcut-project.yaml.
roughcut script transcribe PROJECT: camera files to word-level transcripts with mlx-whisper. Never overwrites, so transcripts already on the drive count as done. The dry run shows the vocabulary and prompt it will hand Whisper.roughcut script map PROJECT: script, comments and transcripts totake_map.yaml(you edit) andtake_map.md(you read). Writes the next free name, so earlier maps survive. The dry run prints the map’s flags.roughcut script cut PROJECT: the newest take map plus the event FCPXML to one FCPXML of rough-cut projects, DTD-validated.--take-map FILEpicks an older map;--dry-runbuilds and validates without writing.
A typical pass, checking the map in between:
P="/Volumes/media/COURSE_project"
roughcut script transcribe "$P" --dry-run
roughcut script transcribe "$P"
roughcut script map "$P"
# read take_map.md, fix picks and framings in take_map.yaml
roughcut script cut "$P"
The project config lives in the project folder or its tools/ folder. Paths are relative to the project, so it survives the drive mounting under another name. Only version, script and footage are required; cut also needs event_xml.
project:
version: v1
script: exports/v1/docs and scripts/Scripts - Speaker A.docx
footage: assets/raw_footage/20260909_COURSE_v1_Studio_SpeakerA/c300_05
event_xml: exports/v1/xml/20260909_COURSE_v1_Studio_SpeakerA.fcpxmld
transcribe:
speaker: Speaker A # helps Whisper spell the name
vocabulary: [wayfinding] # script names are picked up automatically
cut:
event: COURSE rough cuts v1 # the event the rough cuts land in
Where it writes ({shoot} is the footage folder’s parent; override any of these under paths:):
| Output | Path in the project |
|---|---|
| Audio for transcription | exports/{version}/audio_for_transcripts/ |
| Transcripts | exports/{version}/transcripts/{shoot}_transcripts/ |
| Take maps | exports/{version}/take_maps/{shoot}_take_map.yaml and .md |
| Rough cuts | exports/{version}/xml/{shoot}_roughcuts_{version}.fcpxml |
Other settings: transcribe.mix (all, or a channel list like [1]), transcribe.spelling (regex fixes), transcribe.model and language (turbo, en), cut.handles (6 frames), cut.merge_gap_seconds (2.5). The full guide is roughcut: user guide.
5. shotrunner
Shot list in, FCP-ready takes out. run generates every take in a YAML shot list through one provider, conforms them, and writes a .sqlite database plus an .fcpxml you import into FCP. It isn’t installed on PATH, so run it from the repo:
cd ~/Developer/shotrunner
uv run shotrunner run examples/sample_shots.yaml --out /tmp/sr_demo
| Command | What it does |
|---|---|
shotrunner run SHOTLIST | Generates every take with the offline fake provider (ffmpeg test pattern). Free; use it to check a shot list |
shotrunner run SHOTLIST --provider fal --live --budget 5 | A paid run. Any provider other than fake needs both --live and --budget (a hard dollar cap for the run) |
… --out DIR | Where the .sqlite and .fcpxml go (default: the current folder) |
… --workers 4 | Takes generated at once (default 2, which is where fal accounts start) |
… --retry-failed | Re-runs only the takes that failed last time |
… --models FILE | A different model and price table than the repo’s models.yaml |
shotrunner verify OUT.fcpxml | Lints, DTD-validates and cross-checks a shotrunner-written FCPXML against its database (--db if the .sqlite isn’t beside it). Not for FCP’s own exports, which reduce times and add format/uid |
shotrunner cost OUT.sqlite | Prints the per-take cost table: clip, status, model, seed, cost, and what the provider billed in its own unit |
Providers in models.yaml: fake (offline), fal (Wan 2.2, Kling 3 and O3, Seedance 2.0 and 2.5, Veo 3.1), comfyui (local Wan 2.2 and LTX 2.5 workflows) and elevenlabs (dialogue and SFX). Each model key sets its own price, resolution, fps and audio, and a shot picks one with model:.
Shot list shape (from examples/sample_shots.yaml):
project: sample
fps: 24
resolution: 1920x1080
media_root: /tmp/sr_demo # absolute; the FCPXML uses file URLs
defaults: {model: fake_model, takes: 2, duration_s: 5}
shots:
- id: sh010
scene: kitchen
prompt: "a copper kettle on a gas flame, night, close"
seed: 42 # take N uses seed + N - 1
keywords: [night, close]
One-shot smoke tests per provider live in examples/smoke_*.yaml (smoke_veo.yaml, smoke_seedance.yaml, smoke_comfyui.yaml and so on). The test gate for any code change is uv run pytest -q.
6. projsync: project drive and library sync
projsync keeps any project’s folder in step between the working SSD and a media drive, and copies its FCP library across whole. It replaced the course, lib-in and lib-out functions written for COURSE alone on 1 Oct 2026; those names now run projsync for COURSE. Every command refuses while Final Cut Pro is open or a drive isn’t truly mounted. Full guide: projsync: user guide.
| Command | What it does |
|---|---|
projsync new NAME | Creates ~/.config/projsync/NAME.conf and opens it |
projsync edit NAME | Opens a project’s config |
projsync list | Lists configured projects |
projsync check NAME | Reports on drives, drive IDs, both folders, both libraries and FCP; changes nothing |
projsync sync NAME | Two-way sync of the project folder with unison, asking before each change (left column = SSD, right = drive) |
projsync sync NAME -y | The same without questions; conflicts are skipped and listed |
projsync lib-in NAME | Copies the library SSD to drive, keeping the replaced copy as .old |
projsync lib-out NAME | Copies the library drive to SSD, keeping the replaced copy as .old |
projsync id-drive VOLUME | Gives a drive its permanent ID, once per drive (media is A, RB_SATmedia is 34949acf) |
Sync never touches a .fcpbundle; libraries only move with lib-in and lib-out. The COURSE config also skips assets/raw_footage and FCP’s Render Files, Transcoded Media and Analysis Files folders, and pins UNISON_HOSTNAME="driveA" so it reuses the old course sync history.
# end of a session on the SSD (FCP closed)
lib-in # projsync lib-in COURSE
course # projsync sync COURSE
# any other project
projsync lib-in MyCourse
projsync sync MyCourse
7. gleaner: images out of a Google Doc or a slide deck
Pulls every image out of a Google Doc or a slide deck (.pptx). Pasted images are copied out of the export and renamed by the heading and table row they sit under, or, in a deck, by slide number and title; linked ones are downloaded (Wikimedia through the Commons API, Drive, Dropbox, Pexels, Unsplash, direct image links, and a page’s preview image as the fallback). Every run writes manifest.csv, one row per image or link, and open-by-hand.html for the links it couldn’t fetch. Full guide: gleaner: user guide.
Export the doc first: File › Download › Web page (.html, zipped). A doc shared “Anyone with the link” can be given as its URL instead. A PowerPoint deck needs no export; from Keynote, use File › Export To › PowerPoint first (gleaner can’t read .key); from Google Slides, File › Download › Microsoft PowerPoint (.pptx), or the link if it’s shared.
usage: gleaner [-o OUT] [-n] [--large PX] [--no-embedded] [--no-links] [--no-previews] [--contact EMAIL] source
| Command | What it does |
|---|---|
gleaner "My Doc.zip" --dry-run | Lists every image and link with its heading, row and fetch method; downloads nothing |
gleaner "My Doc.zip" | Everything, into My Doc (gleaned) beside the zip |
gleaner ~/Downloads/"My Doc" | The same from an unzipped export; output goes in a gleaned folder inside it |
gleaner "https://docs.google.com/document/d/…/edit" | Fetches a link-shared doc first, then the same |
gleaner "My Deck.pptx" | Every image in the deck, named by slide number and title, into My Deck (gleaned) |
gleaner "https://docs.google.com/presentation/d/…/edit" | Fetches a link-shared Google Slides deck first, then the same |
gleaner "My Doc.zip" --large 1500 | Embedded images shown 1500 px wide or more go in large/ (finished graphics in a media tracker) |
gleaner "My Doc.zip" --no-links | Embedded images only; works offline |
gleaner "My Doc.zip" -o ~/Desktop/refs | Output into a folder you choose |
Exit codes: 0 the run finished (failed links are listed in the manifest, not counted), 2 couldn’t open the source or bad options. Re-running is safe: links already saved are skipped, so a second run only fetches what failed or was rate-limited. Files named …_PREVIEW are a page’s preview image (512 px for a Noun Project icon, 1024 px for Flickr); check the size and license before using one in a final graphic.
# the Media Tracker: finals into large/, references into images/
gleaner ~/Downloads/"Problem Solving & AI, Media Tracker" --large 1500
8. Checking FCPXML and media by hand
roughcut and shotrunner validate their own output, but these are the checks to run on anything else before an import. A .fcpxmld bundle keeps its XML in Info.fcpxml.
DTD=~/Developer/fcpx-assistant-editor/vendor/fcpxml
# DTD check, 1.14 (silence = valid)
xmllint --noout --dtdvalid $DTD/FCPXMLv1_14.dtd Project.fcpxmld/Info.fcpxml
# same for a 1.13 export headed to FCP 11.2
xmllint --noout --dtdvalid $DTD/FCPXMLv1_13.dtd Project.fcpxmld/Info.fcpxml
# vendored DTD still matches the one inside FCP 12.3
shasum -a 256 $DTD/FCPXMLv1_14.dtd \
"/Applications/Final Cut Pro Creator Studio.app/Contents/Frameworks/Interchange.framework/Versions/A/Resources/FCPXMLv1_14.dtd"
# embedded timecode, frame count and timing of every clip in a folder (asset start must equal the timecode)
for f in *.mov; do ffprobe -v error -show_entries 'format_tags=timecode:stream=index,codec_type,nb_frames,duration_ts,time_base,r_frame_rate' -of flat "$f"; done
Not yet runnable: the Swift Phase 0 generator (fcpxgen) is specified but has never been compiled, so it has no command here yet.