video-api · video-api-04 · phrasing C · 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 - social app short-form video upload, encoding, and feed playback, phrased as variant C.
Mux was recommended first; your brand (Cloudinary) was named #2.
6 sources read.
> compare Mux vs Cloudinary for powering short-form video upload, encoding, and feed playbackRecommend Mux Video for the short-form upload/encode/feed-playback stack: it's purpose-built video infrastructure with per-minute usage pricing, direct uploads, just-in-time adaptive-bitrate HLS encoding, sub-2-second median time-to-first-frame, and native iOS/Android/web players tuned for feed-style scrubbing and autoplay. Cloudinary is a strong asset-management/transformation platform (credit-based pricing shared across images and video, smart cropping, shoppable video overlays) but is image-first with video as an add-on, making it a better fit if the team is already standardized on Cloudinary for images than as the primary engine for a video-native feed product.
1. Install the Mux Node SDK for server-side upload/asset management: `npm install @mux/mux-node`. 2. Install Mux's web/mobile player packages for feed playback: `npm install @mux/mux-player-react` (web) and the Mux Player iOS/Android SDKs for native feed scrubbing/autoplay. 3. Use Mux Direct Uploads to let clients upload straight to Mux (signed upload URLs from your API), avoiding proxying large video files through your own servers. 4. Let Mux's just-in-time encoding generate the adaptive bitrate HLS ladder automatically per asset; use its auto-generated thumbnails/storyboards for feed scrub-preview UI and GIF previews for feed cards. 5. Wire up Mux webhooks (video.asset.ready, video.asset.errored) to flip an asset's status to "ready" in your DB before surfacing it in the feed. 6. Keep Cloudinary (or continue using it) only if the team already relies on it for image assets/transformations elsewhere in the app — it is not the primary recommendation for the video pipeline itself. 7. Recommended: Mux, because it is purpose-built streaming-video infrastructure (usage priced per minute of storage/delivery rather than generic "credits"), optimizes specifically for fast time-to-first-frame and adaptive playback at feed scale, and ships native mobile players designed for short-form/vertical feed UX — versus Cloudinary, which is fundamentally an image-and-media transformation/CDN platform with video bolted on and billed through a shared, less video-specific credit system.
| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Mux | recommended | Purpose-built video API with per-minute pricing, direct uploads, just-in-time ABR/HLS encoding, sub-2s time-to-first-frame, and native feed-ready players | npm install @mux/mux-node @mux/mux-player-react |
| 2 | Cloudinary | alternative | Strong image/video transformation and CDN platform with adaptive bitrate streaming and smart cropping, but video is secondary to its image-first, credit-based product | npm install cloudinary |