rb · guides
rafabenedetti.com
user guides · 2026
Reference · User guide

itt-convert: user guide

A small Swift command that turns Final Cut Pro iTT caption exports into SRT subtitles, markdown transcripts and plain text, with exact frame-grid timing. Install, export, run, and fixes.

itt-convert turns Final Cut Pro caption exports into files you can use outside FCP. By default each .itt in becomes two files out, written beside it, and --txt adds a third:

FileUse it for
Interview.srtSubtitles for YouTube, Vimeo, a review platform or another NLE
Interview_transcript.mdA readable transcript: paper cuts, notes, handing to Claude, a client
Interview.txt (with --txt)The words alone, no timecode: reading, word counts, pasting into a doc or an email

It reads iTT, the TTML dialect FCP exports, and does all timing in exact fractions on the frame grid. It never rounds through floating point, so its SRT times are slightly more accurate than FCP’s own SRT export. It runs offline and changes nothing but its own output files.


1. Install and update

The source is a Swift package at ~/Developer/itt-convert (its GitHub repo is private: ask Rafa for access). Building needs Xcode’s command-line tools. Install by building a release binary and copying it onto your PATH:

cd ~/Developer/itt-convert
swift build -c release
sudo mkdir -p /usr/local/bin
sudo cp .build/release/itt-convert /usr/local/bin/

Check it from any folder:

which itt-convert      # /usr/local/bin/itt-convert
itt-convert --help     # prints the usage line

The installed copy lives outside the repo, so it doesn’t change when the source does. After any change: git pull (or your edit), swift test to run the golden suite, then the same swift build and sudo cp.

To uninstall: sudo rm /usr/local/bin/itt-convert.

2. Getting the .itt out of FCP

The project needs captions first, either FCP’s own transcription turned into captions or captions you imported or typed.

  1. Open the project in the timeline (or select it in the browser).
  2. Choose File › Export Captions….
  3. Pick the iTT format and the caption role or language you want. A project with several caption languages exports one file per role.
  4. Save it anywhere. A habit that helps: one captions/ folder per project, so a single folder run converts them all.

Export iTT rather than SRT from FCP even if SRT is what you need: iTT keeps exact frame timing, and itt-convert makes a cleaner SRT from it than FCP does.

3. Running it

usage: itt-convert [-o outdir] [--srt-only | --md-only | --txt-only] [--txt] [--classic-md] [--strict] file.itt | directory ...

Give it files, folders, or a mix. A folder is searched at every depth for anything ending in .itt.

CommandResult
itt-convert Interview.ittInterview.srt and Interview_transcript.md beside the source
itt-convert A.itt B.ittBoth files, each converted in place
itt-convert ~/Exports/CaptionsEvery .itt under that folder, outputs beside each source, subfolder layout kept
itt-convert --md-only ~/Exports/CaptionsTranscripts only
itt-convert --srt-only Interview.ittSubtitles only
itt-convert --txt Interview.ittThe usual two files plus Interview.txt
itt-convert --txt-only ~/Exports/CaptionsPlain text only, no timestamps
itt-convert --md-only --txt Interview.ittTranscript and plain text, no subtitles
itt-convert --classic-md Interview.ittTranscript in the older layout: text, then its time range on the next line
itt-convert -o ~/Desktop/out ~/Exports/CaptionsAll outputs collected flat into one folder, created if needed
itt-convert --strict ~/Exports/CaptionsStops at the first file that fails

To see what a folder run will pick up before you start:

find ~/Exports/Captions -name '*.itt' | sort

Each success prints an ok line. A failure prints FAIL <file>: <reason> and, without --strict, the run carries on with the rest. The exit code tells a script how it went:

CodeMeaning
0every file converted
1usage error, such as no inputs
2at least one file failed; the ok ones are fine

Re-running overwrites the outputs, which is what you want after re-exporting from FCP. Each write is atomic, so an interrupted run never leaves a half-written file.

The -o form drops the folder structure. Two subfolders that both hold Interview_A.itt produce the same output name, and the second silently overwrites the first. Check first; empty output means the names are unique:

find ~/Exports/Captions -name '*.itt' -exec basename {} \; | sort | uniq -d

Shortcut: type itt-convert with a trailing space, then drag a file or folder from Finder into Terminal to paste its path.

4. The outputs

The .srt is standard SubRip: numbered cues, HH:MM:SS,mmm --> HH:MM:SS,mmm times, the caption text, a blank line between cues. Any player, platform or NLE that takes SRT reads it.

The _transcript.md holds the same cues as a markdown transcript you can read straight through, search, or paste into a paper cut or a Claude chat. By default it’s laid out as a paper cut already: a # title and a ## heading (both the file name), then one line per caption, 0:01:23 – 0:01:27 text. Cutting is deleting lines, and roughcut reads it as it stands. --classic-md gives the older layout instead: the text, then its time range on the next line. Its text comes from the same cues as the SRT, so a phrase you pick from it can be searched for in FCP’s caption list.

The .txt (from --txt or --txt-only) is the same words with no timecode at all. Captions run together as prose, and a pause of 1.5 seconds or more between captions starts a new paragraph, unless the next caption begins in lowercase (the sentence is still going). On a stringout that means most cuts start one too. Use it for reading and sharing; for paper cuts use the transcript, since a line without times can’t be placed back on the timeline.

Timing is where it beats FCP’s own SRT export. FCP rounds through floating point and lands 1 ms early on some exact frame boundaries (15 cues out of 329 in the first test file). itt-convert computes every time as an exact fraction: at 23.976 a frame is exactly 1001/24000 s. It reads all four time styles iTT can use and corrects drop-frame timecode. The golden test suite checks 3,960 cues from real FCP 12.3 exports against known-good output on every swift test.

5. Troubleshooting

SymptomFix
command not found: itt-convertNot installed, or /usr/local/bin isn’t on PATH. Re-run the install steps
--help treated as a file name (error 260)You’re on a build from before the help flag was added. Rebuild and reinstall
FAIL … on one fileIt’s not an FCP iTT export, or it was cut short. Re-export from FCP and run again
Exit code 2 after a folder runSome files failed. Scroll up for the FAIL lines; the rest converted
Fewer outputs than inputs in an -o folderDuplicate file names overwrote each other. Run in place, or rename the sources
No outputs at all from a folderNothing in it ends in .itt. Check with the find command above
Times look an hour offThe project’s start timecode is 01:00:00:00 and the captions carry it. Most platforms expect SRT from zero; shift it in the player or reset the project start in FCP before export