Design Video Upload and Transcoding for Microsoft Stream
Last updated: November 29, 2026
Quick Overview
Design the pipeline that lets employees upload meeting recordings and videos to Microsoft Stream, transcodes them into adaptive bitrate renditions, generates thumbnails and transcripts, and makes them playable quickly.
Microsoft
November 29, 20260
0
0 solved
Design the pipeline that lets employees upload meeting recordings and videos to Microsoft Stream, transcodes them into adaptive bitrate renditions, generates thumbnails and transcripts, and makes them playable quickly.
A media pipeline question scoped for a screen: the interviewer checks resumable uploads, an asynchronous job DAG, adaptive streaming outputs, and enterprise concerns like permissions and retention policies that come with SharePoint-backed storage.
What the Interviewer Expects
- Uses resumable chunked uploads directly to storage
- Triggers an asynchronous processing workflow per video
- Transcodes into multiple renditions with HLS or DASH packaging
- Runs thumbnails, transcription and indexing as parallel steps
- Serves playback through a CDN with access checks
- Exposes processing status to the user
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How can a user start watching before all renditions are finished?
- A 3 hour recording upload fails at 90 percent. What happens?
- How do you keep a confidential video from being played by someone without access?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Videos from minutes to hours, up to several GB. Upload must survive network drops. Video playable within a few minutes of upload. Renditions from 240p to 1080p. Transcripts and captions for search. Ac...
High-Level Design
- Client requests an upload session and gets a URL to blob storage; it uploads chunks (say 10 MB) and commits.
- Commit fires an event to a workflow orchestrator, which creates a job DAG: pr...