Choose an upload method
Compare the ways a video gets into ClipMux, from a drop zone in your app to a URL import or a terminal, and pick the one that fits.
Every method below ends in the same place: a video that encodes, sends your
webhook video.asset.ready, and plays through its playback ID. They differ
in where the file starts and who sends it. Whichever you pick, the file goes
straight to storage, and an API key never reaches a browser.
| Method | The file starts | Use it when |
|---|---|---|
| The browser element | On a user's device | Your users upload from your app, and a ready-made drop zone with progress, Cancel and Retry is enough. |
| Headless | On a user's device | You want your own upload interface, or a client other than a web page. |
| Import from a URL | On a public URL | The file is already online, for example in another bucket or on the video host you are leaving. |
| The command line | On your machine | You're testing an integration, or loading a folder of existing videos. |
| The dashboard | On the owner's machine | The server's owner adds a video by hand, without any app code. |
Uploads and imports through the API take the same options: passthrough
(your own ID), title, playback_policy, generate (subtitles and
chapters) and renditions. The command lines take a subset of them, as
flags.
Upload from the browser
Headless uploads and Uppy
Import from a URL
Upload from the command line
Link videos to your records
Choose renditions
Limits
An upload may be up to 312.5 GiB (10,000 parts of 32 MiB), or less if the server's owner set a lower limit. An upload left idle for 24 hours expires. See Limits and defaults.
Next
- Your first video with curl: the upload routes by hand
- A video's lifecycle
- Receive webhooks