A MPEG-2 TransportStream (.TS File), also referred to as MPEG or MPEG-2 TS, is a special format for transmitting MPEG (MPEG-1, MPEG-2, or MPEG-4) video muxed with other streams. It's commonly used for digital television and Streaming across networks, including the Internet.
There are two major variants of MPEG-2 TS. If multiple programs are sets of video and other Streams intended to play together, are muxed into the TS it's called an MPTS, or Multiple Program Transport Stream. This is generally used for more traditional broadcasting like DVB or over the air HDTV. After the decoder receives the TS it can decode only the streams for the program it's playing, and ignore streams for other programs.
Unlike Programs Streams, which are optimized for efficient storage and assume the decoder has access to the entire stream for synchronization purposes, Transport Streams are designed for delivering data in real time over unreliable transport media, to a device which is assumed to start reading data from some point after the beginning of transmission.
In order to accommodate this, extra timestamps must be added to the stream at a regular interval, with synchronization of various packets (chunks of elementary streams) set relative to the most recent timestamp instead of a single point at the beginning of the file like a Program Stream.
The BDAV container format used on Blu-ray Discs can contain one of the three mandatory supported video compression formats MPEG-2, H.264/MPEG-4 AVC or SMPTE VC-1 and audio compression formats such as Dolby Digital, DTS or uncompressed Linear PCM. Optionally supported audio formats are Dolby Digital Plus, DTS-HD High Resolution Audio and Dolby TrueHD.
If only a single program is muxed into a TS, it's considered an SPTS or Single Program Transport Stream. SPTS streams generally serve two purposes. When the program to be decoded is known in advance, like with streaming across the internet, it doesn't make sense to waste bandwidth transmitting streams that won't ever be decoded, but preserving timing information is still essential. An SPTS solves both problems.
The other common use for SPTS streams is for stream Capture. Capture devices that simply copy MPEG-2 streams as they're broadcast use SPTS streams because that's what they're capturing. Since only one program will be captured at a time, that's what the resulting MPEG file will contain.
Since most applications designed to open MPEG-2 files expect the standard information from a Program Stream, it's often necessary to re-package the elementary streams in that format before working with them on your computer. Fortunately, since PS and TS streams only differ in delivery information, rather than actual video or audio data, this can be done without any re-encoding or quality loss.
Best fastest DVD ripper and converter to convert DVD disc to digital video as MP4, H.264, HEVC, MKV, AVI, WMV, MPEG, MOV, iPhone XS/XS Max/8/7/6S/6, iPad Air 2/Pro, Android, etc. at fastest speed. Also enable you to 1:1 copy DVD to ISO image/folder/MPEG-2 file with original quality by accessing all DVD protections.
For PC and Mac only. Go to mobile page.
Beatrice Green is an experienced editor who loves all things related to social. She has spent more than a decade writing instructional contents related to social media, streaming services and video related topics all over the internet for Digiarty. Outside the social, she is addicted to Google I/O, Apple WWDC and other tech news to keep her informed.