Skip to content

Docs

How ProvidentialMedia works, including the exact formulas.

Use the planner

  1. Camera angles: how many synchronized feeds you publish, 1–16. Each angle is encoded with the full ladder.
  2. Top rendition: the highest rung you encode. Every lower rung of the ladder is encoded too, so players can step down on slow connections.
  3. Audio track: kbps of the audio that goes with each angle (stereo AAC is commonly 96–160 kbps). Enter 0 if audio rides on another feed.
  4. Total viewers, peak at once and watch time each: from your ticketing, past events or a guess. Peak at once can't be more than total viewers.
  5. Angles on screen: 1 if viewers switch between angles; 2–4 if your player shows several at the same time.
  6. Rendition a viewer typically gets: the rung most viewers settle on. Your player analytics show this; otherwise 720p is a fair middle.
  7. Your CDN price: USD per GB from your own contract or your provider's public price list. Leave it empty to skip cost. The example plan is only there so the page has numbers.
  8. Copy summary puts a plain-text version of the plan on your clipboard.

The math

  1. Units: 1 kbps = 1,000 bits per second, 1 GB = 10⁹ bytes, 1 TB = 1,000 GB.
  2. Per angle = the sum of every video rung up to the top rendition + the audio track. Origin output = per angle × angles.
  3. Recording, all angles = origin output × event length in seconds ÷ 8 (bits → bytes).
  4. Per viewer = typical rendition × angles on screen + one audio track.
  5. Peak egress = peak viewers at once × per viewer.
  6. Data delivered = total viewers × watch time in seconds × per viewer ÷ 8. CDN cost = data delivered × your price per GB.
  7. Ladder (H.264, 16:9, kbps), from Apple's HLS Authoring Specification for Apple Devices, item 1.25 (https://developer.apple.com/documentation/http-live-streaming/hls-authoring-specification-for-apple-devices): 416×234 145 · 640×360 365 · 768×432 730 · 768×432 1,100 · 960×540 2,000 · 1280×720 3,000 · 1280×720 4,500 · 1920×1080 6,000 · 1920×1080 7,800.
  8. Not included: segment and manifest overhead, retries, ads, DRM, contribution feeds from the venue, transcoding cost and per-request CDN fees. Real bitrates also vary with codec and content. Treat the result as arithmetic, not a quote.

Account and workspace

  1. Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
  2. You land in your workspace at /app. The planner there keeps your last plan in this browser (localStorage); clearing site data removes it.
  3. Use Log out in the top bar when you are done on a shared device. To delete your account, email hello@providentialmedia.io.

Account API

  1. POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
  2. POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
  3. GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
  4. Requests that change data must come from the same origin (cookie session, no API keys). The planner itself has no API — it runs in your browser.

ProvidentialMedia is a planning calculator, not a streaming, encoding or CDN service. It does not sell or recommend any vendor, and nothing here is a quote.