adaptive

ittybit adaptive -i video.mp4 -o stream.m3u8

Creates an HLS stream. Players switch quality based on viewer bandwidth. Output must be .m3u8. Adaptive streams prevent buffering for users on slow connections.

Options

FlagValuesDefault
--startseconds
--endseconds

Examples

ittybit adaptive -i video.mp4 -o output/stream.m3u8

Trim before streaming:

ittybit adaptive -i video.mp4 -o trimmed.m3u8 --start 10 --end 120

From S3 to S3:

ittybit adaptive -i s3://bucket/raw/video.mp4 -o s3://bucket/streams/stream.m3u8 --connection my-s3

Cloud

Run on Ittybit infrastructure instead of locally:

ittybit adaptive -i https://example.com/video.mp4 --cloud

Requires ITTYBIT_API_KEY. The file is processed remotely and the output URL is returned.

See also

  • API POST /tasks with kind: "adaptive_video" — create HLS streams via HTTP
  • video — produce a single-file MP4 instead
  • connections — set up S3 for input/output