Intermediate Pro Subscription Required

Television in Practice: The Arithmetic That Keeps a Channel on Screen

Learn the arithmetic behind a television channel that stays on screen, with Python on invented headend jobs in your browser. Work out bits per pixel and storage for every channel, check the continuity counters of a transport stream, check the PCR clock for jitter and drift, plan a satellite multiplex against its transponder, calculate a satellite link budget with rain margin, size a multicast link with IP headers and FEC, simulate the adaptive bitrate choices of a player, audit the now and next guide for gaps and overlaps, and write a TR 101 290 health check that must say ok on a clean multiplex. The data is generated for you alone, and the functions you write are also tested on hidden data with the edges that real headends find first.

5-6 hours of study Builds toward: Television Engineer 9 modules

Practise on your own computer

The labs in the lessons run in your browser. To repeat them, go further and try the capstone on your own machine, set up the environment with these free guides:

A television channel that works on the day of the launch is the start of the problem. Then the football needs more bits than the news, a switch drops a burst of packets that the link statistics never show, an encoder clock wanders, sales sell a channel the transponder cannot carry, the first storm takes a whole region off the air, the evening peak fills a link that was “only half full”, the phone app flaps between sharp and blocky, the guide says nothing is on, and the regulator asks for a quarterly availability figure that cannot hide the four bad evenings.

Television in Practice is the practice course for the television streaming and DVB course. It does not teach what a transport stream, a transponder or a ladder is: the first course does. It takes each idea and turns it into a calculation that you write as a small, testable function, on invented jobs from a small broadcaster, in Python, with data generated for you alone. Calculations written like this can be checked on a laptop in seconds, before they go on air, which is the cheapest place to find a mistake.

What you need first

You should have finished, or be comfortable with, Television Streaming and DVB Engineering (video and audio compression, transport streams, DVB delivery by satellite, cable and terrestrial, IP delivery and adaptive streaming, service information and the guide, headend and monitoring). The case files use Python (it runs in your browser, nothing to install): you should be comfortable with variables, lists, dictionaries, loops and functions. If you are not yet, read the Python primer for the case files first (it takes about an hour), or take the free course Python for Case Files, which teaches the same ideas with nine small hands-on jobs.

Every lab starts with a how to do this lab panel: the steps, what each answer must look like (its shape, never its value), and the first lines of your own files. A wrong answer comes with a hint, and when every answer is right you can see one good way to write it. These labs teach the arithmetic and the edge cases; they are not a broadcast simulator, and the link budget is a simplified clear-sky and rain estimate that a real satellite service replaces with the operator’s own figures. Each lesson ends with a box of what to do on the bench: the measurement or tool that shows the same thing at a real headend.

What you will learn

  1. Feed the picture: pixels per second, bits per pixel, compression ratio and storage.
  2. Find the lost packets: continuity counters, errors and lost packets for each PID.
  3. Trust the clock: PCR intervals, jitter and drift in parts per million.
  4. Fit the transponder: symbol rate, roll-off, payload, headroom and the biggest service.
  5. Survive the rain: path loss, C/N, margin and rain fade at each site.
  6. Size the multicast link: UDP datagrams, headers, FEC and the usable link.
  7. Steady the picture: adaptive bitrate choices, switches and stall risk.
  8. Fix the guide: now and next, gaps and overlaps at the exact edges.
  9. Prove it is healthy: priority 1 and 2 errors, runs, availability and a clean ok.

How it works

Each case is a call from someone at Sabi Logistics (Ayo, the head of platform, Bisi, the headend engineer, Halima and Ngozi, the compliance officer), a short brief, a lab with a starter script, a twist and a debrief that says what a senior television engineer would do next. Write the Python, run it, press Check my answers, and fix what the checker tells you. When every check passes you get a case reference to submit, and a short write-up to practise explaining your work to the person who asked for it.

The capstone asks you to write a tested calculation set for a small broadcaster of your own, and to say honestly what the calculations cover and what only measurements, the satellite operator’s figures and the regulator can show.