Back to Decisions
Video hosting: self-hosted vs. Mux
AcceptedDario 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
| Option | Pros | Cons | Chosen |
|---|---|---|---|
Self-hosted (FFmpeg + S3) |
|
| — |
MuxSelected |
|
|
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.
Linked Requirements
Requirements affected by this decision
Referenced Files
Documents related to this decision