← Course hubReboot AVIP Video Engineering — designed edition
Reboot AV

IP Video Engineering

Chapter 01

Introduction

Two books in this series come before this one and both are about the network. One teaches you to configure the switch; the other teaches you to design what the switch sits in. This book is about the thing travelling through it, which turns out to be the part nobody covers.

That gap is real and it shows up on jobs. A video engineer who knows networking can tell you the link is at 40 per cent and the multicast table is correct, and still not be able to say why one screen is tearing and five are not. Answering that needs the other half: what the signal actually is, how it was cut into packets, what the codec threw away, how the receiver rebuilds the timing, and what each failure looks like on a screen.

So this book goes down rather than out. It takes resolution, frame rate, colour sampling and bit depth and shows how they become a bit rate. It takes the pixel group — the unit an uncompressed essence is built from — from the specification that defines it. It takes the codecs and says what each one trades. And it spends two chapters on artefacts and measurement, because reading a fault backwards from the screen is the skill that distinguishes an engineer from somebody who swaps boxes.

It assumes both networking books. Where a network setting matters, it is named and those books are cited rather than repeated.

Chapter 02

How to Use This Book

Read it in order the first time. It follows the signal: what it is, how it is carried, what compression does to it, which standards wrap it, how its timing is kept, how it fails, and how to measure any of that.

Keep a notebook

Record every artefact you ever see, with three things beside it: what it looked like, what it turned out to be, and what measurement proved it. Artefacts repeat. Video faults are a small vocabulary of appearances with a small vocabulary of causes, and your own list of which went with which is the fastest diagnostic tool you will ever own.

A note on the words

Broadcast and AV use different words for the same things and this book is written across that line. An "essence" is a single stream of one kind of content — broadcast's word, and the right one once video, audio and data travel separately. A "feed" in AV is usually what broadcast calls a "source" or a "signal". "Sync" means timing reference to a broadcast engineer and lip-sync to most other people. And "uncompressed" in marketing often means lightly compressed, so the book says which it means and you should ask.

A note on safety

The equipment this book is about is heavy and is often in the air. An LED wall is a rigged, flown structure carrying real load, and its processing racks are mains-powered and get hot; a large display is a two-person lift at minimum and frequently a ladder job onto a bracket somebody else specified. Nothing in this book qualifies you to rig, suspend or fly anything, and the one thing worth knowing at this level is that a video engineer's weight and power figures feed somebody else's structural and electrical calculations, so getting them wrong is a safety matter rather than a paperwork one.

Two specific hazards belong to this discipline. Laser projectors emit beams that can injure an eye permanently, and the exclusion zones around them exist for that reason rather than for picture quality. And working behind a live video rack means mains power inches from your hands in poor light, which is where people actually get hurt — not on the network.

Chapter 03

What IP Video Really Is

IP video is a video signal that has been cut into packets. Almost everything surprising about it follows from one fact: the cutting is lossless and the reassembly is not guaranteed, so a great deal of machinery exists to make the second part behave like the first.

Carrying video over networks.

What it replaced, and what carried over

It replaced SDI, and the comparison is worth drawing properly because the reader's instincts come from SDI and most of them still hold.

SDI is a constant-rate serial signal on coax. One cable carries one video signal, with its audio embedded inside it, at a fixed bit rate — 1.5 gigabits for HD, 3 gigabits for 1080p60, 12 gigabits for UHD. It either works or it does not, the failure mode is the whole picture going, and you can test it with a single instrument. Timing came separately, as black burst or tri-level sync on its own coax, from a sync pulse generator.

The parts that carried over: the signal is still a sequence of pictures at a fixed rate, the sampling and bit depth mean exactly what they meant, and the timing still has to come from somewhere. If you can read a waveform monitor, that skill is unchanged.

The parts that did not: the audio is no longer embedded, the timing now arrives as packets, and the failure modes are many rather than one. An SDI cable fails by going black. An IP essence can arrive late, arrive out of order, arrive with a gap, arrive with the wrong description of itself, or arrive perfectly at a receiver whose clock disagrees — and each of those looks different on the screen.

It is also worth knowing this is not the first attempt. Earlier RTP payload formats for video existed — RFC 2431 and RFC 3497, for MPEG-2 and for SMPTE 292M — and RFC 4175, the format everything now builds on, says explicitly how it relates to them. Both were narrower: tied to one compression scheme or one signal standard. RFC 4175's move was to describe the raw sampled picture in a general way, which is why it survived and became the foundation of ST 2110.

What carried over from SDI and what did notTwo columns comparing SDI and IP video: the skills and facts that transfer unchanged, and the ones that do not.Most of your SDI instincts still holdcarried overOne cable, one signal, one failure mode -- against many failure modes, each looking different.CARRIED OVERA sequence of pictures at a fixed rateSampling and depth mean exactly what they meantTiming still has to come from somewhereReading a waveform monitorDID NOTAudio is no longer embedded in the pictureTiming arrives as packets, not on coaxA receiver must be TOLD what it is being sentMany failure modes, not oneAN SDI CABLE FAILS BY GOING BLACKAn IP essence can arrive late, out of order, with a gap, or wrongly described. Each looks different.RFC 4175 superseded narrower formats tied to one codec or one signal standard.
FIG 3.1 What carried over from SDI and what did not, and the difference in how each fails.

The three things that have to be true

Receiver
Receiver

For an IP video stream to work, three conditions have to hold at once, and nearly every fault in this book is one of them failing.

The packets have to arrive. All of them, because an uncompressed essence has no redundancy — a lost packet is a lost piece of picture and there is nothing to reconstruct it from.

They have to arrive in time. A receiver holds a small buffer and plays out at a fixed rate; a packet that arrives after its moment is worthless even though it arrived intact. This is why jitter matters more than average bandwidth and why a link at 40 per cent can still break video.

The receiver has to know what they are. An IP video stream does not describe itself the way SDI does. The receiver has to be told the resolution, the frame rate, the sampling, the depth and the packing, and if it is told wrong it will decode confidently into nonsense. That description is usually an SDP file, and a whole chapter is about it.

Hold those three in mind and the rest of the book is their machinery: RTP numbers the packets so arrival can be checked, timestamps let the receiver judge lateness, buffers absorb jitter, and SDP carries the description.

The three things that have to be trueThe three conditions an IP video stream has to meet at once, what each failure looks like, and the machinery the rest of the book provides for it.Three conditions, all at onceand the machineryNearly every fault in this book is one of these three failing.THE PACKETS HAVE TO ARRIVEAn uncompressed essence has no redundancy: a lost packet is a lost piece of picture.RTP sequence numbers, so a gap IS the loss.THEY HAVE TO ARRIVE IN TIMEA receiver plays out at a fixed rate. A packet after its moment is worthless though intact.Timestamps to judge lateness, a buffer to absorb jitter.THE RECEIVER HAS TO KNOW WHAT THEY AREAn IP stream does not describe itself. Told wrong, it decodes confidently into nonsense.The SDP file, which carries the description.WHY A LINK AT 40 PER CENT CAN STILL BREAK VIDEOAverage bandwidth answers the first condition only. Jitter is the second.Hold the three in mind and the rest of the book is their machinery.
FIG 3.2 The three conditions an IP video stream has to meet at once, and the machinery the rest of the book provides for each.

How to do it

  1. Get the resolution, frame rate and scan from whoever owns the source.
  2. Get the colour sampling and the bit depth, which decide the bit rate.
  3. Establish whether it is uncompressed or compressed, and if compressed with what.
  4. Find its multicast group address and its SDP file or equivalent description.
  5. Work out the bit rate from the numbers, and check it against the documentation.
  6. Establish what provides the timing, and whether the receiver follows the same thing.

What goes wrong

SymptomLikely causeWhat to do
A receiver shows confident nonsense rather than nothingIt was told the wrong format — sampling, depth or packingCheck the description against the source; a wrong description decodes rather than fails
Picture breaks on a link that is nowhere near fullJitter or late packets, not capacityMeasure arrival timing, not average utilisation
Audio is missing from a stream that looks fineNormal for the essence model; the audio is a separate streamFind the audio essence; it was never inside the video
Everything works and the picture judders at a fixed intervalThe receiver's timing and the source's timing disagreeEstablish one timing reference; this is a clock fault, not a network one

Practice it

On any IP video stream you can get documentation for.

Practice it
01
Write down its six defining numbers and where each came from.
Answer
Resolution, frame rate, scan, sampling, depth and colour space — and the source of each matters as much as the value.
02
Say whether it is genuinely uncompressed, and how you know.
Answer
The word uncompressed in marketing often means lightly compressed, and only the documentation settles it.
03
Say what provides its timing.
Answer
On a production system it should be PTP, and if nobody knows, that is a finding.
Field checklist
  • You know its resolution, frame rate and scan.
  • You know its sampling and bit depth.
  • You know whether and how it is compressed.
  • You have its description, not just its address.
  • You have worked out its bit rate and checked it.
  • You know what provides its timing.
Chapter 04

The Video Signal Before It Is Packets

Six numbers describe a video signal, and every bit rate, every codec choice and most artefacts in this book follow from them. An engineer who cannot state all six for the signal in front of them is guessing.

Resolution, frame rate and scan

Resolution is the pixel count: 1920 by 1080, 3840 by 2160. Frame rate is how many of those pictures per second. Scan is whether each picture is complete — progressive — or split into two interlaced fields sent in turn.

Interlace is legacy and still very much present, and it matters here for a specific reason: an interlaced signal packs differently, and the specification for uncompressed video says so explicitly. A receiver told progressive when it is being sent interlaced produces a picture with combing on every moving edge, and that is a description fault rather than a signal fault.

Frame rate carries one trap worth naming. 59.94 and 60 are not the same, nor are 29.97 and 30, and the difference is a legacy of American colour television that will outlive everybody reading this. A plant running at 59.94 with one device at 60 will drop or repeat a frame periodically — about once every seventeen seconds — and the symptom is a judder somebody will swear is a network problem.

The six numbers that describe a signalSix numbered panels, one per defining property of a video signal, each with what it decides and its classic fault.Six numbers. State all six or guess.the signalEvery bit rate, codec choice and most artefacts follow from these.PROPERTYWHAT IT ISITS CLASSIC FAULT1Resolutionthe pixel count-2Frame ratepictures per second59.94 is not 603Scanprogressive or interlacedcombing on moving edges4Colour sampling4:4:4 / 4:2:2 / 4:2:0fringing on text5Bit depthlevels per samplebanding on gradients6Colour spacewhat the numbers meanwashed out or oversaturatedAn engineer who cannot state all six for the signal in front of them is guessing.
FIG 4.1 The six numbers that describe a video signal, with what each decides and its classic fault.

Colour sampling

A pixel's colour is carried as one luminance value and two chrominance values. Because the eye is far more sensitive to brightness detail than to colour detail, the chrominance can be sampled less often, and that is the single biggest lever on bit rate there is.

4:4:4 samples chrominance for every pixel. Nothing is discarded. Used for graphics, computer sources and anything that will be keyed heavily.

4:2:2 samples chrominance for every second pixel horizontally. This is the production standard, and it is the right default for almost everything in this book. The visible cost is almost nothing on camera images.

4:2:0 samples chrominance for every second pixel both horizontally and vertically, so chrominance values are shared between adjacent lines. This is what distribution uses — broadcast to the home, streaming, every consumer format. It halves the chroma data again and it is where chroma edges start to look soft.

4:1:1 samples chrominance every fourth pixel horizontally. Older, and you will meet it in legacy material rather than in a live plant.

The practical rule: shoot and move things around the plant at 4:2:2 or better, and only drop to 4:2:0 at the point of distribution. Chroma subsampling is not recoverable, so each step down is permanent.

Where chrominance is sampledThree six-by-six pixel grids showing luminance at every pixel and chrominance sampled at every pixel, every second pixel, and every second pixel in both directions.Chroma is sampled less than luma4:4:4 to 4:2:0The single biggest lever on bit rate, and it is not recoverable once dropped.4:4:4graphics and keyingchroma on 36 of 364:2:2the production standardchroma on 18 of 364:2:0distribution onlychroma on 9 of 36Small dot = luminance, every pixel. Large dot = chrominance.Move pictures at 4:2:2 or better. Drop to 4:2:0 only at the point of distribution.4:2:0 shares chrominance between adjacent lines, which is why it needs two lines per packet.
FIG 4.2 Where chrominance is sampled in 4:4:4, 4:2:2 and 4:2:0, on a six-by-six pixel grid.

Bit depth, colour space and the rest

Bit depth is how many bits each sample gets. Eight bits gives 256 levels per component, which is not enough for a gradient: a clear sky or a lighting wash will show banding, visible steps where there should be a smooth ramp. Ten bits gives 1024 levels and the banding goes away. Ten-bit is the production floor and has been for years, and when somebody reports "compression artefacts" on a gradient, eight-bit depth is the first thing to check rather than the codec.

Colour space is what the numbers mean. Rec. 709 for HD, Rec. 2020 for UHD and wide gamut, and the sRGB-ish conventions that computer sources use. A signal carried correctly but interpreted in the wrong colour space looks washed out or oversaturated, and it is a description fault — the packets were fine. Carriage formats have a place to say which space is in use, and JPEG XS carriage has a dedicated colour specification box for exactly this.

HDR adds a transfer function — PQ or HLG — describing how code values map to brightness. The common failure is a PQ signal shown on a display expecting standard dynamic range, which looks flat and grey, or the reverse, which looks blown out. Again: not a packet problem.

RGB rather than YCbCr. Graphics and computer sources are often RGB, and some carriage formats support RGB and RGBA — with an alpha channel — directly. This matters because an RGB source converted to 4:2:0 somewhere in the chain will show coloured fringing on text, and that is one of the most common and most misdiagnosed faults in corporate AV.

How to do it

  1. Read the resolution and frame rate off the source device, not off the brief.
  2. Confirm progressive or interlaced, and check what the receiver has been told.
  3. Find the colour sampling, and ask where in the chain it last changed.
  4. Find the bit depth, and if it is eight, note it as a finding.
  5. Establish the colour space and whether anything in the chain is converting it.
  6. If HDR is involved, establish the transfer function and that every display agrees.

What goes wrong

SymptomLikely causeWhat to do
Banding on gradients and smooth lighting washesEight-bit depth somewhere in the chainCheck depth before blaming the codec; this is the classic misdiagnosis
Coloured fringing on text and graphicsAn RGB source subsampled to 4:2:0 somewhereKeep graphics at 4:4:4 or 4:2:2 through the plant
Combing on every moving edgeInterlaced signal being handled as progressiveA description fault — correct what the receiver has been told
Periodic judder about every seventeen seconds59.94 against 60, or 29.97 against 30, somewhere in the chainFind the device running at the wrong rate; this is not a network fault
Picture looks flat and grey, or blown outHDR transfer function mismatch between source and displayEstablish PQ or HLG and make every display agree

Practice it

On any video source you can inspect.

Practice it
01
Write down all six numbers and where you got each.
Answer
If any of the six came from an assumption rather than a device or a document, that is the weak link.
02
Find the point in the chain where sampling or depth changes, if any.
Answer
There is usually exactly one conversion point and it is usually undocumented.
03
Display a gradient and say whether you can see banding.
Answer
Visible steps on a smooth ramp means eight bits somewhere, not compression.
Field checklist
  • Resolution, frame rate and scan are confirmed at the source.
  • Colour sampling is known and so is where it last changed.
  • Bit depth is known and ten or better, or flagged.
  • The colour space is known and nothing is silently converting it.
  • Any HDR transfer function is known and agreed across displays.
  • You know whether the source is RGB or YCbCr.
Chapter 05

RTP, and How Timing Survives

UDP guarantees nothing: not arrival, not order, not timing. Every IP video standard in use rides on RTP, which adds just enough on top of UDP to make a real-time signal reconstructable. Three fields do nearly all of it.

Encoding, the network, and decoding.

What RTP adds

RTP is specified in RFC 3550 and it sits directly on UDP. It does not retransmit, it does not guarantee delivery, and it does not slow down — all of which would be wrong for real-time media. What it does is label every packet well enough that the receiver can work out what happened.

The sequence number increments by one per packet. A receiver that sees a gap knows precisely how many packets were lost and where, which is how every loss statistic you will ever read is produced.

The timestamp says when this packet's content belongs in time — not when it was sent. This is the field that makes real-time media work: the receiver plays out according to the timestamp, so packets that arrived early wait and the output rate stays constant regardless of how unevenly the packets turned up.

The SSRC identifies the sender, uniquely, within the session. Two sources on one multicast group are distinguishable because of it, and a changing SSRC is how you know a source restarted.

A handful of other fields matter in practice: the marker bit, which in video conventionally marks the last packet of a frame; the payload type, which says what the content is; and the extension mechanism, which is where profiles add their own fields.

The timestamp, and the buffer

Put the timestamp and a buffer together and you have the whole of how timing survives an unreliable network.

The receiver holds packets briefly rather than playing them the moment they arrive. The buffer absorbs jitter — the variation in arrival time — so that a packet which took three milliseconds longer than its neighbour still makes its slot. Then it plays out strictly by timestamp, at the signal's own rate.

Which gives the dial every IP video engineer ends up setting: buffer depth is latency traded for tolerance. A deep buffer survives a nasty network and adds delay. A shallow buffer is responsive and breaks up the moment arrival timing wobbles. There is no correct setting, only a correct setting for a given network and a given latency requirement, and knowing that the dial exists is most of the skill.

A packet that arrives after its playout moment is discarded. It is worth sitting with that: the packet was intact, the network delivered it, no bandwidth was exceeded, and it was useless. This is why measuring average utilisation tells you so little, and why jitter gets its own section later.

How RTP makes timing survivePackets arriving unevenly into a receiver buffer and leaving it evenly, with the three RTP fields that make it possible.Arrives uneven, leaves evenRTPUDP guarantees nothing. Three fields and a buffer are what make real-time video work.ARRIVES UNEVENBUFFERholds packetsbrieflyLEAVES EVENSequence numberincrements per packeta gap IS your packet lossTimestampwhen the content belongsplayout rate stays constantSSRCwho sent itit changes when a source restartsa packet thatarrives lateis discardedWhich is why average utilisation tells you so little, and jitter so much.
FIG 5.1 Packets arriving unevenly, buffered, and played out evenly, with the three RTP fields that allow it.

RTCP, the channel nobody reads

Alongside every RTP stream runs RTCP, a low-rate control channel that reports on the session, and it is startling how rarely anyone looks at it.

Senders emit sender reports saying how much they have sent and carrying the mapping between their RTP timestamps and real time. Receivers emit receiver reports saying what fraction of packets they lost, the highest sequence number they saw, and the jitter they measured. RFC 3550 includes guidance on analysing these, and the reports are per-receiver, which is the valuable part: on a multicast video system the receiver reports tell you that five decoders are clean and one is losing two per cent, which localises a fault in seconds.

RTCP also carries the source description — including the CNAME, a stable identifier for an endpoint across restarts — and a BYE packet when a source leaves properly, which is how a receiver can tell a clean departure from a crash.

The transmission interval is deliberately kept to a small fraction of the session bandwidth so the control channel never competes with the media, which is why RTCP is cheap to leave enabled and worth asking your equipment to expose.

RTP as specified, and which parts you will use

The structure of RFC 3550, the RTP specification. The right-hand column is what each part is for in a video plant. Nothing here is optional reading in the sense that the protocol is already running in every stream you work with — the question is only whether you can read it.

Part of the specificationWhat it is for in a video plant
RTP fixed header fieldsThe sequence number, timestamp and SSRC. The vocabulary of every fault report.
Byte order, alignment and time formatHow the timestamp is expressed, and how it maps to real time.
Profile-specific modifications to the headerWhere a standard like ST 2110 adds its own conventions.
The RTP header extensionCarries per-packet information a profile needs.
Multiplexing RTP sessionsWhy video and audio are separate sessions rather than one.
RTCP packet formatThe control channel that runs beside the media.
Sender and receiver reportsPer-receiver loss and jitter. The fastest fault localiser you have.
Analysing sender and receiver reportsThe specification's own guidance on reading them.
The RTCP transmission intervalWhy the control channel never competes with the media.
SDES, the CNAME, and the BYE packetA stable name for an endpoint, and how a clean departure is told from a crash.
RTP translators and mixersWhat an SDI-to-IP gateway is, in the specification's terms.
RTP use scenarios, and layered encodingsThe conferencing cases RTP was designed around, and sending one signal as several streams.

The two rows to act on are the receiver reports and the translators. Receiver reports are already being generated by your equipment and they answer, per decoder, the question you most often need answered: is this fault at the source, in the network, or at this one receiver. And the translator entry is worth knowing because it reframes a familiar box: an SDI-to-IP gateway is, in RTP's own terms, a translator, and the specification's discussion of how translators must handle RTCP is why a poorly implemented gateway breaks reporting for everything downstream of it.

The channel beside the mediaRTCP running alongside the media stream, and what each part of the specification is for in a video plant.The channel beside the mediaRTCPThe protocol is already running in every stream you work with. The question is whether you can read it.SENDERRECEIVERMEDIA -- RTPCONTROL -- RTCPREPORTSper-receiver loss andjitter: the fastestfault localiser you haveINTERVALbounded, so controlnever competes withthe mediaSDES / CNAME / BYEa stable name, and aclean departure toldfrom a crashTRANSLATORS, MIXERSwhat an SDI-to-IPgateway is in thespecification's termsTHE VOCABULARY OF EVERY FAULT REPORTSender and receiver reports give per-receiver loss and jitter, which localises a fault to one leg.Video and audio are separate RTP sessions, which is why one can be perfect while the other is not.
FIG 5.2 RTCP running beside the media, and what each part of the specification is for in a video plant.

How to do it

  1. Find where your equipment exposes RTP statistics; most do and most people never look.
  2. Read the sequence-number gap count, which is your packet loss.
  3. Read the measured jitter, which is arrival-time variation rather than loss.
  4. If several receivers share a source, compare their reports against each other.
  5. A fault on one receiver and not the others is local to that receiver or its path.
  6. A fault on all receivers alike is at the source or on the shared path.

What goes wrong

SymptomLikely causeWhat to do
One decoder breaks up and five on the same source are cleanLocal to that decoder or its path, not the sourceCompare receiver reports; this comparison is the whole diagnosis
All decoders break up togetherThe source, or the one link they all shareWork back to the common point rather than examining decoders
No loss reported and the picture still breaksLate packets being discarded, which is jitter and not lossRead the jitter figure, and consider a deeper receiver buffer
Latency is higher than expected with a clean networkReceiver buffer set deep, trading delay for toleranceIt is a dial; shallow it only as far as the network's jitter allows
A receiver never recovers after a source restartIt is still expecting the old SSRCA restart changes the SSRC; some receivers need to be re-subscribed

Practice it

On any IP video system with statistics you can read.

Practice it
01
Find and record the loss and jitter figures for one stream at two different receivers.
Answer
Two receivers differing is the most useful single observation in IP video troubleshooting.
02
Deepen one receiver's buffer and measure what it costs in latency.
Answer
The cost is roughly the buffer depth, and that is the trade stated plainly.
03
Restart a source and watch what the receivers do.
Answer
Some recover instantly and some need re-subscribing, and knowing which yours does is worth knowing before a show.
Field checklist
  • You know where your equipment exposes RTP statistics.
  • You can state the loss figure and the jitter figure separately.
  • You compare receivers against each other rather than reading one.
  • You know your receivers' buffer depth and what it costs.
  • You know what your receivers do when a source restarts.
Chapter 06

Uncompressed Video on a Wire

An uncompressed essence is the picture itself, cut into packets along its scan lines. The unit it is cut into is the pixel group, and understanding it is what turns the bandwidth arithmetic from a rule into something you can derive.

Scan lines, fragments and the MTU

Uncompressed video is packetised by scan line. A packet carries one complete line, a fragment of a line, or several lines and fragments — whichever fits. The constraint is the path MTU: the specification says scan lines should be fragmented so the resulting packet comes in under it, because a packet that needs fragmenting at the IP layer is a packet whose loss costs you more than it should.

Work it through for HD and the reason becomes obvious. A 1920-pixel line at 4:2:2 and ten bits is 1920 times 20 bits, which is 4800 octets — well over a standard 1500-octet MTU, so every line is sent as several packets. At UHD it is four times that. This is why an IP video plant very often runs jumbo frames, and why the MTU is a number worth knowing rather than accepting.

One detail with a visible consequence: a packet must contain a whole number of pixel groups. Where a line's length does not divide evenly into pixel groups, the sender fills the remaining bits of the last group with zero and the receiver ignores them — the specification describes this as the trailing edge being black-filled to a group boundary. It is harmless, and it is the sort of detail that explains an oddity at the very edge of a picture that would otherwise look like a fault.

The pixel group

A pixel group — pgroup — is the smallest number of adjacent pixels that packs into a whole number of octets. It is not a fixed size: it depends on the sampling and the bit depth, and the reason is simple arithmetic. At ten bits per sample you cannot fit one pixel into whole octets, so you take enough adjacent pixels that the total comes out even.

This is where the book's bandwidth arithmetic stops being a rule of thumb and becomes derivable. Look up 4:2:2 at ten bits in the table below: five octets for two pixels. Five octets is forty bits, over two pixels, which is twenty bits per pixel — exactly the figure the bandwidth calculations in this series use for 4:2:2 ten-bit video. The arithmetic and the specification agree, and now you can work out the rate for any format rather than remembering one.

Working out any bit rate

With the pixel group you can derive the bit rate of any uncompressed essence in two steps. Divide the group size in octets by the pixel count to get octets per pixel, multiply by eight for bits per pixel, then multiply by the pixel count and the frame rate.

For 1080p60 at 4:2:2 ten-bit: five octets over two pixels is 2.5 octets per pixel, so twenty bits. Then 1920 times 1080 times 60 times 20 is about 2.49 gigabits per second. For 2160p60 at the same sampling: 3840 times 2160 times 60 times 20 is about 9.95 gigabits.

For 4:4:4 at ten bits the group is fifteen octets over four pixels, which is 3.75 octets or thirty bits per pixel — half again as much as 4:2:2, which is the real cost of full chrominance and the reason graphics feeds are so much more expensive to carry than camera feeds.

Add a little for packet headers — the figures above are payload — and you have a number you can take to a design meeting and defend, which is the point.

Deriving a bit rate from the pixel groupFour steps from the pixel group to a bit rate, worked through for 1080p60 at 4:2:2 ten-bit.Four steps to a defensible numberworkedDerive it rather than remembering it, and you can do any format.1Look up the group4:2:2 at 10-bit5 octets / 2 px2Octets per pixel5 divided by 22.5 octets3Bits per pixeltimes 820 bits4Bit rate1920 x 1080 x 60 x 20about 2.49 Gbit/s4:4:4 at 10 bits is 15 octets over 4 pixels, so 30 bits per pixel -- half again for full chroma.Payload only. Add an allowance for packet headers and say that you did.
FIG 6.1 Deriving a bit rate from the pixel group, worked through for 1080p60 at 4:2:2 ten-bit.

The pixel group, by sampling and bit depth

Pixel-group sizes from Section 4.3 of RFC 4175, the RTP payload format for uncompressed video — the format SMPTE ST 2110-20 builds on. Each cell gives the group size in octets and the number of adjacent pixels that group covers.

Sampling8-bit10-bit12-bit16-bit
RGB and BGR3 octets / 1 px15 octets / 4 px9 octets / 2 px6 octets / 1 px
RGBA and BGRA4 octets / 1 px5 octets / 1 px6 octets / 1 px8 octets / 1 px
YCbCr 4:4:43 octets / 1 px15 octets / 4 px9 octets / 2 px6 octets / 1 px
YCbCr 4:2:24 octets / 2 px5 octets / 2 px6 octets / 2 px8 octets / 2 px
YCbCr 4:1:16 octets / 4 px15 octets / 4 px9 octets / 4 px12 octets / 4 px
YCbCr 4:2:0 progressive6 octets / 4 px15 octets / 4 px9 octets / 4 px12 octets / 4 px
YCbCr 4:2:0 interlaced4 octets / 2 px5 octets / 2 px6 octets / 2 px8 octets / 2 px

Three things are worth reading off this table. First, the derivation above: 4:2:2 at ten bits is five octets per two pixels, so twenty bits per pixel, which is where the 1920 x 1080 x 60 x 20 arithmetic comes from. Second, 4:2:2 is uniquely tidy — two pixels per group at every depth — which is part of why it became the production standard. Third, the 4:2:0 rows are the only place scan lines interact: because chrominance is shared between adjacent lines, the progressive group is a two-by-two block of pixels rather than a run along one line, which is why progressive 4:2:0 packetisation carries samples from two consecutive lines in each packet. Interlaced 4:2:0 cannot do that, so it sends two-pixel groups along each line and carries the colour samples only on every other line.

The pixel group by sampling and depthA table of pixel-group sizes in octets and the pixel count each group covers, for each colour sampling and bit depth, from RFC 4175.The unit a picture is packetised inRFC 4175Group size in octets, over the adjacent pixels it covers.SAMPLING8-BIT10-BIT12-BIT16-BITRGB and BGR3 / 1px15 / 4px9 / 2px6 / 1pxRGBA and BGRA4 / 1px5 / 1px6 / 1px8 / 1pxYCbCr 4:4:43 / 1px15 / 4px9 / 2px6 / 1pxYCbCr 4:2:24 / 2px5 / 2px6 / 2px8 / 2pxYCbCr 4:1:16 / 4px15 / 4px9 / 4px12 / 4pxYCbCr 4:2:0 prog6 / 4px15 / 4px9 / 4px12 / 4pxYCbCr 4:2:0 int45684:2:2 at 10 bits is 5 octets over 2 pixels = 20 bits per pixel, which is where the arithmetic comes from.
FIG 6.2 Pixel-group sizes by colour sampling and bit depth, in octets over the pixels each group covers.

How to do it

  1. Establish the sampling and bit depth.
  2. Look up the pixel group size and its pixel count.
  3. Divide octets by pixels and multiply by eight to get bits per pixel.
  4. Multiply by horizontal and vertical resolution and by the frame rate.
  5. Add an allowance for packet headers, and state that you did.
  6. Check the result against the manufacturer's figure and investigate any disagreement.

What goes wrong

SymptomLikely causeWhat to do
Your figure and the datasheet disagree by a few per centHeader overhead, or the datasheet quoting payload onlyNormal; state which you are quoting
Your figure and the datasheet disagree by half or doubleA different sampling or depth than you assumedGo back to the six numbers; one of them is wrong
Packets are being fragmented at the IP layerScan line fragments larger than the path MTUCheck the MTU end to end, and consider jumbo frames for the video path
An oddity at the extreme edge of the picturePossibly the fill in the final pixel group of each lineHarmless and specified; look elsewhere for a real fault

Practice it

With the table above and a calculator.

Practice it
01
Derive the bit rate of 1080p50 at 4:2:2 ten-bit.
Answer
Twenty bits per pixel, so 1920 x 1080 x 50 x 20, about 2.07 Gbit/s.
02
Derive it for 4:4:4 ten-bit and say what the extra chrominance costs.
Answer
Thirty bits per pixel, about 3.11 Gbit/s — half again, which is the price of full chroma.
03
Work out how many packets one 1920-pixel line needs at a 1500-octet MTU.
Answer
4800 octets of payload per line, so four packets at a standard MTU, or one with jumbo frames.
Field checklist
  • You can state its pixel group size and pixel count.
  • You can derive its bits per pixel from that.
  • You can derive its bit rate without looking anything else up.
  • You know the path MTU and how many packets a line takes.
  • Your figure agrees with the manufacturer's, or you know why not.
Chapter 07

Compression — What Each Codec Trades

One distinction sorts every codec you will meet, and it is not technical: is this codec meant to move pictures around a plant, or to deliver them to somebody at the end? The answer decides everything else.

Mezzanine against distribution

A mezzanine codec exists to reduce a signal enough to carry it conveniently while leaving it good enough to be processed again — keyed, graded, cut, re-encoded — without visible damage. Its priorities are low latency, visual transparency, and surviving repeated encode and decode cycles. It uses intra-frame compression only: every frame stands alone.

A distribution codec exists to deliver a finished picture to a viewer in as little bandwidth as possible. Its priorities are compression ratio and nothing else much. It uses inter-frame compression: most frames are described as differences from their neighbours, which is enormously more efficient and makes the signal fragile and slow.

Nearly every bad codec decision in AV is a distribution codec used where a mezzanine codec belonged. It is an understandable mistake because the distribution codec's numbers look wonderful — a tenth of the bandwidth — and the cost lands somewhere that looks like a different problem: latency blamed on the network, artefacts blamed on the screen, a signal that falls apart after one more re-encode blamed on the editor.

So the question to ask of any codec proposal is simply whether this picture is finished. If anything downstream will process it, you need a mezzanine codec, whatever the bandwidth saving on offer.

Why inter-frame compression costs latency

Inter-frame codecs — H.264, H.265, and everything built for streaming — group frames. A group of pictures starts with a complete frame and follows it with frames described as changes. Some of those reference frames that come after them in time, which means the encoder cannot emit a frame until it has seen frames that follow it.

That is where the latency comes from, and it is structural rather than a quality of implementation. A long group of pictures gives excellent compression and costs tens to hundreds of milliseconds at the encoder before a packet has even been sent. No network improvement touches it.

It also explains the characteristic failure. Lose data in an inter-frame stream and the damage persists: every subsequent frame that references the damaged one inherits the damage, so a single loss becomes a smear that sits on screen until the next complete frame arrives. That is the blocky, sticky, spreading artefact everybody recognises from bad streaming, and it is a property of the codec rather than of the network that dropped one packet.

Intra-frame codecs lose a piece of one frame and recover completely on the next. The artefact is a brief, localised disturbance. Being able to tell those two appearances apart tells you which family of codec you are looking at before you have asked anybody anything.

The two codec families, and how loss looksTwo columns comparing intra-only mezzanine codecs with inter-frame distribution codecs, including what a lost packet looks like in each.Is this picture finished?one questionThe answer decides the family, and the family decides what a fault looks like.MEZZANINECompressionintra-frame onlyLatencya fraction of a frameSurvives re-encodingyes, that is the pointA lost packet looks likebrief, local, gone next frameUse whenanything downstream will process itDISTRIBUTIONCompressioninter-frame, groupedLatencytens to hundreds of msSurvives re-encodingdegrades every passA lost packet looks likeblocky smear, persists ~1 sUse whenthe picture is finishedNearly every bad codec decision in AV is a distribution codec where a mezzanine one belonged.JPEG XS and JPEG 2000 are mezzanine. H.264 and H.265 are distribution.
FIG 7.1 Mezzanine against distribution codecs, including what a lost packet looks like in each.

The ones you will actually meet

JPEG XS is the current production answer: intra-only, designed for very low latency — a fraction of a frame — and visually lossless at moderate ratios. It has its own chapter next because it is what new plants use.

JPEG 2000 is the previous generation of the same idea. Intra-only, visually lossless, but with latency of a frame or more and considerable processing cost. It is still in service on contribution circuits and in archives, and you will meet it in buildings fitted out a decade ago rather than in new designs.

H.264 remains the most widely deployed video codec in the world and is correct for streaming, recording and anything a viewer watches. H.265 does the same job in roughly half the bandwidth at higher processing cost. Both are wrong for production paths and both are constantly specified for them.

Proprietary low-latency codecs inside AV-over-IP products are mostly intra-only schemes aimed at the same place as JPEG XS. Treat them as mezzanine codecs and ask the four numbers: bit rate, latency, whether it is intra-only, and how many encode cycles it survives.

How to do it

  1. Ask whether this picture is finished or will be processed again.
  2. If it will be processed, require an intra-only codec and say why.
  3. Get the latency figure for the encoder and the decoder separately.
  4. Ask how many encode-decode cycles the codec survives visibly intact.
  5. Get the bit rate at the quality you actually need, not at its best case.
  6. Write the answer down with its conditions, because the figures will be quoted without them.

What goes wrong

SymptomLikely causeWhat to do
Latency far higher than the network can explainA long group-of-pictures codec in a production pathThe codec is wrong; no network change will recover tens of milliseconds
Blocky damage that smears and persists for a secondInter-frame codec recovering from a loss until the next complete frameTells you the codec family; for production use intra-only instead
Picture degrades every time it passes through the plantRepeated encode and decode cycles with a distribution codecMezzanine codecs are built to survive this; distribution ones are not
Soft or fringed graphics and textChroma subsampling in the codec's profile, not the codec itselfCheck the sampling the codec is configured for, separately from the codec

Practice it

For any video chain you can inspect.

Practice it
01
List every encode and decode the signal passes through from source to screen.
Answer
Real chains usually have three or four, and at least one is undocumented.
02
Mark which are intra-only and which are not.
Answer
An inter-frame codec anywhere in a production path is a finding worth reporting.
03
For the worst one, find its latency figure in documentation.
Answer
If no figure exists, that is itself the answer about how carefully it was chosen.
Field checklist
  • You established whether the picture is finished.
  • Production paths use intra-only codecs.
  • Encoder and decoder latency figures are documented separately.
  • The number of survivable encode cycles is known.
  • The bit rate quoted is at the quality required, not the best case.
Chapter 08

JPEG XS and Low-Latency Carriage

JPEG XS is what production IP video has settled on, and it is worth a chapter because the reader will be handed it by name and because how it is carried explains what it can and cannot do.

What JPEG XS is for

It is an intra-only, very low latency, visually lossless codec standardised as ISO/IEC 21122, designed explicitly as a mezzanine format. Its latency is a fraction of a frame — a few scan lines in some configurations — which puts it in a different category from everything before it. And it is computationally light enough to run in hardware at the edge of a camera or a screen.

The engineering consequence is that it makes uncompressed-grade workflows possible on sane infrastructure. An uncompressed 1080p60 feed is about 2.5 gigabits; the same feed at a modest JPEG XS ratio fits comfortably on a gigabit link with latency a production chain can live with. That trade is why new designs reach for it rather than for uncompressed and 25-gigabit switching.

It is carried over RTP by RFC 9134, and that specification is the subject of the rest of this chapter — not because you will implement it, but because its structure answers the practical questions.

The encoder where it usually actually lives — inside something else, at the camera.

How it is carried, and why that matters

A JPEG XS frame is a codestream, and the codestream is what gets packetised. Alongside it travel two descriptive structures the specification names explicitly: a video support box and a colour specification box. That second one is worth noticing, because it is where the colour space and transfer characteristics are declared — which is to say, the thing that goes wrong when a correctly carried picture looks washed out has a defined place to live, and a well-implemented chain carries it.

The specification also has a section on traffic shaping and delivery timing, and this is the most practically important part for anybody designing or commissioning a system. A compressed essence does not produce a constant stream of bits: a complex frame produces more data than a simple one, so an unshaped encoder emits bursts. A burst that exceeds what a link can carry instantaneously fills a switch queue and drops packets, on a link whose average utilisation looks perfectly healthy.

That is the explanation for one of the most baffling faults in compressed IP video: the system works all day and breaks up only on the shots with the most detail. It is not the network being inadequate; it is the encoder bursting and nothing shaping it. The remedy is the encoder's traffic shaping, which is why the specification devotes a section to it and why it is a question to ask of any product.

Why a healthy link drops a compressed streamTwo traces of a compressed encoder's output against a link's capacity: unshaped output bursting above capacity on detailed frames, and shaped output staying below it.The average is fine. The bursts are not.shapingWhich is why a compressed system is clean all day and breaks on the detailed shots.UNSHAPEDlink capacityaverage utilisation is identical in bothSHAPEDlink capacityaverage utilisation is identical in bothTHE FAULT THIS EXPLAINSWorks all day, breaks only on detailed or fast-moving shots, at utilisation nowhere near the link's capacity.The remedy is the encoder's traffic shaping, not a bigger switch.RFC 9134 devotes a section to traffic shaping and delivery timing for exactly this.
FIG 8.2 An unshaped encoder's output bursting above a link's capacity, against the same output shaped.

What RFC 9134 specifies for JPEG XS carriage

The structure of RFC 9134, the RTP payload format for ISO/IEC 21122 (JPEG XS). The right-hand column is what each part means on a job. Two rows are the practically important ones, and they are flagged.

Part of the specificationWhat it means on a job
Media format descriptionWhat a JPEG XS stream is composed of, before any packetising.
Image data structures, and the codestreamHow the picture is organised, and the compressed representation that gets packetised.
The video support boxDeclares the video characteristics travelling with the codestream.
The colour specification boxIMPORTANT. Where colour space and transfer characteristics are declared — the washed-out-picture fault has a defined home.
The JPEG XS frameOne frame's worth of codestream plus its descriptive boxes.
RTP packetisation of a codestreamHow a frame becomes packets.
RTP header usageWhich RTP fields mean what for this payload.
Payload header usage, and payload dataThe JPEG XS header on each packet, and the codestream fragment it carries.
Traffic shaping and delivery timingIMPORTANT. Why an unshaped encoder breaks a healthy link on detailed shots.
Congestion control considerationsWhat the specification expects of a sender on a shared network.
Payload format parameters and media type registrationThe parameters that must be communicated to a receiver.
Mapping to SDP, and the offer/answer modelHow a receiver is told all of the above — usually an SDP file.

The two flagged rows are where this chapter earns its place. Traffic shaping explains a fault that is otherwise inexplicable: a compressed system that is fine on simple pictures and breaks on complex ones, at average utilisation nowhere near the link's capacity. And the colour specification box explains that a washed-out or oversaturated picture in a correctly carried stream is a declaration problem with a defined place to look, not a mystery and not a display fault. Both are questions to ask a manufacturer, and both have answers.

The two parts of RFC 9134 you will touchThe two parts of the JPEG XS payload specification that the book flags as practically important, and the fault each one is the defined home of.Two of the twelve partsRFC 9134Twelve parts describe the carriage. Two of them are where the faults you will actually meet live.THE SPECIFICATION HAS TWELVE PARTSFrom the media format description to the SDP mapping and the offer/answer model.THE COLOUR SPECIFICATION BOXWhere colour space and transfercharacteristics are declared.THE FAULT IT IS THE HOME OFThe washed-out picture.TRAFFIC SHAPING AND TIMINGWhy an unshaped encoder breaksa healthy link on detailed shots.THE FAULT IT IS THE HOME OFThe link that fails only on detail.AND THE PART THAT TELLS THE RECEIVER ALL OF ITMapping to SDP and the offer/answer model: how a receiver is told the format.Told wrong there, it decodes confidently into nonsense.The other ten parts are worth reading once. These two are worth knowing by heart.
FIG 8.3 The two parts of the JPEG XS payload specification the book flags, and the fault each one is the defined home of.

How to do it

  1. Establish the compression ratio or target bit rate, and the latency it gives.
  2. Ask whether the encoder shapes its output traffic, and get the answer in writing.
  3. Establish how the colour space is declared and whether the receiver reads the declaration.
  4. Get the SDP or equivalent description and check every parameter against the source.
  5. Commission with the most detailed content you can find, not with a test card.
  6. Record the peak bit rate under that content, not the average.

What goes wrong

SymptomLikely causeWhat to do
Breaks up only on detailed or fast-moving shotsUnshaped encoder bursting above what the link carries instantaneouslyEnable the encoder's traffic shaping; the link is not the problem
Average utilisation healthy and packets still droppingThe same thing — bursts fill the queue although the average is fineMeasure peak rather than average, and shape at the source
Picture carried cleanly but looks washed outColour space declaration not carried, or not read by the receiverCheck the colour specification; it is a declaration fault, not a display fault
Receiver will not decode at allA payload parameter in the description does not match the streamCompare the SDP against the source parameter by parameter
Commissioning passed and the show brokeCommissioned on a test card, which is the least demanding content there isAlways commission a compressed path on the most detailed content available

Practice it

On any compressed IP video path you can reach.

Practice it
01
Measure its bit rate on a static test card and then on highly detailed moving content.
Answer
The difference is often large, and the peak is the number that matters for design.
02
Find out whether the encoder shapes its output.
Answer
Many products do and do not say so prominently; some do not, and that is worth knowing early.
03
Find the colour space declaration and confirm the receiver is using it.
Answer
If nobody can say where it is declared, a washed-out picture later will be a long afternoon.
Field checklist
  • Its target bit rate and latency are documented.
  • The encoder shapes its output, confirmed in writing.
  • The peak bit rate under demanding content has been measured.
  • The colour space declaration is carried and read.
  • Every description parameter matches the source.
  • It was commissioned on demanding content rather than a test card.
Chapter 09

The Standards That Matter

Four names cover almost everything, and what matters about each is not what it is but what it demands. Here is each one as a list of requirements, which is how an engineer should hold them.

NDI, SMPTE 2110, and AVoIP.

ST 2110, and the essence model

SMPTE ST 2110 is the broadcast standard, and its defining move is to carry video, audio and ancillary data as separate streams rather than one multiplexed signal. Video goes in one essence, each audio group in another, ancillary data such as captions and timecode in a third, each with its own multicast address.

That is a genuine improvement — you can route audio without touching video, take one audio group to one destination, scale each independently — and it is the thing that most surprises people from SDI, where the audio was simply inside the picture. The practical consequences are immediate: the multicast group count multiplies, the address plan becomes real work, and a receiver needs to be told about several streams rather than one.

What ST 2110 demands: uncompressed or lightly compressed essences and therefore serious bandwidth; precise PTP, because the separate essences are reassembled by timestamp and nothing else; a description mechanism, in practice SDP, for every essence; and generally a network designed for it. Its video essence builds directly on the uncompressed payload format whose pixel groups this book has already tabulated.

When ST 2110 appears in a brief, the question is whether this is a broadcast facility with a broadcast budget. If yes, it is correct. If somebody liked the sound of it, a JPEG XS system does the job on a fraction of the infrastructure.

NDI, SDVoE, and transport over the open internet

NDI dominates production and streaming workflows, and what it demands is bandwidth and discovery rather than precision. It is tolerant of imperfect networks, it finds its own sources by name, and it runs on ordinary gigabit infrastructure. It is not frame-accurate across sources in the way ST 2110 is, and for a great many jobs that does not matter at all. Its faults are usually discovery faults, which means they are name-service faults.

SDVoE is a hardware approach aimed squarely at matrix replacement: very low latency, high quality, on 10-gigabit infrastructure, with the processing in a chipset rather than in software. What it demands is 10-gigabit switching and a network it largely expects to own.

SRT and RIST are a different category and worth knowing because the moment video leaves a managed network they are the answer. Both add error recovery and retransmission on top of unreliable transport, trading latency — typically a few hundred milliseconds of buffer — for the ability to survive real packet loss across the internet. They are for contribution and remote production, never for an in-plant production path, and confusing the two is how a system ends up with half a second of delay nobody can account for.

SDP, the file that configures a receiver

This surprises people and it is worth stating directly: on an ST 2110 system, a receiver is largely configured by a text file. The Session Description Protocol carries the multicast address, the payload type, and every parameter the receiver needs — resolution, frame rate, sampling, depth, the packing, the colour information, the PTP domain. The payload format specifications for both uncompressed video and JPEG XS each devote a section to how their parameters map into SDP.

Two things follow. A receiver told the wrong thing decodes confidently into nonsense rather than failing, which is why "the picture is garbage but the stream is arriving" is a description fault and not a network one. And the SDP file is a document you can read, diff against another, and keep — which makes it one of the most useful diagnostic artefacts in an IP video plant and one almost nobody archives.

Get the SDP for every essence during commissioning and keep it with the documentation. When a receiver misbehaves a year later, comparing the SDP it is using against the one that worked is often the entire investigation.

How to do it

  1. Name the standard in use for each path, from documentation rather than from the brand.
  2. For each, write down what it requires of bandwidth, clock and description.
  3. Count the multicast groups it implies, including separate audio and data essences.
  4. Find out how receivers are told what to expect, and get a copy of that description.
  5. Establish whether anything is leaving a managed network, and if so what protects it.
  6. Record all of it; this is the document somebody will need at three in the morning.

What goes wrong

SymptomLikely causeWhat to do
Video arrives and there is no audio anywhereST 2110 carries audio as separate essences; nobody subscribed to themFind the audio essences; they were never inside the video
Stream arrives and the picture is garbageThe receiver was told the wrong parametersA description fault — compare the SDP against the source
Sources will not appear in a browser listNDI discovery, which is a name service and does not cross subnetsSame VLAN, or a specific discovery configuration; not a bandwidth problem
Half a second of unexplained delayAn internet-transport protocol's recovery buffer used in-plantSRT and RIST are for leaving the building, not for a production path
Address plan ran out during commissioningEach ST 2110 source needs several groups, not oneCount essences rather than sources when planning multicast addresses

Practice it

For a system you work on.

Practice it
01
Name its standard and write down its three demands — bandwidth, clock, description.
Answer
If you cannot name all three demands, the standard was chosen by brand rather than by requirement.
02
Count the multicast groups one camera actually produces.
Answer
On ST 2110 a single camera is typically three or more essences.
03
Find and read one SDP file, and say what it would do if one line were wrong.
Answer
A wrong line produces a confident wrong decode, which is the most misleading fault class in this book.
Field checklist
  • Each path's standard is named from documentation.
  • Each one's bandwidth, clock and description demands are written down.
  • Multicast groups were counted as essences rather than sources.
  • Every essence's SDP or equivalent is archived.
  • Anything leaving a managed network has a protecting protocol named.
Chapter 10

Timing, Genlock and PTP for Video

Video timing used to arrive on its own coax from a box in a rack, and one day it became packets on the same network as everything else. Nobody announced this clearly, and it is the source of a whole class of faults that get blamed on the network.

What genlock was for, and what replaced it

In an SDI plant, a sync pulse generator distributed a reference — black burst or tri-level sync — to every device on its own cable. Every camera, every mixer, every frame store locked its own timing to that reference, which is why you could cut between two cameras without a glitch: both were producing frames at the same instants.

Genlock solved one problem precisely. Two sources that are not locked to a common reference drift apart, and cutting between them means the switcher has to wait, or re-time, or show a disturbance at the cut.

On an IP plant, PTP replaces the sync generator. A grandmaster distributes time as packets, every device derives its frame timing from it, and the reassembly of separate essences by timestamp depends entirely on everybody agreeing what time it is. So PTP is doing two jobs at once: the old genlock job of keeping sources in step, and the new job of letting a receiver put video and audio back together.

Which means PTP failure in a video plant is more serious than in an audio one. Audio loses its clock and drifts audibly. Video loses its clock and essences stop reassembling, cuts show disturbances, and receivers start discarding packets they judge late — several symptoms at once, none obviously pointing at time.

Timing as a box in a rack, old and new side by side.

What a video engineer needs to settle

You will not configure PTP — that is the network design, and AV-over-IP & Network Design covers grandmaster nomination, boundary clocks and domains. What a video engineer must know is narrower and it is operational.

Know which device is grandmaster and what happens when it goes. Know the PTP domain number, because a device on the wrong domain works perfectly and is locked to nothing you care about. Know where every device reports its clock status, and look at it before a show rather than during one. And know the epoch and offset conventions in use, because video timing is referenced to a defined origin and a device with the wrong offset is a fixed number of frames out — which looks like a lip-sync fault and is a timing configuration fault.

Then know what still needs genlock. Plants are hybrid for years, and any SDI equipment in the chain still wants its coax reference. The gateway between the two worlds has to be locked to both, and a plant where the PTP grandmaster and the sync pulse generator are not themselves locked together is a plant with two times in it. That is a real and common fault, and it produces a slow drift between the SDI and IP halves that nobody can localise because each half is internally perfect.

What a video engineer needs to settleThe four operational PTP facts a video engineer must know, and the hybrid-plant trap of two unlocked times.Four things to settle, and one trapPTP, operationallyYou will not configure PTP. What you must know is narrower, and it is operational.GRANDMASTERwhich device it is,and what happenswhen it goesDOMAIN NUMBERa device on the wrongdomain works perfectlyand is locked to nothingCLOCK STATUSwhere every devicereports it, looked atbefore a showEPOCH AND OFFSETa wrong offset is afixed number of framesout, all showTHE TRAP: TWO TIMES IN ONE PLANTAny SDI equipment in the chain still wants its coax reference, and the gateway has to be locked to both.If the PTP grandmaster and the sync pulse generator are not themselves locked together, the two halvesdrift apart slowly -- and nobody can localise it, because each half is internally perfect.A wrong offset looks like a lip-sync fault and is a timing configuration fault.Grandmaster nomination, boundary clocks and domains are the network design course. This is the operational half.
FIG 10.2 The four operational PTP facts a video engineer must know, and the hybrid-plant trap of two unlocked times.

How to do it

  1. Identify the grandmaster and confirm every device is following it.
  2. Confirm every device is on the same PTP domain number.
  3. Read each device's clock status and lock state, and note anything not locked.
  4. Confirm the offset or epoch convention is consistent across devices.
  5. If the plant has SDI, confirm the sync generator and the grandmaster are locked together.
  6. Cut between two sources and watch the transition; a disturbance is a timing symptom.

What goes wrong

SymptomLikely causeWhat to do
Essences stop reassembling and receivers discard packetsPTP lost or a device following a different masterCheck clock status everywhere before examining the network
A device works perfectly and is in step with nothingWrong PTP domain numberDomain numbers must match; a wrong one locks cleanly to the wrong thing
A fixed, consistent lip-sync offsetAn offset or epoch convention mismatch, not a delayA fixed error is configuration; a varying one is drift
Slow drift between the SDI and IP halves of a plantThe sync generator and the PTP grandmaster are not locked togetherLock them; otherwise the plant has two times in it
Visible disturbance when cutting between two sourcesSources not locked to a common referenceThe old genlock fault in new clothes; establish one reference

Practice it

On any IP video plant you can inspect.

Practice it
01
Identify the grandmaster and the domain number, and check every device agrees.
Answer
A single device on another domain is a common and invisible fault.
02
Find where each device reports lock status and write down where.
Answer
Knowing where to look takes minutes once and saves an hour under pressure.
03
If the plant has SDI, find out whether the sync generator is locked to PTP.
Answer
On hybrid plants the answer is often no, and it is worth raising before anybody notices a drift.
Field checklist
  • The grandmaster is known and every device follows it.
  • Every device is on the same domain number.
  • Every device reports locked, and you have looked.
  • Offset conventions are consistent.
  • Any SDI reference is locked to the same time as PTP.
  • A cut between two sources is clean.
Chapter 11

Artefacts, and Reading Them Backwards

What you can see narrows the cause faster than any instrument. Video faults are a small vocabulary of appearances, each with a short list of causes, and learning to read backwards from the screen is the most valuable diagnostic skill in this book.

The appearance tells you the family

Before reaching for a tool, look at the picture and ask what kind of damage it is. The answer almost always eliminates most of the possibilities.

A brief localised disturbance that clears on the next frame is packet loss in an intra-only or uncompressed essence. One frame lost a piece and the next frame is whole.

Blocky damage that smears and persists for up to a second is packet loss in an inter-frame compressed stream. The codec is propagating the damage until its next complete frame.

Horizontal tearing, a displaced band across the picture is timing: the receiver has output part of one frame and part of another, which means it is not being driven by a stable reference.

Freezing, then jumping is a receiver running out of buffered content and then catching up. The network delivered late, not wrong.

Banding on gradients is bit depth, not compression.

Coloured fringing on text and sharp edges is chroma subsampling somewhere it should not be.

Overall washed out, flat, or oversaturated is a colour space or transfer function mismatch. The packets were fine.

Confident, structured nonsense — the picture is clearly being decoded and is clearly wrong, perhaps skewed or in the wrong colours entirely — is a description fault. The receiver was told the wrong parameters.

Periodic judder at a regular interval is a frame rate mismatch, classically 59.94 against 60.

Reading an artefact backwards to its causeNine artefact appearances with the cause each one points to and the link in the chain it belongs to.What it looks like names the causenine faultsThe appearance eliminates most possibilities before you reach for a tool.WHAT YOU SEEWHAT IT ISBrief local disturbance, clears next frameloss in an intra-only essenceBlocky smear persisting about a secondloss in an inter-frame codecHorizontal tearing, a displaced bandtimingFreeze, then jumplateness, not lossPeriodic judder at a regular intervalframe rate mismatchBanding on gradientsbit depth, NOT compressionColoured fringing on textchroma subsamplingWashed out, flat or oversaturatedcolour space or transfer functionConfident structured nonsensea description faultNone of these is ‘the network’. Only the first four are even network-adjacent.Classify before measuring. It is faster and it is free.
FIG 11.1 Nine artefact appearances and the cause each one points to.
That one screen failing among several is the most informative thing you can see.

Packet loss and jitter are different faults

These two get conflated constantly and they call for different remedies, so it is worth separating them firmly.

Loss means packets did not arrive. Its causes are a full link, a full switch queue, a marginal cable, multicast not being forwarded correctly, or an unshaped encoder bursting. Its measurement is the sequence-number gap, which every RTP receiver already counts. Its remedy is upstream: more capacity, shaping, priority, or a better cable.

Jitter means packets arrived at uneven intervals, and the ones that arrived after their playout moment were discarded. Its causes are queuing on a busy path, a varying route, or clock instability. Its measurement is also in the RTP receiver reports, as a separate figure. Its remedy is either upstream — reduce the queuing — or local: a deeper receiver buffer, at the cost of latency.

The diagnostic value is this: a system with jitter and no loss measures as a perfectly healthy network, because nothing was dropped by the network. Everything was delivered. The receiver threw it away. If you only ever measure loss, that fault is invisible to you, and it is extremely common.

How to do it

  1. Look at the picture and classify the damage before touching anything.
  2. Say what family it is in — loss, timing, description, depth or colour.
  3. Check whether other receivers of the same source show it too.
  4. Read the loss and jitter figures separately for the affected receiver.
  5. Only now choose a tool, and choose the one that tests your hypothesis.
  6. Record the appearance, the cause and the measurement that proved it.

What goes wrong

SymptomLikely causeWhat to do
You reached for a packet capture firstSkipping the classification step, which is faster and freeLook at the picture; it eliminates most causes in seconds
Loss measures zero and the picture breaksJitter — late packets discarded by the receiverRead jitter as a separate figure; a clean loss count proves nothing
Damage blamed on compression turns out to be depthBanding on gradients is eight-bit, not a codec artefactClassify first; this one is misdiagnosed more than any other
Fault chased through the network and it was a text fileConfident structured nonsense is a description faultGarbage that is clearly being decoded means the parameters are wrong

Practice it

Build your own reference, deliberately, on a bench.

Practice it
01
Introduce packet loss on an intra-only stream and photograph the result.
Answer
Intra-only damage is brief and localised; this is the appearance to memorise.
02
Do the same on an inter-frame stream and compare the two appearances.
Answer
Inter-frame damage smears and persists, which is how you identify the codec family by eye.
03
Set a receiver's buffer very shallow and watch what late packets look like.
Answer
Shallow buffers produce freeze-then-jump, which is the signature of lateness rather than loss.
Field checklist
  • You can name the family from the appearance alone.
  • You have checked whether other receivers show it.
  • You have read loss and jitter as separate figures.
  • You chose a tool to test a hypothesis rather than to go looking.
  • The appearance, cause and proof are written in your notebook.
Chapter 12

Test and Measurement

What separates an engineer from somebody who swaps boxes is measurement. Five instruments answer nearly every question in this book, and only one of them is a packet capture.

The five instruments

Your eyes, with known content. A test pattern with a grey ramp, a colour bar set, and some fine detail will tell you about depth, colour space and chroma handling in seconds. Carry known content and know what it should look like. This is the cheapest and most underrated instrument there is.

The receiver's own statistics. Loss and jitter, per receiver, already being counted. Learn where your equipment exposes them. Comparing two receivers of one source is the single most informative measurement in IP video, and it costs nothing.

The switch's port counters. Utilisation, errors and discards, per port. Errors point at layer one; discards point at queues and therefore at bursts. A port with discards and healthy average utilisation is the signature of an unshaped encoder.

A waveform monitor or analyser with IP input. The instrument that tells you what the signal actually is rather than what it is supposed to be: levels, gamut, timing relative to reference. If the plant is serious, there is one, and knowing how to drive it is a real skill.

A packet capture. The last resort and the definitive one. It settles whether the stream arrived, in what order, with what timing and with what parameters. Nothing else can end the argument between network and application.

The five instrumentsFive measurement instruments in order of cost and frequency of use, from known content through to a packet capture.Four of five cost nothingmeasureAn engineer is distinguished from somebody who swaps boxes by measuring.Your eyes, with known contentdepth, colour space, chroma handlingfreeThe receiver's own statisticsloss and jitter, per receiverfreeThe switch's port counterserrors point at layer 1, discards at burstsfreeA waveform monitor with IP inputwhat the signal IS, not what it claimsa real instrumentA packet capturesettles network against application, definitivelylast resortComparing two receivers of one source is the single most informative measurement in IP video.Capture at the receiver, filtered to one group, for seconds rather than minutes.
FIG 12.1 The five instruments, what each answers, and what each costs.
The instrument that says what a signal is rather than what it claims to be.
Known content as the cheapest and most underrated instrument.

Using a capture on video

Video captures are large and the trick is to capture narrowly and know what you are looking for before you start.

Filter to the one multicast group and capture for a few seconds, not a few minutes — a 2.5-gigabit essence is over 310 megabytes a second. Then ask three questions of it. Are the sequence numbers continuous, which answers loss definitively. Are the arrival times even, which answers jitter. And do the header fields and the payload parameters match what the receiver was told, which answers description faults.

Capture at the receiver, not at the source. A capture at the source proves the source is sending, which is rarely the question. The useful capture is taken where the fault appears, because it tells you what actually arrived.

And capture both a working case and a broken one if you possibly can. A capture of a fault is suggestive; a pair of captures that differ in exactly one respect is proof, and it is what you want in your hand when you tell a manufacturer their product has a problem.

The last resort, taken at the receiver rather than at the source.

How to do it

  1. Put known content through the path and look at it.
  2. Read loss and jitter at every receiver of the source, and compare them.
  3. Read the switch port counters for errors and for discards, separately.
  4. Form a hypothesis and write it down before capturing anything.
  5. Capture at the receiver, filtered to the one group, for a few seconds.
  6. Check sequence continuity, arrival timing, and parameters against the description.
  7. Capture a working case for comparison if one exists.

What goes wrong

SymptomLikely causeWhat to do
Capture file is enormous and unusableUnfiltered capture of an uncompressed essenceFilter to the group and capture seconds, not minutes
Capture proves the source is sending and nothing elseCaptured at the source rather than where the fault appearsCapture at the receiver; that is where the question is
Port shows discards and healthy utilisationBursts filling the queue — an unshaped encoderDiscards and average utilisation are different measurements; read both
Measurements collected and nothing concludedNo hypothesis before measuringWrite down what you expect to see; measurement without a question is data collection

Practice it

On a bench or a quiet system.

Practice it
01
Put a grey ramp and a colour bar set through the path and record what you see.
Answer
A ramp exposes depth and a bar set exposes colour space, both in seconds.
02
Take a filtered three-second capture at a receiver and check sequence continuity.
Answer
Continuous sequence numbers prove no loss definitively, which no other measurement does.
03
Find the discard counter on a switch port and say what would make it increment.
Answer
Bursts exceeding the port's instantaneous capacity, which is the unshaped-encoder fault.
Field checklist
  • You looked at known content first.
  • You compared loss and jitter across receivers.
  • You read errors and discards separately.
  • You had a written hypothesis before capturing.
  • The capture was at the receiver, filtered and short.
  • You have a working case to compare against, or know you do not.
Chapter 13

SDI, IP and the Gateways Between

Every real facility is both SDI and IP for years, and the join between them is where a disproportionate share of faults live. It is also, in the specification's own terms, a thing with a name.

Video plus networking, and the realities.

What a gateway actually is

A box that takes SDI in and puts an IP essence out is doing something RTP has a word for. It is a translator: a device that takes a stream and re-emits it in a different form while preserving its identity. The specification distinguishes this from a mixer, which combines several streams into one with a new identity of its own, and it discusses at length how each must handle the control channel.

That matters practically. The specification requires a translator to forward and adjust RTCP so that reporting still works across it. A poorly implemented gateway that drops or mangles RTCP breaks reporting for everything downstream, which means your best diagnostic tool goes dark precisely at the boundary where you most need it. When receiver reports look wrong or missing on the IP side of a hybrid plant, the gateway is the first suspect.

Cascading makes it worse, and the specification says so about mixers: chain several and the identity and timing relationships get harder to follow at each stage. The design lesson is to minimise the number of conversions a signal passes through. Every SDI-to-IP-to-SDI round trip is latency, a re-timing, a potential re-encode, and a place where reporting can break.

The join between the two worlds, where a disproportionate share of faults live.

Running a hybrid plant

Four things, learned the hard way by everybody who has done it.

One time. The sync pulse generator and the PTP grandmaster must be locked together, or the plant has two times in it and the halves drift apart. This is the single most important thing on the list.

Count the conversions. Draw the signal path and mark every SDI-to-IP and IP-to-SDI crossing. Each one is latency and risk. A signal that crosses four times has usually done so because the plant grew rather than because anybody chose it, and the drawing is what makes that visible.

Know the latency of each crossing. They are not free and they are not equal, and a chain of them is how a plant ends up with a lip-sync problem nobody can localise. Get a figure for each gateway and add them up.

Keep the vocabulary straight. This is the part that actually wastes time in meetings. Broadcast engineers have been doing this longer than anybody and their words are precise and different: essence, reference, timing, source. AV says feed, sync, delay, signal. When a broadcast engineer asks whether your sources are timed, they are not asking whether they are working. Learn their vocabulary rather than expecting them to learn yours — they have more experience of this problem than you do, and they are generally delighted to be asked.

Running a hybrid plantThe four rules for running a plant that is part SDI and part IP, including the broadcast and AV words for the same four things.Four things, learned the hard wayhybridPlants are hybrid for years, and these are the four that cost people shows.1 ONE TIMEThe sync pulse generator and the PTP grandmaster must be locked together, or the plant has two times in it.2 COUNT THE CONVERSIONSMark every SDI-to-IP andIP-to-SDI crossing on the drawing.3 KNOW EACH CROSSING'S LATENCYThey are not free and not equal.Get a figure for each, and add up.4 KEEP THE VOCABULARY STRAIGHTessencefeedreferencesynctimingdelaysourcesignalbroadcast word above, AV word belowAsked whether your sources are timed, a broadcast engineer is not asking whether they are working.
FIG 13.2 The four rules for a part-SDI, part-IP plant, with the broadcast and AV words for the same four things.

How to do it

  1. Draw the signal path from every source to every destination.
  2. Mark every SDI-to-IP and IP-to-SDI crossing on the drawing.
  3. Get a latency figure for each crossing and total them per path.
  4. Confirm the sync generator and the PTP grandmaster are locked together.
  5. Check that RTCP reporting survives each gateway.
  6. Look for any path crossing more than twice, and ask why.

What goes wrong

SymptomLikely causeWhat to do
Receiver reports missing or wrong on the IP sideA gateway not handling the control channel properlyThe gateway is a translator and is required to forward RTCP; suspect it first
Lip-sync error nobody can localiseAccumulated latency across several conversionsGet a figure per crossing and add them up; the drawing finds this
SDI and IP halves slowly drift apartSync generator and grandmaster not locked togetherOne time for the whole plant, always
A signal crosses the boundary four timesThe plant grew; nobody drew itDraw it, then remove the crossings that exist for no reason
A meeting with broadcast engineering goes badlyTwo vocabularies for the same thingsLearn theirs; it is older, more precise, and they will help

Practice it

On a plant you have access to, or from its drawings.

Practice it
01
Count the SDI-to-IP crossings on the longest signal path.
Answer
More than two is usually accidental and usually removable.
02
Find out whether the sync generator and the grandmaster are locked together.
Answer
On hybrid plants the answer is often no, and raising it is valuable.
03
Learn five broadcast terms for things you call something else.
Answer
Essence, reference, timed, source and genlock are a good five to start with.
Field checklist
  • The signal path is drawn with every crossing marked.
  • Each crossing has a latency figure and the totals are known.
  • The sync generator and the grandmaster are locked together.
  • RTCP reporting survives every gateway.
  • No path crosses the boundary more than it needs to.
  • You can hold a conversation in broadcast vocabulary.
Chapter 14

Commissioning and Running a Video Plant

Proving a video plant is a different procedure from proving a network, and it has to be done after the network has been proved rather than instead of it. The order matters because it is what makes a fault attributable.

Prove each essence, then the path, then the show

The network books cover proving the network: cable, configuration, addressing, two laptops per VLAN. Assume that is done. What follows is the video commissioning, and it has three stages.

Each essence on its own. One source, one receiver, nothing else. Confirm the picture is right with known content, confirm the loss and jitter figures are zero and small, and archive the SDP. Do this for every essence — including the audio and data essences, which is where people stop early and regret it.

Each path end to end. Source through every gateway, processor and conversion to its real destination. Measure the latency of the whole path and write it down. This is where accumulated conversion latency becomes visible and where a lip-sync problem is cheap to fix.

The whole plant at once, on demanding content. Every source running, every destination subscribed, and — this is the part people skip — the most detailed, fastest-moving content available rather than a test card. A compressed plant commissioned on a static test pattern has been commissioned at the easiest moment it will ever face. Run it for longer than feels necessary, because clock problems and slow leaks only show over time.

Then record what normal looks like, because it is the handover document that actually gets used: per-essence bit rate under demanding content, per-path latency, loss and jitter at every receiver, port utilisation and discards, and clock status. Without that baseline nobody can tell an abnormal reading from an ordinary one.

Proving one essence at a time, with nothing else connected.

Monitoring, and documenting a plant

A live plant should be watched for the things that are visible before they are visible on screen: port discards creeping up, jitter rising at one receiver, a clock that has re-elected, an essence whose bit rate has changed because somebody altered an encoder setting. All of those precede a visible fault, and all of them are free to watch if somebody has been shown where.

Documentation for a video plant is not the network documentation and the two are often confused. A video plant needs: the signal path drawing with every conversion marked; the essence list with each one's multicast address, format and bit rate; every SDP archived; the per-path latency figures; the clock arrangement including what is grandmaster and what is locked to what; and the baseline.

Add the artefact notebook if you keep one, and hand that over too. It is the least formal document in the pack and often the most useful, because it tells the next person what has already gone wrong here.

Monitoring, and documenting a plantThe four signs that precede a visible fault, and the six documents a video plant's handover pack contains.Watch these, hand over thesebefore it showsAll four signs precede a visible fault, and all are free to watch if somebody has been shown where.WATCHED, BEFORE IT IS ON SCREENport discards creeping upjitter rising at one receivera clock that has re-electedan essence whose bit rate changedTHE HANDOVER PACKthe signal path, every conversion markedthe essence list: address, format, rateevery SDP archivedthe per-path latency figuresthe clock arrangement, and what locks to whatthe baselineAND THE LEAST FORMAL DOCUMENT IN THE PACKThe artefact notebook. Hand it over too: it tells the next person what has already gone wrong here.A video plant's documentation is not the network documentation, and the two are often confused.
FIG 14.2 The four signs that precede a visible fault, and the six documents a video plant's handover pack contains.

How to do it

  1. Confirm the network has been proved first, and do not start before it has.
  2. Prove each essence alone with known content, including audio and data essences.
  3. Archive every SDP as you go.
  4. Prove each path end to end and measure its total latency.
  5. Run everything at once on the most demanding content you can find.
  6. Record the baseline — bit rates, latencies, loss, jitter, discards, clock.
  7. Write the six video documents and hand them over in person.

What goes wrong

SymptomLikely causeWhat to do
Commissioning passed and the show broke upCommissioned on a test card, the easiest content there isAlways commission a compressed plant on demanding content
Audio missing on opening nightAudio essences never commissioned because video looked fineProve every essence, not every source
Lip-sync problem discovered in rehearsalPer-path latency never measuredMeasure each path end to end at commissioning, when it is cheap to fix
Operations cannot tell whether a figure is a problemNo baseline recorded while the plant was healthyThe baseline is the handover document that gets used
Network documentation exists and the plant is still opaqueNetwork documents do not describe essences, formats or timingA video plant needs its own six documents

Practice it

On the next plant you commission or can study.

Practice it
01
Count the essences and compare that to the number of sources.
Answer
Essences outnumber sources, often by three or more, and that is the planning number.
02
Measure one path's total latency end to end.
Answer
The total is usually larger than anybody expects and is mostly conversions.
03
Write the essence list with address, format and bit rate for each.
Answer
If this list does not exist, nothing else about the plant can be checked.
Field checklist
  • The network was proved before video was connected.
  • Every essence was proved alone, including audio and data.
  • Every SDP is archived.
  • Every path has a measured end-to-end latency.
  • The whole plant ran at once on demanding content.
  • The baseline is recorded.
  • The six video documents exist and have been handed over.
Chapter 15

IP Video as the Future

The engineering in this book is a chain: the signal's six numbers decide its bit rate, the bit rate and the latency requirement decide the codec, the codec decides the artefacts you will see, and the timing decides whether any of it reassembles. Read back along it and every symptom has a place it comes from.

The converged, network-based direction of video.

IP video understood

Here is the whole chain in one paragraph. Resolution, frame rate, scan, sampling, depth and colour space describe the signal. Sampling and depth give the pixel group, the pixel group gives bits per pixel, and with resolution and frame rate that gives the bit rate. The bit rate against the available link, with the latency requirement, chooses between uncompressed, mezzanine and distribution compression. The codec family determines what a lost packet looks like. RTP numbers and timestamps the packets so loss and lateness can be measured; the receiver's buffer trades latency for tolerance; PTP keeps every device agreeing on time so separate essences reassemble; and SDP tells each receiver what it is being sent. Every artefact in the artefacts chapter is one of those links failing.

The value of holding it as a chain is that symptoms become attributable. Banding is depth. Fringing is sampling. Smearing damage is an inter-frame codec. Tearing is timing. Confident nonsense is a description. Freeze-and-jump is lateness. None of those is "the network", and an engineer who can say which link failed is worth several who can only say that it broke.

It also tells you what to ask when somebody describes a fault over the phone. Not "what have you tried" but "what does it look like" — because the appearance narrows the cause before you have left the building.

Developing IP video expertise

Three things, in order of how much they pay back.

Build the artefact reference deliberately rather than waiting for it. On a bench, introduce faults on purpose — drop packets on an intra-only stream and on an inter-frame one, starve a buffer, feed a receiver the wrong parameters, run two sources at slightly different rates — and photograph each result. An afternoon of that is worth years of accidental exposure, and nothing else in this trade gives a better return for the time.

Learn to drive a waveform monitor with an IP input. It is the instrument that tells you what a signal is rather than what it claims to be, and the number of people in AV who can use one properly is small enough that it distinguishes you immediately.

Then go and talk to broadcast engineers, in their vocabulary. They have been doing packetised video longer than the AV trade has, their terminology is precise, and they are generally pleased to explain it. The scarcest and best-paid technical role in this trade right now is somebody who can hold both halves of this conversation, and the fastest route to it is spending time with the people who hold the older half.

Read the specifications themselves. They are free, they are shorter than you expect, and the three cited in this book — the uncompressed payload format, JPEG XS carriage, and RTP itself — contain the answer to most questions anybody will ask you about IP video.

Glossary

IP videoA video signal cut into packets, carried over a standard network
EssenceOne stream of one kind of content — video, audio or data — carried separately
SDIThe constant-rate serial video signal on coax that IP video replaced
EncoderTurns a signal into packets, and decides the bit rate and most of the latency
DecoderTurns packets back into a signal; how it fails tells you what went wrong
ResolutionThe pixel count of each picture
Frame ratePictures per second — and 59.94 is not 60
ScanWhether a picture is complete (progressive) or split into two fields (interlaced)
Colour samplingHow often chrominance is sampled relative to luminance — 4:4:4, 4:2:2, 4:2:0
Bit depthBits per sample; ten is the production floor, eight causes banding
Colour spaceWhat the sample values mean — Rec. 709, Rec. 2020
Transfer functionHow code values map to brightness; PQ and HLG for HDR
Pixel groupThe smallest run of adjacent pixels that packs into whole octets
RTPThe protocol every IP video standard rides on, adding sequence numbers and timestamps to UDP
Sequence numberIncrements per packet; a gap is packet loss, measured exactly
RTP timestampWhen a packet's content belongs in time, which is how playout stays even
SSRCThe unique identifier of a sender within a session; it changes when a source restarts
RTCPThe control channel beside every stream, carrying per-receiver loss and jitter
JitterVariation in arrival time; late packets are discarded though nothing was lost
Receiver bufferDepth traded against latency, absorbing jitter
Mezzanine codecIntra-only, low latency, survives repeated processing — for moving pictures around
Distribution codecInter-frame, high ratio, slow and fragile — for delivering a finished picture
GOPA group of pictures in an inter-frame codec; the source of its latency and its smearing
JPEG XSThe current low-latency mezzanine codec, carried over RTP by RFC 9134
Traffic shapingSmoothing an encoder's bursty output so it does not overflow a queue
ST 2110The broadcast standard that carries video, audio and data as separate essences
SDPThe session description that tells a receiver what it is being sent
PTPPrecision Time Protocol; replaced genlock and also reassembles essences
GenlockThe coax timing reference an SDI plant distributes, still needed in hybrid plants
TranslatorWhat a gateway is, in RTP's terms — re-emits a stream in another form

Practical sign-off

IP video is an emerging field. The learner understands IP video, how it works, the standards, and the converged skills it needs. A mentor signs off when the learner understands IP video engineering foundations.

  • Explained IP video and why AV is moving to it
  • Described how video is encoded, networked, and decoded
  • Identified key IP video standards (NDI, SMPTE 2110, AVoIP)
  • Recognised the converged video+networking skills IP video requires

How to do it

  1. Ask what it looks like, before anything else.
  2. Place the appearance in a family — loss, lateness, timing, description, depth or colour.
  3. Name the link in the chain that family belongs to.
  4. Check whether other receivers of the same source agree.
  5. Measure the one thing that would confirm or refute it.
  6. Record the appearance, the cause and the proof.

What goes wrong

SymptomLikely causeWhat to do
A fault described as "the network is bad"No classification was attemptedAsk what it looks like; the appearance names the link
Hours spent on a network that was always healthyA description, depth or codec fault presenting as breakupOnly loss and lateness are network faults; the rest are not
The same fault recurs and is diagnosed from scratch each timeNothing was written downThe artefact notebook; it is the highest-value habit in this book

Practice it

An honest audit.

Practice it
01
Write the chain from the six numbers to the artefact from memory.
Answer
If a link is missing from your version, that is the chapter to re-read.
02
For each artefact family, name the link it belongs to.
Answer
All nine appearances in the artefacts chapter map to a link; none maps to "the network".
03
Say which link you understand least well.
Answer
For most readers it is timing, and a bench afternoon fixes that faster than reading.
Field checklist
  • You can state a signal's six numbers and derive its bit rate.
  • You can look up a pixel group and work out bits per pixel.
  • You can tell a mezzanine codec from a distribution one by its artefacts.
  • You read loss and jitter as separate figures.
  • You can name which link in the chain an appearance belongs to.
  • You keep an artefact notebook.
Chapter 16

Where to Go Next

This book is the video half of a three-book set. AV Networking Intermediate configures the network it runs on and AV-over-IP & Network Design designs it; if anything here made you want to change a switch setting or size a link, those are the two to go back to. Sideways from here, Live Audio takes the audio essence properly and Timecode & Sync takes timing distribution.

The first ninety days

Spend one afternoon on a bench breaking things on purpose, and photograph every result. Drop packets on an intra-only stream and on an inter-frame one. Starve a receiver's buffer. Feed a receiver the wrong sampling. Run two sources at 59.94 and 60. You will come away with an artefact reference it would otherwise take years to accumulate, and it is the single highest-value afternoon in this series.

Then derive the bit rate of every essence you work with from its pixel group rather than looking it up, until the arithmetic is automatic. And start the notebook: appearance, cause, proof. Three columns.

Where this leads

Broadcast engineering, IP video engineering in large venues and facilities, and the systems-integration roles where somebody has to own the whole signal chain. It is the scarcest technical skill in the trade at the moment and the shortage is not closing.

Visual glossary

What the gear actually looks like

Every device named in this book, in one place. Recognition is the whole point of Chapter 4 — use this page to attach a picture to each name before you meet it on a dock at six in the morning.

Audio
Dynamic microphone
Dynamic microphone
Condenser microphone
Condenser microphone
Wireless handheld
Wireless handheld
Radio rack
Radio rack
Mixing console
Mixing console
Stage box / snake
Stage box / snake
Power amplifier
Power amplifier
Main loudspeaker
Main loudspeaker
Subwoofer
Subwoofer
Stage monitor wedge
Stage monitor wedge
In-ear monitors
In-ear monitors
DI box
DI box
Video
Camera
Camera
Video switcher
Video switcher
Scaler / processor
Scaler / processor
Projector
Projector
LED wall panel
LED wall panel
Confidence monitor
Confidence monitor
Lighting & control
Conventional fixture
Conventional fixture
Moving-head fixture
Moving-head fixture
Lighting console
Lighting console
Dimmer
Dimmer
Show controller
Show controller
Media server
Media server
Networking & infrastructure
Network switch
Network switch
Patch bay
Patch bay
Equipment rack
Equipment rack
Power distribution
Power distribution
Cable tester
Cable tester
A properly coiled cable
A properly coiled cable
Connectors, close up
XLR
XLR
TRS / TS ¼-inch
TRS / TS ¼-inch
SDI on BNC
SDI on BNC
HDMI
HDMI
Cat5e / Cat6 (RJ45)
Cat5e / Cat6 (RJ45)
Fiber optic
Fiber optic
DMX (5-pin XLR)
DMX (5-pin XLR)
AC power — not signal
AC power — not signal
Reboot AV
Find the source.
Find the destination.
Work along the path between them.
Every device on every show exists to serve that movement. Everything after IP Video Engineering goes deeper in one direction.
rebootav.tech