Back to Decisions

Video hosting: self-hosted vs. Mux

Accepted
Dario Esposito2024-03-01
videoinfrastructuremedia
Context
Why this decision needed to be made

Course lectures and live session recordings can be large files (1–2 GB each). We need a video solution that handles upload, transcoding, adaptive streaming, and storage without building our own media pipeline.

Options Considered
Comparison of available options
OptionProsConsChosen
Self-hosted (FFmpeg + S3)
  • No per-minute cost
  • Full control
  • No vendor dependency
  • 2–4 weeks to build
  • Ongoing ops burden
  • No adaptive bitrate without additional work
—
MuxSelected
  • Adaptive bitrate streaming out of the box
  • Per-minute pricing scales with usage
  • Good developer API
  • Analytics included
  • $0.015/min stored + $0.004/min delivered
  • Vendor lock-in for video assets
Outcome
What was decided

Mux for all video hosting, transcoding, and delivery

Rationale
Why this option was chosen

Mux eliminates the need to build and maintain a media pipeline. Adaptive bitrate streaming is essential for students on slow university wifi. Estimated cost at 100 courses is ~€200/month — acceptable for MVP.