Click here to analyse any file

HomeFormats.TSFull

What is a .TS file?

TS has two unrelated uses: an MPEG-2 transport-stream video file (broadcast and recordings), and TypeScript source code. Analyser tells them apart by their contents.

Did you know
  • Confusingly, .ts is both an MPEG transport stream (from 1995) and TypeScript code (from 2012).
  • As a video file it is an MPEG transport stream, defined in MPEG-2 Part 1 and built for broadcast over noisy satellite and terrestrial links.
  • A transport stream is sliced into tiny fixed packets of 188 bytes each, a size originally chosen to fit neatly inside ATM telecoms cells.
  • Because each packet carries its own timing and identification, a transport stream can be tapped into mid-broadcast, which is how live TV tuning works.
  • As source code, TypeScript was led by Anders Hejlsberg, the same Microsoft engineer behind C#, Delphi and Turbo Pascal.
As video
Read the container, codec, resolution, and frame rate of MP4, MOV, MKV, AVI, and WebM video, step through frames, and extract the audio track. Raw H.264/H.265 elementary streams (.h264/.265) are remuxed to MP4 in-browser so they play too.
As web / code
Preview and inspect HTML, CSS, JavaScript, TypeScript, JSON, YAML, XML, and Markdown source files.
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.