.TS

TS File

MPEG Transport Stream
Ask a question
QUICK ANSWER

A .ts file is an MPEG Transport Stream - a video container format from digital TV, PVR recordings, AVCHD camcorders, and HLS streaming. VLC media player opens it on any OS. To convert it to MP4, use ffmpeg (fast lossless remux) or HandBrake.

Developer: MPEG / ISO-IEC (MPEG-2 Systems) Category: Video Files Open standard MIME: video/mp2t
OPENS ON Windows macOS Linux
Related: .DAV · .MKV · .MP4 · .H264

On this page

19k+ extensions indexed
Last reviewed Jul 2, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the TS file format?

.ts (short for Transport Stream) is a video container format used for transporting and storing compressed MPEG audio and video data. Originally developed for digital broadcast television (DVB, ATSC, ISDB), it is also widely used by DVR devices and set-top box recorders.

.ts files use the MPEG-2 Systems container standard and store data in a multiplexed format. The stream consists of fixed-size 188-byte packets, each starting with the sync byte 0x47. Multiple elementary streams - video, audio, and metadata - are carried simultaneously and identified by Packet Identifiers (PIDs), allowing the format to support simultaneous image and sound transmission.

Recorders typically create multiple .ts files for a single session, e.g. name1.ts, name2.ts, name3.ts, etc. These can be converted into other formats such as .MP4, .MPG, .MKV, and .M2TS.

Security & safety

RISK: LOW

A TS video is media data - it doesn't execute on its own when you play it in a media player, so risk is low. Two practical cautions: (1) malformed or maliciously crafted streams have occasionally triggered bugs in media decoders, so keep your player (VLC/MPV) updated; (2) only the right kind of player should be used - opening a TS in a text editor just shows binary garbage. Files downloaded from untrusted sources should be scanned like any download.

Format details

in a nutshell
FULL NAMEMPEG Transport Stream
DEVELOPERMPEG / ISO-IEC (MPEG-2 Systems)since 1995 (ISO/IEC 13818-1, MPEG-2 Systems)
CATEGORYVideo Files
MIME TYPEvideo/mp2t
TYPEBinary MPEG-2 Transport Stream container (fixed 188-byte packets)
STANDARDOpen · royalty-free
This extension is also used by…
  • TypeScript source code - Microsoft's typed superset of JavaScript uses .ts for plain-text source files (.tsx with JSX); open these in a code editor like VS Code, not a video player.
  • Qt translation source (Linguist) - Qt's Linguist tool stores translatable strings in .ts XML files - niche, developer-only.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00
HEX
47
ASCII
G
An MPEG Transport Stream is a series of 188-byte packets, each starting with the sync byte 0x47, so byte 0 (and bytes 188, 376, 564 …) is 0x47. This repeating sync is the reliable identifier of a TS video file.

Programs that open TS files

Windows4 apps
VLC media player Open-source Open the .ts directly - VLC plays transport streams natively, including odd timestamps.
FFmpeg Open-source Remux/convert: 'ffmpeg -i in.ts -c copy out.mp4' (fast, lossless when codecs are MP4-compatible).
HandBrake Open-source Convert a TS video to MP4/MKV (re-encode or passthrough); good for trimming TV recordings.
mpv Open-source Plays TS video reliably, including streams with timing quirks that confuse other players.
macOS2 apps
VLC media player Open-source Play TS video files directly on macOS.
IINA / MPV Open-source Modern macOS players that handle TS streams smoothly.
Linux3 apps
VLC media player Open-source Plays TS video natively.
FFmpeg Open-source Remux/convert TS: 'ffmpeg -i in.ts -c copy out.mp4' (fast, lossless when codecs are MP4-compatible).
mpv Open-source Reliable TS playback from the command line or GUI.

Technical details

deep spec
Container structureFixed-size 188-byte packets mandated by ISO/IEC 13818-1; no variable-length packets
Sync byte0x47 at offset 0 of every packet; repeats exactly every 188 bytes and is the primary file identifier
MIME typevideo/mp2t
Packet Identifier (PID)13-bit field (0x0000-0x1FFF) in each packet header routing the payload to the correct elementary stream
Program Association Table (PAT)Mandatory table carried at PID 0x0000; lists all programs in the stream and their corresponding PMT PIDs
Program Map Table (PMT)Per-program table mapping component PIDs for video, audio, subtitles, and other elementary data streams
Program Clock Reference (PCR)42-bit timestamp embedded in adaptation fields; used by decoders to recover the encoder clock and synchronize audio/video
Multi-program supportA single .ts file can carry one program (SPTS) or multiple programs simultaneously (MPTS)
Codec supportContainer-agnostic: carries MPEG-2 Video, H.264/AVC, H.265/HEVC, MPEG-1 Audio, AC-3, AAC, and other codecs as PES payloads
Conditional accessSupports stream encryption via Conditional Access System (CAS) using ECM and EMM packets
Error resiliencePacket-based structure lets receivers resynchronize from the next 0x47 sync byte after a transmission error without restarting
Adaptation fieldOptional 0-183 byte field per packet carrying PCR timestamps, discontinuity flags, and stuffing bytes for padding
Primary use casesDigital broadcast TV (DVB-T/S/C, ATSC, ISDB), IPTV delivery, live stream recording, and DVR output
Common conversion targets.mp4 (H.264/AAC remux), .mkv (lossless container switch), .mpg (MPEG-2 compatibility), .m2ts (Blu-ray variant)
Released1995 (ISO/IEC 13818-1, MPEG-2 Systems)
Open standardYes · royalty-free
Specificationen.wikipedia.org

TS conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with TS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about TS files.

Frequently asked questions

How do I open a .ts video file?
Play it in VLC or MPV - both support MPEG Transport Streams natively on Windows, macOS and Linux. The default Windows player often fails on TS (no audio/codec issues), so use VLC.
How do I convert a .ts video to MP4?
Use ffmpeg for a fast lossless remux ('ffmpeg -i in.ts -c copy out.mp4') when the codecs are already MP4-compatible, or HandBrake if you need to trim or re-encode. VLC can also Convert/Save to MP4.
How do I join many .ts files into one video?
They're usually HLS stream segments. With ffmpeg, list them and concatenate losslessly: 'ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4'. TS files merge cleanly at packet boundaries.
My .ts video has no sound - how do I fix it?
Usually a codec/track issue (e.g. AC-3 audio your player can't decode, or the wrong track selected). VLC/MPV handle most codecs; or remux to MKV/MP4 with ffmpeg, selecting the correct audio track ('-map').
What's the difference between .ts and .m2ts?
Both are MPEG transport streams. .m2ts (BDAV) is the Blu-ray/AVCHD variant with extra per-packet timing info; plain .ts is the broadcast/streaming form. VLC plays both, and ffmpeg converts either to MP4.
Why is my .ts file not a video - it looks like code?
Then it isn't a transport stream. The .ts extension is also used by TypeScript source code; if the file is readable text with import/const/function, open it in a code editor like VS Code, not a media player.

References

1ISO/IEC 13818-1 - MPEG-2 Systems (Transport Stream)www.iso.org
2Wikipedia - MPEG transport streamen.wikipedia.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DAVDVR365 / Dahua DVR Video File (DHAV stream)
.MKVMatroska Video
.MP4MPEG-4 Part 14 Video File
.H264Raw H.264 / AVC Video Elementary Stream
.VOBDVD Video Object File
.264Raw H.264 / AVC Video Elementary Stream (DVR/CCTV export)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z