CLI Reference

View Markdown

The CLI processes media on Ittybit cloud by default. Add --local to run on your own machine using FFmpeg โ€” same flags, same output, no code changes.

brew install ittybit/tap/ittybit
ittybit health

Commands

CommandWhat it does
videoTranscode, resize, trim, change codec
audioExtract audio from video, convert formats
imageConvert images, extract frames from video
animationExtract animated clips (GIF/WebP) from video
adaptiveCreate HLS adaptive bitrate streams
taskRun a single operation (probe, import, encode, export)
jobsCreate or list jobs via the API
connectionsManage S3 storage connections

For the HTTP API equivalent of these commands, see the API Reference. The CLI accepts the same options as POST /jobs.

Global flags

FlagShortDescription
--input-iInput file or URL
--output-oOutput file or S3 URL
--localRun locally using FFmpeg instead of cloud
--asyncReturn immediately, donโ€™t wait for completion
--jsonMachine-readable JSONL output
--ttyHuman-readable output
--connectionS3 connection name
--debugShow debug output (ffmpeg commands and stderr locally; forwards debug-severity logs from cloud jobs)

Output mode is auto-detected: terminal gets TTY, pipe gets JSON.

Guides