CPU: roughly one core per transcoded rendition
The project's rule of thumb, drawn from its own tests, is that one CPU core handles about one transcoded output at 30 fps, that 60 fps costs roughly twice as much, and that passthrough (sending your encoder's video on untouched) costs very little. The number of viewers does not change the encoding load. Applied to common setups, with an allowance for the operating system, the reverse proxy and some headroom, that gives:
| Renditions offered | Transcoding load (theoretical) | vCPU to plan for |
|---|---|---|
| Passthrough only | close to zero | 1–2 |
| Passthrough 1080p + 720p30 | about 1 core | 2–3 |
| Passthrough 1080p + 720p30 + 480p30 | about 2 cores | 4 |
| Transcoded 1080p60 + 720p60 + 480p30 | about 5 cores | 6–8 |
These figures are theoretical. vCPU performance differs between hosts, and resolution, bitrate and x264 preset all move the result. Passthrough alone is tempting and usually the wrong choice: in the project's own worked example, a single 5,000 kbps passthrough stream left 8 of 25 viewers buffering or unable to watch at all. A second rendition at 1,000–2,000 kbps is what keeps a stream watchable for people on mobile data or a weak connection.
Start with passthrough plus one 720p30 rendition, watch the hardware graph in Owncast's admin during a real broadcast, and add a third rendition only if the load stays comfortably below the vCPU count.
