AVgecko
HomeLearn AV
Toolssoon
← All chapters

9.AV-over-IP

  1. 1Encoders & decoders
  2. 2Codecs, compression & latency
  3. 3Audio networking
Chapter0/3
← 9. AV-over-IP

Codecs, compression & latency

The trade-off triangle: quality, bandwidth, delay.

Chapter 911 minCompression trade-off explorer

Chapter 2 showed that a 4K60 picture is about 12 Gbps of raw pixel data. A 1 Gb network port carries less than a tenth of that. To move video over ordinary networks, or over the internet to a far-end meeting room, most systems compress it with a codec (coder–decoder). Every codec trades three things against each other: bandwidth, picture quality and latency. You can usually have two.

How compression saves space

Codecs remove information you are unlikely to notice. They work in two broad ways:

  • Intra-frame compression squeezes each frame on its own, much like a JPEG photo. It can start sending a frame before it has finished receiving it, so the delay can be a small fraction of a frame.
  • Inter-frame or long-GOP compression also exploits similarities between frames: most of a talking-head video doesn't change from one frame to the next, so only the changes are sent. A group of pictures (GOP) starts with a complete frame and follows it with frames that only describe differences. This saves far more bandwidth, but the encoder has to look across several frames, which adds latency.
compressed bitrate = uncompressed bitrate ÷ compression ratio
Codec familyApproachTypical use
UncompressedNone10 GbE AVoIP, broadcast (SMPTE ST 2110)
JPEG XSIntra-frame, very low latency, designed to be visually lossless at moderate ratiosIn-room AVoIP, IPMX, live production
JPEG 2000Intra-frameSome AVoIP and contribution links
H.264 / AVCLong-GOPConferencing, streaming, recording
H.265 / HEVC, AV1Long-GOP, better efficiency than H.264Streaming and newer conferencing systems
Uncompressed
ApproachNone
Typical use10 GbE AVoIP, broadcast (SMPTE ST 2110)
JPEG XS
ApproachIntra-frame, very low latency, designed to be visually lossless at moderate ratios
Typical useIn-room AVoIP, IPMX, live production
JPEG 2000
ApproachIntra-frame
Typical useSome AVoIP and contribution links
H.264 / AVC
ApproachLong-GOP
Typical useConferencing, streaming, recording
H.265 / HEVC, AV1
ApproachLong-GOP, better efficiency than H.264
Typical useStreaming and newer conferencing systems
Compression trade-off explorer
Source
Compression
Stream bitrate1.99 Gbps
1 GbE✕ doesn't fit
10 GbE✓ 20% of link
Uncompressed

11.94 Gbps

8-bit 4:4:4, active picture only.

Codec latency

< 16.7 ms

Works on a few lines at a time — well under one frame.

Picture quality

Visually lossless

At moderate ratios, differences are designed to be invisible.

Ratios are illustrative ranges for each family, not product specifications. Real encoders vary bitrate with content and settings; check the manufacturer's figures.

Start at 4K60 uncompressed and see which links it fits. Try light compression, then long-GOP: watch the bitrate fall and the latency rise. Then push light compression past 10:1.

Latency: the delay you can feel

Latency is the time from light entering a camera, or a frame leaving a laptop, to the picture appearing on a display. It builds up along the whole chain:

total latency = capture + encode + network + decode + display processing

Different jobs tolerate very different amounts:

  • Interactive use — moving a mouse on a laptop shown on the room display — needs latency low enough that the pointer doesn't feel sluggish, ideally well under a frame or two.
  • Live image magnification (IMAG) — a presenter shown on a big screen behind them — needs very low latency, or the audience sees their lips move out of time with their voice.
  • Conferencing already includes network delay across the internet, so long-GOP codecs are acceptable.
  • Streaming and recording can tolerate seconds of delay in exchange for efficiency.
In the field

The display itself is often the biggest source of delay: picture-enhancement processing on consumer TVs can add several frames. A “game”, “PC” or low-latency picture mode usually removes most of it — worth checking before blaming the AVoIP system.

Lip sync

Video processing usually takes longer than audio processing, so sound can arrive before the picture. Viewers are especially sensitive to sound that leads the picture. Most DSPs and many AV devices offer an audio delay setting so the sound can be held back to match the video; set it by watching and listening to someone speaking or clapping on camera.

Key takeaways

  • 01Codecs trade bandwidth, picture quality and latency; you usually get two of the three.
  • 02Intra-frame codecs such as JPEG XS compress each frame alone, with very low latency.
  • 03Long-GOP codecs such as H.264 and H.265 save far more bandwidth but add at least a frame of delay.
  • 04Total latency adds up across capture, encode, network, decode and the display's own processing.
  • 05Use low-latency picture modes on displays and audio delay in the DSP to keep lips in sync.

Check your understanding

Q1A live presenter is magnified on a screen behind them. Which compression approach suits it best?

Q2Why does long-GOP compression add more latency than intra-frame compression?

Q3A room's video looks sluggish but the AVoIP system is specified for very low latency. What should you check first?

← Previous

Encoders & decoders

Next →

Audio networking