> For the complete documentation index, see [llms.txt](https://docs.calibratedsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.calibratedsoftware.com/tin-man/tin-man-server.md). Agents can also search and read this documentation through its [MCP server](https://docs.calibratedsoftware.com/~gitbook/mcp).

# Tin Man Server

Complete command reference for Tin Man Server CLI operations.

#### Command Structure

```bash
tinman-server [general-options] <inputs> <command> [command-options]
```

**Note:** Press `Ctrl+C` to cancel any running operation.

#### General Options

These options must come **before** your input files:

| Option               | Description                                                                                                 |
| -------------------- | ----------------------------------------------------------------------------------------------------------- |
| `--threads N`        | Number of concurrent threads (1-10, default: 1)                                                             |
| `--progress=no-json` | Output progress as human-readable text instead of JSON                                                      |
| `--progress=ndjson`  | Output progress as JSON lines on stdout, without the `STATUS:` prefix                                       |
| `--no-recursive`     | Don't scan subfolders (default: recursive)                                                                  |
| `--bin PATH`         | Tin Man project input only: process just the clips in this bin and its sub-bins. Repeat it for several bins |
| `--gpu-cuda`         | Use CUDA instead of OpenCL (Windows/NVIDIA only)                                                            |
| `--gpu-encode`       | Enable GPU hardware encoding (default: CPU)                                                                 |
| `--rawLog`           | Set all RAW files to Log                                                                                    |
| `--raw709`           | Set all RAW files to Rec. 709                                                                               |
| `--raw709tonemap`    | Set all RAW files to Rec. 709 with tone mapping when available                                              |
| `--raw2020`          | Set all RAW files to Rec. 2020                                                                              |
| `--rawHLG`           | Set all RAW files to Rec. 2020/HLG                                                                          |
| `--rawPQ`            | Set all RAW files to Rec. 2020/PQ                                                                           |
| `--rawACES`          | Set all RAW files to ACES AP0                                                                               |
| `--help`             | Show help message                                                                                           |
| `--help-json-list`   | Show the JSON file list reference, with the color space names                                               |
| `--version`          | Show version information                                                                                    |

#### Input Methods

| Method          | Example                                              | Description                                                                    |
| --------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------ |
| Single file     | `tinman-server /path/file.R3D ...`                   | Process one file                                                               |
| Multiple files  | `tinman-server /path/file1.R3D /path/file2.braw ...` | Process multiple files                                                         |
| Folder          | `tinman-server /path/footage/ ...`                   | Process all supported files in folder (recursive by default)                   |
| File list       | `tinman-server @filelist.txt ...`                    | Text file containing list of files/folders to process                          |
| JSON file list  | `tinman-server @shoot.json ...`                      | Folders and clips, each with its own settings (see JSON File Lists)            |
| Tin Man project | `tinman-server /path/MyShoot.tmprjt ...`             | Process the project's clips with their saved settings (must be the only input) |

#### Tin Man Projects

With a saved Tin Man project (`.tmprjt`) as the input, every command works from the project's clips with their saved settings: slate and camera metadata, timecode, in/out points, rotation, LUTs, color correction, RAW settings, and linked or synced audio.

* Exports cover each clip's marked in/out range.
* Offline clips are skipped with a warning, and the rest are processed.
* `copy` copies the project's clips, not the project itself.
* `--bin PATH` limits the run to a bin and its sub-bins. Use `/` between levels, and write a `/` inside a bin name as `\/`: a bin named `A/B Cam` inside `Day 1` is `"Day 1/A\/B Cam"`. A bin that isn't in the project gives a warning.
* JSON, CSV and XLSX reports have a Bin column. To leave it out, set `bin` to `false` under `columns` in a report config.

```bash
# Clip report for every clip in the project
tinman-server /path/MyShoot.tmprjt metadata --output-dir /path/reports/ --format pdf

# Export only the clips in one bin and its sub-bins
tinman-server --bin "Day 1/A Cam" /path/MyShoot.tmprjt export --preset mov_prores422_hq --output-dir /path/exports/
```

#### JSON File Lists

A JSON file list gives each folder or clip its own settings. Pass it with `@`, like a text file list:

```bash
tinman-server @shoot.json export --preset mov_prores422_hq --output-dir /path/exports/
```

```json
{"version": 1, "items": [{"path": "/path/cards/A001", <settings>}, ...]}
```

* Each item needs `path`: a file or a folder, as a full path. On Windows, write `/` or `\\` in paths.
* Each item stands alone: a folder item covers every clip in it, and a clip item that clip, each with only that item's settings. Nothing combines: a clip in several items is opened and exported once per item. Anything an item leaves out comes from the command line.
* A bad list, key or value stops the run (exit code 3). Check a list first with `validate` (see Commands).
* A setting a clip can't take fails that clip with the reason, as a clip that won't open does, and the rest still run (exit code 10). On a folder item, the setting is skipped on the clips it doesn't fit, with one warning per item and setting.
* `copy` takes a list's paths, not its settings: a folder item copies the whole folder.
* `tinman-server --help-json-list` prints this reference, with the color space names.

**Folder items**

| Key       | Value                                                                                                                            |
| --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `exclude` | `["<full path>", ...]`: media files in the folder to leave out, spelled as the folder gives them. Each must be one of its files. |

**Export (the export command only)**

| Key            | Value                                                                                                                                      |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `exportFolder` | `"<full path>"`: where the item's clips go, instead of `--output-dir`; made if missing                                                     |
| `exportName`   | `"<name>"`, clip items only: the clip's name, instead of `--naming` (its tokens work too). No folder and no extension: the preset adds it. |

**Source**

Only to reinterpret a file: when it doesn't carry this, or carries it wrong. Most lists won't need these.

| Key               | Value                                                                                                                                                                                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `srcColorSpace`   | A color space name, in any case (see `--help-json-list`)                                                                                                                                                                 |
| `srcRange`        | `"full"` or `"video"`                                                                                                                                                                                                    |
| `srcAspect`       | Pixel aspect as `"num:den"`, e.g. `"2:1"`: whole numbers above 0                                                                                                                                                         |
| `srcFieldOrder`   | `"Progressive"`, `"Upper Field"` or `"Lower Field"` (Lower Field: SD only)                                                                                                                                               |
| `srcTimeBase`     | `"23.976"`, `"24.00"`, `"25.00"`, `"29.97"`, `"30.00"`, `"47.952"`, `"48.00"`, `"50.00"`, `"59.94"`, `"60.00"`, `"100.00"`, `"119.88"` or `"120.00"`, for files that let their time base change (mostly image sequences) |
| `srcTimecode`     | Start timecode, `"01:00:00:00"`, with a `;` separator for drop frame (`"01:00:00;00"`). Clip items only                                                                                                                  |
| `srcTimecodeRate` | `24`, `25`, `30`, `48`, `50` or `60`: the rate the timecode counts at, where Tin Man offers a choice: 24/48 for 47.952/48 media, 25/50 for 50/100, 30/60 for 59.94/60/119.88/120 (30 is 29.97 on 1001 media)             |

**In/out (clip items only)**

```json
"inOut": {"type": "timecode", "in": "01:00:01:00", "out": "01:00:02:00"}
```

| `type`       | `in` and `out`                                  |
| ------------ | ----------------------------------------------- |
| `"timecode"` | The clip's timecode, e.g. `"01:00:01:00"`       |
| `"runtime"`  | Timecode from 00:00:00:00, e.g. `"00:00:01:00"` |
| `"frames"`   | Frame numbers from 0, e.g. `30`                 |

Out is inclusive. Timecode and runtime count with the clip's timecode settings. A range that doesn't fit the clip fails it.

**Audio sync**

Syncs external audio (such as WAV) onto the video, as Tin Man's audio sync does.

```json
"audioSync": {"files": ["/path/audio/101T3.WAV"], "syncBy": "timecode", "retainVideoMetadata": false}
```

| Key                   | Value                                                                                                                |
| --------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `files`               | Clip items: the clip's audio files, as full paths. Folder items leave it out and sync the audio files in the folder. |
| `syncBy`              | `"timecode"` (default), `"inPoint"` or `"outPoint"`. In and out points use the clip's `inOut`, so clip items only.   |
| `retainVideoMetadata` | `false` (default) copies the audio's metadata (such as scene and take) into the clip; `true` keeps the video's       |

* A clip item fails if any audio file it lists doesn't sync. A folder item warns with how many of its videos got no matching audio.
* A folder's audio files that sync leave the list; a clip item's audio files are only used to sync.

**Orientation**

| Key              | Value                     |
| ---------------- | ------------------------- |
| `rotate`         | `0`, `90`, `180` or `270` |
| `flipH`, `flipV` | `true` or `false`         |

**Color correction**

```json
"cc": {"slope": [1.1, 1.0, 0.95], "offset": [0.0, 0.0, 0.02], "saturation": 1.2}
```

Every key is optional. The numbers are as the Tin Man UI shows them:

| Key                                                           | Range (default)                |
| ------------------------------------------------------------- | ------------------------------ |
| `slope`, `power`                                              | `[r, g, b]`, 0.5 to 2.0 (1.0)  |
| `offset`                                                      | `[r, g, b]`, -0.5 to 0.5 (0.0) |
| `saturation`                                                  | 0.0 to 2.0 (1.0)               |
| `contrastPivot`                                               | 0.0 to 1.0 (0.5)               |
| `brightness`, `contrast`, `shadows`, `midtones`, `highlights` | -1.0 to 1.0 (0.0)              |

**LUTs (custom 3D)**

```json
"preLut": {"file": "/path/LUTs/Show_LogC4_to_709.cube", "dstColorSpace": "709 (Scene)", "dstRange": "video"}
```

`preLut` (before the color correction) and `postLut` (after it) each need all three: `file` (a full path), `dstColorSpace` (a color space name) and `dstRange` (`"full"` or `"video"`).

**Look (output color space)**

```json
"dstColorSpace": {"colorSpace": "709 (Scene)", "range": "video", "toneMap": "hable"}
```

| Key               | Value                                                                                                                                        |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `colorSpace`      | A color space name (needed)                                                                                                                  |
| `range`           | `"full"` or `"video"` (needed)                                                                                                               |
| `hdrDiffuseWhite` | 1 to 1000 nits (203), for PQ Scene, PQ Display and HLG Display                                                                               |
| `hlgScale`        | 1 to 100 percent (75), for HLG Scene                                                                                                         |
| `toneMap`         | `none`, `reinhard`, `reinhard_extended`, `aces` or `hable`; `reinhard_inverse`, `reinhard_extended_inverse` and `aces_inverse` go SDR to HDR |
| `toneMapExposure` | 0.1 to 10.0, as the UI shows it; needs a `toneMap`                                                                                           |
| `toneMapWhite`    | 0.1 to 20.0, as the UI shows it; for `reinhard_extended`, `reinhard_extended_inverse` and `hable` only                                       |

`hdrDiffuseWhite` and `hlgScale` only matter going between HDR and SDR. Left out, the tone map values are the defaults: reinhard exposure 1.0; reinhard\_extended exposure 1.0, white 1.0; aces exposure 1.0; hable exposure 2.0, white 11.2 (the inverse types the same).

**Crop and scale**

| Key     | Value                                                                                                                   |
| ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `crop`  | `{"x", "y", "width", "height"}` in source pixels: x and y 0 or more, width and height above 0                           |
| `scale` | `{"width", "height", "fit"}`: the display size, with `fit` set to `"letterbox"`, `"crop"`, `"centercut"` or `"stretch"` |

**Metadata**

```json
"metadata": {"production": "Show", "reel": "A001", "scene": "12", "good_take": true}
```

Text keys: `company`, `production`, `episode_number`, `reel`, `roll_card`, `sound_roll`, `scene`, `shoot_day`, `comments`, `description`, `director`, `dp`, `location`, `environment`, `day_night`, `keywords`, `camera_name` and `camera_operator`, plus `clip_name`, `take` and `shot` on clip items only. `good_take` is `true` or `false`.

**Example**

A card folder, with one long clip left out of it and exported as two ranges instead:

```json
{"version": 1, "items": [
  {"path": "/path/cards/A001", "exclude": ["/path/cards/A001/A001C003.mxf"],
   "metadata": {"production": "Show", "reel": "A001"}},
  {"path": "/path/cards/A001/A001C003.mxf", "exportName": "A001C003_part1",
   "inOut": {"type": "timecode", "in": "14:20:00:00", "out": "14:29:59:23"}},
  {"path": "/path/cards/A001/A001C003.mxf", "exportName": "A001C003_part2",
   "inOut": {"type": "timecode", "in": "14:30:00:00", "out": "14:39:59:23"}}
]}
```

**Progress output**

With JSON progress, a list adds these events:

```json
{"type":"file","action":"list","file":"/path/clip.mov","status":"error","error":"srcTimeBase: the file won't take this time base"}
{"type":"warning","message":"crop skipped on 2 of 40 file(s)","item":"/path/cards/A001","key":"crop","skipped":2,"files":40}
{"type":"audio_sync","sync":"timecode","file":"/path/clip.mov","audio":"/path/audio/101T3.WAV"}
```

#### Commands

**generate-config**

Generate a default configuration file that can be customized and reused for report configs or metadata burn-in on export configs.

**Options:**

| Option          | Description                                      |
| --------------- | ------------------------------------------------ |
| `--type TYPE`   | Config type: report, burnIn-MD (default: report) |
| `--output FILE` | Output config file path (required)               |
| `--stdout-json` | Output config JSON to stdout                     |

**Example:**

```bash
tinman-server generate-config --output my-config.json
```

***

**metadata**

Extract metadata from media files and generate reports in multiple formats.

**Options:**

| Option                | Description                                                                                    |
| --------------------- | ---------------------------------------------------------------------------------------------- |
| `--config FILE`       | Filepath to JSON file for report options                                                       |
| `--config-json JSON`  | Inline JSON string for report options                                                          |
| `--stdout-json`       | Output JSON report to stdout instead of file                                                   |
| `--summary`           | Summary mode: minimal JSON output (fileName, size, codec, resolution, fps, duration, timecode) |
| `--output-dir DIR`    | Output directory for report files                                                              |
| `--name REPORTNAME`   | Name to use for the report                                                                     |
| `--type TYPE`         | Report type: clips, contactsheet (default: clips). Multiple types can be specified             |
| `--format FORMAT`     | Output format: json, pdf, html, csv, xlsx (default: pdf). Multiple formats can be specified    |
| `--html-asset-folder` | Save HTML thumbnails as separate JPEG files (creates folder)                                   |
| `--rec709`            | Convert PDF thumbnails to Rec. 709 colorspace                                                  |
| `--rec709tonemap`     | Convert PDF thumbnails to Rec. 709 colorspace with tone mapping when needed                    |
| `--header.KEY VALUE`  | Override report header fields (see below)                                                      |

**Header override fields** (used with `--header.KEY VALUE`):

* `line1`, `line2`, `line3`, `line4`
* `comments`
* `logoLightMode_path`, `logoDarkMode_path`
* `logo_alignment` (left, center, right)

**Examples:**

```bash
# PDF report (default)
tinman-server /path/footage/ metadata --output-dir /path/reports/

# CSV report
tinman-server /path/footage/ metadata --output-dir /path/reports/ --format csv

# Multiple formats at once
tinman-server /path/footage/ metadata --output-dir /path/reports/ --format csv pdf xlsx

# Contact sheet report
tinman-server /path/footage/ metadata --output-dir /path/reports/ --type contactsheet --format pdf

# Both clips and contact sheet reports
tinman-server /path/footage/ metadata --output-dir /path/reports/ --type clips contactsheet --format pdf

# HTML report with separate JPEG sidecar assets
tinman-server /path/footage/ metadata --output-dir /path/reports/ --format html --html-asset-folder

# Summary mode to stdout (minimal JSON, no file written)
tinman-server /path/footage/ metadata --summary --stdout-json

# Inline JSON config
tinman-server /path/footage/ metadata --config-json "{...}" --output-dir /path/reports/

# Using custom config file
tinman-server /path/footage/ metadata --config my-config.json --output-dir /path/reports/

# Override report header fields
tinman-server /path/footage/ metadata --output-dir /path/reports/ \
  --header.line1 "Production Title" --header.line2 "Day 1" \
  --header.logo_alignment center

# With threading
tinman-server --threads 3 /path/footage/ metadata --output-dir /path/reports/ --format csv
```

***

**export**

Export and transcode media files using system presets or custom preset files.

**Options:**

| Option                         | Description                                                                                     |
| ------------------------------ | ----------------------------------------------------------------------------------------------- |
| `--list-presets`               | List all available system export presets                                                        |
| `--preset FILE`                | Export preset (system preset name or path to custom JSON file)                                  |
| `--resolution RES`             | Preset override resolution: half, quarter, eighth                                               |
| `--max-width N`                | Preset override resolution: scale to max width, height auto-calculated                          |
| `--fixed-size W H`             | Preset override resolution: exact output width and height                                       |
| `--bitrate T M`                | Preset override bitrate: target and max bitrate in kbps, 100 to 400000 (H.264/H.265 only)       |
| `--src-resize`                 | Use source resizing when possible                                                               |
| `--burnIn-TC`                  | Burn in TimeCode                                                                                |
| `--burnIn-MD`                  | Burn in Metadata (uses conservative defaults)                                                   |
| `--burnIn-MD-config FILE`      | JSON config for per-field MD burn-in toggles                                                    |
| `--burnIn-MD-config-json JSON` | Inline JSON for per-field MD burn-in toggles                                                    |
| `--rec709`                     | Preset override output colorspace: convert to Rec. 709 colorspace                               |
| `--rec709tonemap`              | Preset override output colorspace: convert to Rec. 709 colorspace with tone mapping when needed |
| `--output-dir DIR`             | Output directory for exported files                                                             |
| `--naming PATTERN`             | Naming pattern with tokens: `{source}`, `{date}`, `{timecode}`, `{reel}` (default: `{source}`)  |
| `--index-prefix STR`           | Character before frame number for sequences: `.`, `-`, `_` (default: none)                      |
| `--index-min-size N`           | Frame padding 4-12 for sequences (default: auto)                                                |
| `--index-offset VAL`           | Starting frame: `0`, `1`, `offset`, `tc` (default: 0)                                           |

**Examples:**

```bash
# List all available presets
tinman-server export --list-presets

# Export using system preset
tinman-server /path/footage/ export --preset mov_prores422_hq --output-dir /path/exports/

# Export using custom preset JSON file
tinman-server /path/footage/ export --preset /path/my-preset.json --output-dir /path/exports/

# Export at half resolution
tinman-server /path/footage/ export --preset mov_prores422_hq --output-dir /path/exports/ \
  --resolution half

# Export scaled to a maximum width
tinman-server /path/footage/ export --preset mp4_h264_10mbps --output-dir /path/exports/ \
  --max-width 1920

# Export at an exact fixed size
tinman-server /path/footage/ export --preset mp4_h264_10mbps --output-dir /path/exports/ \
  --fixed-size 1920 1080

# Export with a custom target and max bitrate (kbps)
tinman-server /path/footage/ export --preset mp4_h264_10mbps --output-dir /path/exports/ \
  --bitrate 12000 16000

# Export with Rec. 709 colorspace conversion
tinman-server /path/footage/ export --preset mov_prores422_hq --output-dir /path/exports/ \
  --rec709

# Export with custom naming pattern
tinman-server /path/footage/ export --preset mp4_h264_10mbps --output-dir /path/exports/ \
  --naming "{date}_{source}_{timecode}"

# Export image sequence with custom frame numbering
tinman-server /path/file.R3D export --preset imageseq_dpx_10bit_rgb_be \
  --output-dir /path/exports/ --index-prefix "." --index-min-size 6 --index-offset 1

# Export with threading
tinman-server --threads 3 /path/footage/ export --preset mov_prores422_hq --output-dir /path/exports/
```

**System Export Presets**

The DNx presets (`mov_dnx_*`, `mxf_opatom_dnx_*`, `mxf_op1a_dnx_*`) are auto mode: DNxHD when the output fits a DNxHD format, otherwise DNxHR.

**Image Sequences:**

* `imageseq_dpx_10bit_rgb_be` - DPX 10-bit RGB Big Endian
* `imageseq_tiff_16bit_rgb` - TIFF 16-bit RGB

**MOV - Apple ProRes:**

* `mov_prores422_proxy` - ProRes 422 Proxy
* `mov_prores422_lt` - ProRes 422 LT
* `mov_prores422` - ProRes 422
* `mov_prores422_hq` - ProRes 422 HQ
* `mov_prores4444_yuv` - ProRes 4444 YUV
* `mov_prores4444_rgb` - ProRes 4444 RGB
* `mov_prores4444_xq_yuv` - ProRes 4444 XQ YUV
* `mov_prores4444_xq_rgb` - ProRes 4444 XQ RGB

**MOV - Avid DNxHR:**

* `mov_dnx_lb` - DNxHR LB
* `mov_dnx_sq` - DNxHR SQ
* `mov_dnx_hq` - DNxHR HQ
* `mov_dnx_hqx` - DNxHR HQX
* `mov_dnx_444` - DNxHR 444

**MOV - Samsung OpenAPV:**

* `mov_apv422_10_sq` - Samsung OpenAPV 422 10-bit SQ
* `mov_apv422_10_lq` - Samsung OpenAPV 422 10-bit LQ
* `mov_apv422_10_hq` - Samsung OpenAPV 422 10-bit HQ
* `mov_apv422_12_sq` - Samsung OpenAPV 422 12-bit SQ
* `mov_apv422_12_lq` - Samsung OpenAPV 422 12-bit LQ
* `mov_apv422_12_hq` - Samsung OpenAPV 422 12-bit HQ
* `mov_apv444_10_uq` - Samsung OpenAPV 4444 10-bit UQ
* `mov_apv444_12_uq` - Samsung OpenAPV 4444 12-bit UQ

**MOV - Passthrough:**

* `mov_passthru` - MOV Passthrough (rewrap without transcoding)

**MP4 - H.264:**

* `mp4_h264_10mbps` - H.264 10 Mbps
* `mp4_h264_20mbps` - H.264 20 Mbps

**MP4 - H.265 (HEVC):**

* `mp4_h265_main_10mbps` - H.265 Main Profile 10 Mbps
* `mp4_h265_main_20mbps` - H.265 Main Profile 20 Mbps
* `mp4_h265_main10_10mbps` - H.265 Main10 Profile 10 Mbps
* `mp4_h265_main10_20mbps` - H.265 Main10 Profile 20 Mbps

**MP4 - H.265 Main 4:2:2 (macOS only):**

* `mp4_h265_main422_8bit_10mbps` - H.265 Main 4:2:2 8-bit 10 Mbps
* `mp4_h265_main422_8bit_20mbps` - H.265 Main 4:2:2 8-bit 20 Mbps
* `mp4_h265_main422_10bit_10mbps` - H.265 Main 4:2:2 10-bit 10 Mbps
* `mp4_h265_main422_10bit_20mbps` - H.265 Main 4:2:2 10-bit 20 Mbps

**MXF OP-Atom - Avid DNxHR:**

* `mxf_opatom_dnx_lb` - MXF OP-Atom DNxHR LB
* `mxf_opatom_dnx_sq` - MXF OP-Atom DNxHR SQ
* `mxf_opatom_dnx_hq` - MXF OP-Atom DNxHR HQ
* `mxf_opatom_dnx_hqx` - MXF OP-Atom DNxHR HQX
* `mxf_opatom_dnx_444` - MXF OP-Atom DNxHR 444

**MXF OP-Atom - Passthrough:**

* `mxf_opatom_passthru` - MXF OP-Atom Passthrough

**MXF OP1a - Apple ProRes:**

* `mxf_op1a_prores422_proxy` - MXF OP1a ProRes 422 Proxy
* `mxf_op1a_prores422_lt` - MXF OP1a ProRes 422 LT
* `mxf_op1a_prores422` - MXF OP1a ProRes 422
* `mxf_op1a_prores422_hq` - MXF OP1a ProRes 422 HQ
* `mxf_op1a_prores4444_yuv` - MXF OP1a ProRes 4444 YUV
* `mxf_op1a_prores4444_rgb` - MXF OP1a ProRes 4444 RGB
* `mxf_op1a_prores4444_xq_yuv` - MXF OP1a ProRes 4444 XQ YUV
* `mxf_op1a_prores4444_xq_rgb` - MXF OP1a ProRes 4444 XQ RGB

**MXF OP1a - Avid DNxHR:**

* `mxf_op1a_dnx_lb` - MXF OP1a DNxHR LB
* `mxf_op1a_dnx_sq` - MXF OP1a DNxHR SQ
* `mxf_op1a_dnx_hq` - MXF OP1a DNxHR HQ
* `mxf_op1a_dnx_hqx` - MXF OP1a DNxHR HQX
* `mxf_op1a_dnx_444` - MXF OP1a DNxHR 444

**MXF OP1a - Sony XAVC (Windows only):**

* `mxf_op1a_xavchd_intra_interlaced_class100cbg` - XAVC HD Intra Interlaced Class 100
* `mxf_op1a_xavchd_intra_progressive_class100cbg` - XAVC HD Intra Progressive Class 100
* `mxf_op1a_xavc2k_intra_class100cbg` - XAVC 2K Intra Class 100
* `mxf_op1a_xavcqfhd_intra_class300cbg` - XAVC QFHD Intra Class 300
* `mxf_op1a_xavcqfhd_intra_class480cbg` - XAVC QFHD Intra Class 480
* `mxf_op1a_xavc4k_intra_class300cbg` - XAVC 4K Intra Class 300
* `mxf_op1a_xavc4k_intra_class480cbg` - XAVC 4K Intra Class 480

**MXF OP1a - Passthrough:**

* `mxf_op1a_passthru` - MXF OP1a Passthrough

***

**thumbnail**

Generate thumbnail JPEG images with extensive control over size, quality, timing, and naming. **This command is currently free**

**Options:**

| Option                    | Description                                                                     |
| ------------------------- | ------------------------------------------------------------------------------- |
| `--output-dir DIR`        | Output directory for thumbnails (required, created if needed)                   |
| `--size WIDTH`            | Max width in pixels, height maintains aspect (120-1024, default: 320)           |
| `--quality N`             | JPEG quality 1-100 (default: 85)                                                |
| `--startframe FRAME`      | Starting frame number (default: 0, overrides --starttimecode)                   |
| `--starttimecode TC`      | Starting timecode (default: first frame)                                        |
| `--time-interval SECONDS` | Generate thumbnail every N seconds (default: single frame)                      |
| `--time-count N`          | Max number of thumbnails per file (default: 1)                                  |
| `--position-count N`      | Generate N evenly distributed thumbnails (min: 2, overrides time-based options) |
| `--rec709`                | Convert thumbnails to Rec. 709 colorspace                                       |
| `--rec709tonemap`         | Convert thumbnails to Rec. 709 colorspace with tone mapping when needed         |
| `--usesubdirs`            | Create subdirectory per source file (batch mode only)                           |
| `--fileoverwrite`         | Overwrite existing thumbnail files (default: skip with error)                   |
| `--nameprefix NAME`       | Prefix to add before source filename (default: none)                            |
| `--nameseparator SEP`     | Separator: none, dash, dot, underscore (default: underscore)                    |
| `--nameindex TYPE`        | Index type: frame, timecode, sequence (default: sequence)                       |

**Position-based generation examples:**

* `--position-count 3` = 0%, 50%, 100% (start, middle, end)
* `--position-count 6` = 0%, 20%, 40%, 60%, 80%, 100%

**Examples:**

```bash
# Single thumbnail per file at default size (320px)
tinman-server /path/footage/ thumbnail --output-dir /path/thumbs/

# Three evenly distributed thumbnails (start/middle/end)
tinman-server /path/footage/ thumbnail --output-dir /path/thumbs/ --position-count 3

# Six evenly distributed thumbnails
tinman-server /path/footage/ thumbnail --output-dir /path/thumbs/ --position-count 6

# Five thumbnails with 1 second intervals, organized in subdirectories
tinman-server /path/footage/ thumbnail --output-dir /path/thumbs/ \
  --time-count 5 --time-interval 1.0 --usesubdirs

# Custom naming with prefix and timecode index
tinman-server /path/file.R3D thumbnail --output-dir /path/thumbs/ \
  --nameprefix Dailies --nameindex timecode

# High resolution with Rec. 709 Tone-Mapping conversion
tinman-server /path/file.braw thumbnail --output-dir /path/thumbs/ \
  --startframe 100 --size 1024 --quality 95 --rec709tonemap
```

***

**copy**

Copy files and folders with xxHash64 checksum verification. An MHL file is written to the output folder. **This command is currently free**

**Options:**

| Option             | Description                                                                                  |
| ------------------ | -------------------------------------------------------------------------------------------- |
| `--output-dir DIR` | Destination directory (required)                                                             |
| `--overwrite`      | Overwrite existing files (default: an existing file is left as it is and reported as failed) |

A folder is copied whole under its own name, to `<output-dir>/<folder name>/...`: every file and subfolder, sidecar files and empty folders included, so camera cards keep their structure. A single file goes to `<output-dir>/<file name>`. Hidden and system files (`.DS_Store`, `._*`, `Thumbs.db`, `desktop.ini`) are skipped. Copies keep the source files' modified dates.

**Examples:**

```bash
# Copy single file with verification (to /path/backup/input.R3D)
tinman-server /path/input.R3D copy --output-dir /path/backup/

# Copy a camera card folder (to /path/backup/A001/...)
tinman-server /path/cards/A001/ copy --output-dir /path/backup/

# Copy with threading for speed
tinman-server --threads 5 /path/footage/ copy --output-dir /path/backup/

# Overwrite existing files
tinman-server /path/footage/ copy --output-dir /path/backup/ --overwrite
```

***

**validate**

Check JSON file lists without opening any media or running anything. It reads each list as a run does and checks that every item's path is there, then prints `List OK: <list>: N item(s), M media file(s)` or the first problem. An image sequence counts each of its frames. Exit code 0 if every list is good, 3 if not. It takes JSON lists only, has no options, and runs on its own.

**Example:**

```bash
tinman-server @shoot.json validate
```

***

#### Command Chaining

Multiple commands can be executed in a single invocation:

```bash
# Generate both metadata report and thumbnails
tinman-server /path/input.R3D metadata --output-dir /path/reports/ thumbnail --output-dir /path/thumbs/
```

#### Progress Output

By default, Tin Man Server writes JSON progress events to stderr for automation, each line starting with `STATUS:` :

```bash
# JSON progress (default)
tinman-server /path/footage/ metadata --output-dir /path/reports/

# JSON lines on stdout, without the STATUS: prefix
tinman-server --progress=ndjson /path/footage/ metadata --output-dir /path/reports/

# Human-readable progress
tinman-server --progress=no-json /path/footage/ metadata --output-dir /path/reports/
```

The JSON progress output includes file processing status, progress percentage, errors and warnings, operation results, and timing metrics. Progress updates are throttled to 10% increments for batch operations to reduce output volume. With `--progress=ndjson`, stdout holds only the JSON events and any human-readable text stays on stderr. It can't be combined with `metadata --stdout-json`, which also writes to stdout. A copy's results include `total_bytes`, and an `mhl` event gives the MHL file's path. For a JSON file list's events, see JSON File Lists.

#### Exit Codes

| Code | Meaning                                                                                     |
| ---- | ------------------------------------------------------------------------------------------- |
| 0    | Success                                                                                     |
| 1    | Error, or every file failed                                                                 |
| 2    | Cancelled                                                                                   |
| 3    | Usage error: unknown command or option, bad value or combination, or a bad JSON file list   |
| 4    | No input: no supported files found, none could be opened, or the project couldn't be loaded |
| 10   | Partial failure: some files failed, the rest succeeded                                      |

#### Claude Plugin

Tin Man Server also includes a Claude plugin that exposes all commands through natural language in the Claude desktop app and Claude Code, including JSON file lists. See the [GitHub repository](https://github.com/calibratedsoftware/tinman-server-claude-plugin) for installation.

#### Other MCP Clients

To connect Tin Man Server to any MCP-compatible client, add the following entry to your client's MCP configuration file.

**Windows:**

```json
"tinman-server": {
  "command": "C:\\Program Files\\Calibrated\\Tin Man\\python\\python.exe",
  "args": ["C:\\Program Files\\Calibrated\\Tin Man\\MCP\\tinman_server_mcp.pyc"]
}
```

**macOS:**

```json
"tinman-server": {
  "command": "/Applications/Calibrated Tin Man.app/Contents/PlugIns/Frameworks/Python.framework/Versions/3.14/bin/python3",
  "args": ["/Applications/Calibrated Tin Man.app/Contents/Server/tinman_server_mcp.pyc"]
}
```

#### Tips

* Press `Ctrl+C` to cancel any running operation
* Use `--threads` to process multiple files concurrently (max 10)
* The `copy` command is currently free
* The `thumbnail` command is currently free
* File inputs are processed recursively by default; use `--no-recursive` to process only top-level files
