Skip to Content

ClipMux documentation

ClipMux is self-hosted video infrastructure, an open-source alternative to Mux and Cloudflare Stream.

ClipMux lets any app upload a video, get a playback ID, and stream it to every device as encrypted HLS: from your own storage, encoded on your own GPU or one you rent by the minute, behind playback tokens your backend signs.

It's one Go binary and Postgres. Storage, encoding and delivery each sit behind an adapter. You can move from a disk to R2, or from your server to a cloud GPU, and the API your apps call stays the same.

Choose a path

Start here

What ClipMux does

  • Uploads that resume. Browsers send parts straight to storage, and a dropped connection picks up where it left off.
  • Encoding up to 4K, on the server's GPU or CPU, a PC you own, or a cloud GPU on Modal or RunPod under a monthly spend limit.
  • Encrypted HLS, with keys derived when a signed viewer asks, never stored.
  • Subtitles and chapters, from whisper.cpp on your own machines, or a speech API and an LLM you choose.
  • Apps, keys and webhooks, so each app has its own credentials.
  • Share links and analytics: views, watch time and unique viewers.

And what it doesn't: it isn't DRM, it runs as a single replica, and it doesn't do live streaming. Limitations has the full list.

Licence

The server is AGPL-3.0. The packages your app embeds, @clipmux/node, @clipmux/player and @clipmux/uploader, are MIT.

On this page