Analyse a .TS file

HomeFormats.TSFull

What is a .TS file?

The .ts extension names two unrelated things: TypeScript source code and an MPEG transport stream video.

MPEG transport stream

What it is
An MPEG-2 Transport Stream - the 188-byte-packet container used for digital broadcast (DVB/ATSC), Blu-ray and AVCHD camcorder video. Analyser reads the container, codec, resolution and streams and plays it back.
How to tell it apart
A transport stream is binary and repeats the 0x47 sync byte every 188 bytes; TypeScript is UTF-8 text.
Did you know
  • Transport streams chop video into fixed 188-byte packets so a glitch only ever loses one tiny packet, which is why digital TV and Blu-ray still rely on them.
  • The odd 188-byte packet size was chosen so exactly four of them fit the 47-byte payload of an ATM AAL-1 telecoms cell, back when broadcast video was expected to travel over ATM networks.
  • Two .ts files can be joined by plain byte concatenation, which is exactly why HLS streaming slices a video into a stream of small .ts segments.

TypeScript source

What it is
Microsoft TypeScript source - JavaScript with static types, compiled by tsc. Analyser opens it as text with a source preview, line count and metadata.
How to tell it apart
TypeScript is human-readable text.
Did you know
  • TypeScript was designed at Microsoft by Anders Hejlsberg, who had earlier created Turbo Pascal, Delphi and C#.
  • TypeScript was first shown publicly in October 2012 as version 0.8, after two years of internal development at Microsoft.
  • Every TypeScript type is erased at compile time, so a .ts file always compiles down to plain JavaScript that adds nothing at runtime.
Did you know
Analyser handles .TS alongside related formats such as .MP4, .MOV, .AVI and more.
Open a .TS file
Drag a .TS file onto the Analyser home page (or tap to pick one). It opens entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.
Related formats
.MP4 · .MOV · .AVI · .MKV · .WebM · .WMV · .FLV · .3GP · .3G2 · .MPG · .MPEG · .MTS · .M2TS · .VOB · .OGV · .H264 · .264 · .AVC and more. See all supported file types.