Skip to content

ittybit step mux

Combine video and audio tracks

Mux video and audio tracks into a single container via stream copy.

Each -v and -a must be a JSON source object. Input URLs can be local paths, HTTP/HTTPS URLs, or S3 URIs.

ittybit step mux
-v ’{“object”:“source”,“kind”:“video”,“url”:“s3://bucket/video.mp4”,…}’
-a ’{“object”:“source”,“kind”:“audio”,“url”:“s3://bucket/audio.aac”,…}’
-o /tmp/final.mp4

ittybit step mux [flags]
-a, --audio stringArray Audio input as JSON source object (repeatable)
--format string Output container format: mp4, webm, mov
-h, --help help for mux
-v, --video stringArray Video input as JSON source object (repeatable)
--cloud Run on Ittybit cloud infrastructure instead of locally
--connection string Connection name to use
--debug Show debug output including ffmpeg commands and stderr
--json Output as JSON
-o, --output string Output file path
--tty Output as human-readable text