techdiagrams.net
← All templates

Video streaming pipeline

Upload → transcode fan-out across renditions → fan-in packaging → origin → multi-CDN delivery with health-scored failover.

Open in editor — free, no login Download JSON
PIPES & FILTERS — EVERY STAGE RESTARTABLEresumable uploadnew master → jobsfan-out renditionsfan-in: wait-for-allpublishpull-throughHLS segmentsfailover on health scoreCreatoruploads 4K masterUpload Serviceresumable chunksMasters Bucketraw originalsTranscode Orchestratorjob graph per title1080p EncoderH.264/HEVC720p / 480p Encoderladder renditionsAudio + CaptionsAAC · WebVTTPackagerwaits for ALL renditionsOriginsegments + manifestsCDN — provider Aprimary · 92% hitCDN — provider Bfailover · warmVieweradaptive bitrate playerwhy fan-in waits for all:a manifest referencing a missing renditionis a player error in the wild — ship thetitle late, never broken

What this design does

Video is a pipeline problem wearing a media costume: one master file fans out to parallel transcode stages (1080p, 720p, audio, captions — pipes and filters, each independently restartable), fans back in at the packager that won't cut a manifest until every rendition exists, and lands on an origin that only CDNs may touch. Two CDNs, health-scored, mean a provider's bad day costs you a failover, not an outage.

The patterns it composes

Import it, attach your own numbers, and verify the design against failures — or read the engineering notes.