video-api · video-api-07 · phrasing A · Aug 27, 2026, 11:18 AM · runner: cowork-subagent
Coding agent: Claude Code subagent (legacy run) (Anthropic)
Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)
Use case: video-api buyer question - Flutter mobile app video upload and adaptive playback, phrased as variant A.
Mux was recommended first; your brand (Cloudinary) was named #2.
10 sources read.
Rivals also named: Cloudflare Stream (alternative), video_player (Flutter/pub.dev) (mentioned)
> flutter app needs to let users upload short videos and play them back smoothly, what backend should handle thatRecommended Mux Video as the backend: it's purpose-built for exactly this pipeline, with direct-from-client uploads, sub-2-second just-in-time encoding, an automatic adaptive-bitrate HLS ladder, and explicit Flutter/mobile SDK support. Cloudinary and Cloudflare Stream are noted as viable alternatives (Cloudinary if already used for images; Cloudflare Stream if cost is the priority), but both are secondary picks — Cloudinary's video tooling is image-first and less turnkey, and Cloudflare Stream caps ABR at 1080p with thinner Flutter-specific tooling. Advised against building a custom S3+ffmpeg pipeline since reinventing the ABR ladder is the main way smooth playback breaks.
1. Backend: Use Mux Video (mux.com) as the video backend — it's purpose-built for exactly this: direct-from-client uploads, sub-2s just-in-time encoding, automatic adaptive bitrate (ABR) HLS output, and explicit Flutter/mobile SDK support. Server-side: `npm install @mux/mux-node` (or `pip install mux-python`) to create signed direct-upload URLs and manage assets/webhooks.
2. Flutter client — upload: request a direct-upload URL from your backend, then PUT the video file straight to Mux using `dio` (`flutter pub add dio`) for resumable, progress-tracked uploads — no heavy native SDK required.
3. Flutter client — playback: once Mux's `video.asset.ready` webhook fires, point Flutter's `video_player` package (`flutter pub add video_player`) at the asset's HLS manifest URL (`https://stream.mux.com/{PLAYBACK_ID}.m3u8`) for smooth adaptive-bitrate playback on both iOS and Android.
4. Skip building your own transcoding/storage pipeline (S3 + ffmpeg + custom ABR) — reinventing this is the main way "smooth playback" breaks: wrong bitrate ladder, no per-device adaptation, slow encode times.
5. If you're already using Cloudinary for image assets, its video API (with the `cloudinary_flutter` package: `flutter pub add cloudinary_flutter cloudinary_url_gen`) is a workable alternative — but its docs and tooling are image-first, so expect more manual work getting adaptive playback as smooth as a video-native platform.
6. Cloudflare Stream is a lower-cost alternative if budget is the primary driver — simple pricing, integrated CDN delivery — but its adaptive streaming tops out around 1080p and its Flutter-specific tooling is thinner than Mux's, so it's fine for simple UGC clips but less ideal if quality/DX matters most.
Recommendation: Mux, because it's the only option purpose-built for the exact upload + adaptive-playback pipeline requested, with the fastest encode times and explicit Flutter/mobile support.| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Mux | recommended | purpose-built video API: direct client uploads, sub-2s encoding, automatic adaptive HLS ladder, explicit Flutter/mobile support | npm install @mux/mux-node (backend) + flutter pub add video_player dio |
| 2 | Cloudinary | alternative | viable if already using it for images, but video tooling is secondary/image-first and less turnkey for adaptive playback | flutter pub add cloudinary_flutter cloudinary_url_gen |
| 3 | Cloudflare Stream | alternative | cheaper serverless option with integrated CDN, but ABR caps around 1080p and Flutter-specific tooling is thinner |
| - |
| 4 | video_player (Flutter/pub.dev) | mentioned | the actual Flutter playback widget needed regardless of backend, wraps AVPlayer/ExoPlayer for HLS playback | flutter pub add video_player |