HLS (m3u8) or MPEG-TS: which stream format should you choose for IPTV?
Take HLS (.m3u8) for watching in a browser, and try MPEG-TS (.ts) when HLS fails. Both carry the same picture; only the delivery differs. In the CodoPlayer web player, open Settings and change Live stream format between HLS (.m3u8) and MPEG-TS (.ts). TV boxes and TV apps normally play both forms.
By the CodoPlayer team. Last updated . CodoPlayer provides no channels, films, series, playlists or subscriptions. You bring your own source and you are responsible for using it lawfully.
How to change the live stream format in the web player
- Open the web player in your browser with your Xtream playlist.
- Open Settings and find the choice Live stream format.
- See which value is chosen: HLS (.m3u8), the one the player starts with, or MPEG-TS (.ts).
- Choose the other value if your live channels do not start in the browser.
- Go back to Live TV and open a channel: it now comes in the format you chose.
What is the difference between HLS and MPEG-TS?
An Xtream Codes provider offers every live channel in two forms: HLS, whose address ends in .m3u8, and MPEG-TS, whose address ends in .ts. Both carry the same video; only the delivery differs. HLS cuts the stream into short pieces fetched one by one, while MPEG-TS is one continuous stream over an open connection.
Why does HLS run a little behind MPEG-TS on live channels?
HLS usually runs some seconds further behind the live moment, because the player fetches the stream piece after piece, while MPEG-TS arrives continuously. A browser cannot play MPEG-TS on its own, though: a web player has to repackage it inside the page, whereas HLS is the form made for browsers.
Does HLS or MPEG-TS give better picture or sound?
Neither format gives a sharper picture or better sound, because the provider sends the same video either way. The format only changes how it travels to you. Movies and episodes are files, such as mp4 or mkv, so this choice is about live channels and does not touch them.
Which stream format does the web player start with?
The CodoPlayer web player starts with HLS. In Settings, the choice Live stream format offers HLS (.m3u8) and MPEG-TS (.ts), and its note reads: m3u8 (HLS) is best for browsers. Try MPEG-TS if HLS fails. The choice is kept in the browser on that device, so another browser starts with HLS again.
When should you change the live stream format in the web player?
Change it when live channels keep failing in the browser while the same subscription works elsewhere: some providers serve one of the two forms better than the other. With an Xtream playlist, when a live channel does not start in the chosen format, the web player tries the other format by itself.
Does the choice apply to an M3U playlist or a TV app?
The choice in the web player applies to live channels of an Xtream playlist. An M3U playlist gives one fixed address per channel, and the player plays what that address is. TV boxes and TV apps normally play both forms, so the question mostly comes up when you watch in a browser.
Free tools for this problem
- Browser Playback Test: See in one click which picture, sound and stream formats this browser can play.
- M3U8 Player and HLS Inspector: Read an HLS manifest and play one .m3u8 stream, in your browser.
- Stream Tester: Speed, codec, resolution and buffering risk of one channel or video.
Related questions
What is an Xtream Codes login, and what is an M3U playlist?
An Xtream login is a server address plus a username and password; it exposes live channels, films, series and a programme guide. An M3U/M3U8 playlist is a single file or link listing streams. A get.php link containing a username and password is an Xtream account in playlist form.
Is the browser player the same as the app?
Same account and same playlists. The apps add what only a native build can do: recording, offline downloads, picture-in-picture, external players, background playback and remote-control handling on TV. The web player needs nothing installed and runs in any current browser, so it is the quickest way to try your playlist.