What is TS (MPEG Transport Stream)?

Learn what TS (MPEG Transport Stream) files are, how they work, and when to use them. Complete guide to TS format with pros, cons, and use cases.

The TS MPEG Transport Stream format explained: broadcast and streaming video, why it is packetized, and when to convert it.

TS

What is TS (MPEG Transport Stream)?

Complete guide to the TS file format

How Transport Stream Works

TS (MPEG Transport Stream) is a video format built for a very specific job: broadcasting and streaming over unreliable channels. Instead of a single neatly-indexed file like MP4, an MPEG-2 Transport Stream multiplexes audio, video, and data into a continuous series of small, fixed-length 188-byte packets. Each packet carries a packet identifier (PID) labeling which elementary stream it belongs to, so a receiver can pick out the video, audio, and metadata it needs from the interleaved flow.

This packetized design exists for resilience. In broadcast and live streaming, data can be lost or a viewer can tune in partway through, so the format must let a player start decoding from the middle of the stream and recover from errors. The small fixed packets and periodically repeated program information (tables that describe what streams the program contains) make that possible: a receiver does not need the start of the file or a complete index to begin playing, which is exactly what live TV and adaptive streaming require.

That same design is why TS underpins so much modern delivery. It is the container used in digital television broadcasting (DVB, ATSC), on Blu-ray discs (as M2TS), and in HTTP streaming protocols like HLS, where video is chopped into short .ts segments delivered one after another. So even though you rarely create a TS file yourself, the format is everywhere in how live and streamed video reaches you.

TS Files vs MP4

The difference between TS and MP4 comes down to streaming robustness versus tidy storage. TS is optimized to be broadcast and recovered from mid-stream, so it repeats information and tolerates loss, but it is not as compact or as cleanly seekable as MP4 for a stored file. MP4, by contrast, is built around a single index (the moov box) that makes it efficient to store and seek but assumes you have the whole, intact file. They serve different stages: TS for transmission, MP4 for storage and sharing.

This is why converting TS to MP4 is so common. When you record live TV, capture a stream, or end up with .ts segments, the result is awkward to edit, share, or play in everyday apps. Repackaging the same video and audio into MP4, often without re-encoding, just rewrapping, produces a single tidy file that behaves the way people expect: easy to seek, edit, upload, and play anywhere.

When You Encounter TS

You meet TS files when you are close to broadcast or streaming: recordings from a TV tuner or set-top box, captured live streams, HLS video segments, or footage pulled from Blu-ray. In all these cases the TS format did its job of delivering the video reliably, and the natural next step is to convert it to MP4 for storage and use. You would not choose TS to author a normal video; you encounter it as the transport format and then move the content into MP4.

Limitations

TS's limitations are the cost of its streaming-first design. Because it repeats program information and uses fixed packets, it carries more overhead than MP4 and is less convenient as a stored file: editing, precise seeking, and playback in consumer apps are all clumsier than with MP4. It is also frequently split into many segments rather than one file. None of this is a flaw, it is exactly what makes TS robust for transmission, but it is why TS is a delivery format you convert from rather than a format you keep video in.

TS vs Other Video Formats

FeatureTSMP4M2TS
TypeContainer[4]ContainerContainer
Codec(s)MPEG-2, H.264[1]H.264, HEVC, AV1H.264, MPEG-2
ContainerMPEG-2 transport stream[2]ISO base mediaBDAV transport stream
Standardized byITU-T & ISO/IEC[3]ISO/IECBlu-ray Disc Assoc.
Device/browser supportBroadcast, streamingUniversalBlu-ray, AVCHD
Best forBroadcast, HLS segmentsGeneral deliveryBlu-ray camcorder

TS is built for resilient broadcast and streaming transmission, while MP4 is better for storage and editing.

Pros and Cons

Advantages

Broadcast Standard, TS is the universal standard for digital TV broadcast worldwide.

Error Resilient, Built-in error correction makes TS suitable for broadcast transmission.

Streaming Ready, TS is used in HLS (HTTP Live Streaming) for video streaming.

Blu-ray Standard, M2TS variant is used in Blu-ray disc content.

Disadvantages

Not for Playback, TS files are not optimized for direct playback - designed for transmission.

Larger Files, TS files include broadcast overhead making them larger than MP4.

Limited Compatibility, TS files do not play on many common media players and devices.

Complex Seeking, Seeking in TS files is less efficient than in MP4 container.

When to Use TS (MPEG Transport Stream)

Here are the most common situations where TS (MPEG Transport Stream) is the right choice:

Digital TV Recording

TS is the native format for recordings from digital TV tuners and DVRs.

HLS Streaming

HTTP Live Streaming (HLS) uses TS segments for video delivery on the web.

Blu-ray Content

M2TS files are the video container format used on Blu-ray discs.

Video Capture

TV capture cards and HDMI capture devices often save in TS format.

Technical Details

StandardMPEG-2 (ISO/IEC 13818-1)[1]
Designed ForBroadcast TV, DVB, streaming[1]
Video CodecsH.264, H.265, MPEG-2 video[1]
Audio CodecsAC3, AAC, MP2[1]
Error CorrectionBuilt-in for broadcast reliability[1]
Extensions.ts, .mts, .m2ts[1]

References

  1. MPEG-2 Transport Stream - Library of Congress
  2. H.222.0: Generic coding of moving pictures and associated audio (MPEG-2 Systems) - ITU-T
  3. ISO/IEC 13818-1 MPEG-2 Systems - ISO
  4. MPEG transport stream - Wikipedia

How to open a TS file

Software for working with TS files can be categorized into professional tools, free/open-source options, browser-based applications, and built-in utilities. Professional tools are suited for users needing advanced editing features and high fidelity, while free/open-source options cater to budget-conscious users who still require robust capabilities. Browser-based applications offer convenience and accessibility, while built-in utilities provide basic functionality for quick tasks.

When choosing software for TS files, important factors include feature fidelity, whether the focus is on editing or viewing, cost model, platform compatibility, and export needs. Users should consider if they need advanced editing features or simple playback, as well as whether converting TS files to another format might be a more efficient solution for their workflow.

VLC Media Player 3.0.16

Windows, macOS, Linux, Android, iOSFree (GPL)

VLC Media Player is a versatile media player that supports a wide range of formats, including TS files. It excels in playback fidelity and can handle various codecs without additional configuration.

Key features
  • Supports a wide range of video codecs
  • Network streaming capabilities
  • Customizable playback options
  • Subtitle support for multiple formats
  • Basic video conversion tools
Strengths
  • Highly versatile and widely compatible
  • Completely free with no ads
  • Strong community support and updates
Limitations
  • Limited editing capabilities compared to professional tools
  • Interface may be overwhelming for beginners

Exports to: MP4, AVI, MKV, OGG

Best for: Choose VLC for reliable playback and basic conversion of TS files without cost.

Visit VLC Media Player →

FFmpeg 4.4

Windows, macOS, LinuxFree (GPL)

FFmpeg is a powerful command-line tool for handling multimedia data, including TS files. It offers extensive capabilities for converting, streaming, and editing video files with high fidelity.

Key features
  • Comprehensive video and audio format support
  • Advanced video filtering options
  • Batch processing capabilities
  • Customizable encoding parameters
  • Support for streaming protocols
Strengths
  • Extremely powerful and flexible
  • Ideal for batch processing and automation
  • No graphical interface distractions
Limitations
  • Steep learning curve for beginners
  • Command-line interface may deter casual users

Exports to: MP4, AVI, MKV, MOV, WEBM

Best for: FFmpeg is perfect for advanced users needing powerful conversion and editing tools for TS files.

Visit FFmpeg →

Adobe Premiere Pro 2023

Windows, macOSSubscription (starting at $20.99/mo)

Adobe Premiere Pro is a professional video editing software that supports TS files among many other formats. It provides advanced editing features, making it suitable for high-quality video production.

Key features
  • Multi-track editing with timeline support
  • Advanced color correction tools
  • Support for various video effects
  • Integration with Adobe Creative Cloud
  • Export presets for multiple platforms
Strengths
  • Industry-standard editing capabilities
  • Extensive support for various formats
  • Rich ecosystem of plugins and tools
Limitations
  • Subscription model can be costly
  • Resource-intensive, requiring powerful hardware

Exports to: MP4, MOV, AVI, WMV, FLV

Best for: Select Adobe Premiere Pro for professional-grade editing of TS files with extensive feature sets.

Visit Adobe Premiere Pro →

HandBrake 1.6.0

Windows, macOS, LinuxFree (GPL)

HandBrake is an open-source video transcoder that can convert TS files to various formats. It is user-friendly and offers a range of presets for different devices, making it accessible for casual users.

Key features
  • Batch conversion capabilities
  • Presets for popular devices
  • Basic video filtering options
  • Subtitle support and integration
  • Customizable encoding settings
Strengths
  • Simple and intuitive interface
  • Effective for converting TS to other formats
  • Free with no hidden costs
Limitations
  • Limited editing features compared to professional software
  • May not handle all codecs perfectly

Exports to: MP4, MKV, WebM, AVI

Best for: HandBrake is ideal for users needing a straightforward tool to convert TS files to more common formats.

Visit HandBrake →