MPEG-TS (MPEG transport stream) is the container designed for delivery over unreliable, real-time channels — terrestrial and satellite broadcast, IPTV, and HLS segments. It chops everything into small fixed 188-byte packets and multiplexes audio, video, and timing into one stream that can be tuned into mid-flow and degrades gracefully when packets are lost. Each elementary stream carries PTS/DTS timestamps, and the program clock reference (PCR) gives the decoder the master clock to interpret them. Its robustness is why it survived from digital TV into streaming, though the move to CMAF and fragmented MP4 is gradually replacing TS for on-demand and low-latency HLS.

Book cover: Audio for Video, Volume 5 of the Fora Soft Video Engineering Handbook

The book · Volume 5 of 7

Audio for Video: A Complete Guide to Sound in Video Products: From Jitter Buffers and Lip Sync to Atmos, Quality Metrics, and Neural Codecs

MPEG-TS carries audio and video with their own timestamps and a PCR clock, and much broadcast and HLS audio drift starts there. Volume 5 covers this in detail: timestamps and clock domains, lip sync, and diagnosing audio incidents by symptom, so you can trace a desync in a transport stream back to its cause. Written by Nikolay Sapunov, CEO at Fora Soft.

Read it on Amazon →Kindle & paperback · Fora Soft Video Engineering Handbook

Seeing audio drift or lip sync errors in your MPEG-TS or HLS streams?

Send us a captured stream and we will analyse its timestamps and PCR and return a diagnosis with the fix for your packager or encoder. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →