Global options

Every command accepts these. Command-specific options are listed on each command's page.

FlagMeaningDefault
-o, --output <path>Output path; - for stdout; templates {name} (input file stem), {stem} (output role, e.g. vocals), {index} (batch item), {ext}, {command}<input>.<command>.<ext> beside the input
--outdir <dir>Output directory, required for batch runs without a template—
--format <fmt>Output container when the extension is ambiguous or output is stdoutfrom the extension
--input-format <fmt>Format of stdin—
--jsonStructured result on stdout, nothing else on stdoutoff
--progress auto|none|bar|jsonProgress on stderr; json is one NDJSON event per lineauto
-q, -v, -vvLog verbosity on stderrwarnings
--threads <n>CPU threadsall cores
--device auto|cpu|cuda|coreml|directmlInference deviceauto
--deterministicBit-exact CPU results; fixes the thread countoff
--seed <n>Seed for stochastic steps (dither, humanize, test-time augmentation)0
--offlineFail instead of using the networkoff
-y, --yesAllow model downloadsoff
--overwriteReplace an existing outputoff
--in-placeWrite back to the input, keeping <input>.bakoff
--no-sidecarSkip the <output>.ferraus.json provenance filesidecar on
--dry-runResolve parameters and print the plan without processingoff
--explainOne line per resolved parameter: what it does and why it was chosenoff
--forceRecompute even if an identical output already existsoff
--sample-rate, --bit-depth, --channels, --bitrateOutput encoding overridesmatch input; lossy 192k
--config <path>Alternate config fileplatform default
--sound-path <dir>Extra instrument/sound folder (repeatable; also FERRAUS_SOUND_PATH)registry + standard plugin dirs
--bpm <n>Tempo for beat-based valuesdetected when needed
--asyncRun in the background and print a job id (see ferraus jobs list and ferraus jobs wait)off
--timeout <time>Cancel after this long (exit code 8)none
--max-memory <size>Memory budget before offline stages spill to disk2GB

Exit codes

CodeMeaning
0Success
1Processing failed
2Usage or parameter error
3Input missing or unreadable
4Unsupported format or codec
5Model not cached and downloads disabled
6Model download or verification failed
7Plugin crashed, timed out, or was not found
8Cancelled (including --timeout)
9Output verification failed
10Network error
70Internal error (a bug)