Skip to content
XCodes IPTV
IPTV Basics & Technology

HLS vs MPEG-TS: IPTV Stream Formats Explained Simply

HLS and MPEG-TS compared for IPTV: how each format delivers video, why apps offer both output types, and which to choose for stability on your device.

By XCodes IPTV 4K Editorial TeamUpdated 2 min read

MPEG-TS sends video as one continuous stream of small packets, a format designed for broadcast TV. HLS splits video into short segments listed in an .m3u8 playlist, which the player downloads one after another. In IPTV apps, you'll often see a choice between "TS" and "HLS / M3U8" output. TS usually starts faster and has lower delay; HLS often copes better with unstable connections and is required on some Apple and web players. If one stutters, try the other.

How each format works

MPEG-TSHLS
StructureContinuous stream of 188-byte packetsShort segments (a few seconds each) plus an .m3u8 playlist
OriginBroadcast standard (ISO/IEC 13818-1)Apple's HTTP Live Streaming, published as RFC 8216 (opens in a new tab)
DeliveryOne long HTTP (or UDP) streamMany small HTTP requests
Adaptive qualityNot built inSupports multiple quality levels
Typical latencyLowerHigher (segment-based)
Common file extension.ts.m3u8 (playlist) with segments

TS vs HLS in IPTV apps

Many IPTV services let you choose the output format, either in the app's playlist settings or in the M3U link itself (output=ts or output=m3u8). See what an M3U URL is.

Choose TS if…Choose HLS if…
Channels start slowly with HLSTS freezes on a weaker connection
You want the lowest delay for live sportYour player or device prefers HLS (e.g. some Apple apps, browsers)
Your connection is stable and wiredYou're on Wi-Fi or mobile data

There's no universal winner; test both on your device and network.

How this relates to M3U and M3U8

  • An IPTV M3U playlist lists channels.
  • An HLS .m3u8 playlist lists the segments of one stream.

They share the same text format but do different jobs. See what an M3U8 file is and what an M3U playlist is.

Latency and buffering

HLS players usually buffer a few segments before playing, which adds delay but smooths over short network dips. TS starts sooner but is more sensitive to interruptions. See why IPTV is delayed and fix IPTV buffering.

Frequently asked questions

Is HLS better than TS for IPTV?

Neither is always better. HLS handles unstable connections well; TS starts faster with lower delay. Try both.

It asks the server for MPEG-TS streams. Change it to output=m3u8 to request HLS, if your service supports it.

Why does a channel play in TS but not HLS?

The server or your player may handle that format differently for that channel. Use the format that works.

Conclusion

MPEG-TS and HLS are two ways of packaging the same video: continuous versus segmented. Switch between them when you troubleshoot stutter or slow starts. For the full picture of IPTV formats, see IPTV technology explained.

Need a hand with setup?

Tell us your device and app — we'll walk you through it.