Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MPEG transport stream

From Wikipedia, the free encyclopedia
Digital video format used for storage network transmission
"MPEG-2 Systems" redirects here. For the program stream technology also specified in the MPEG-2 Systems standard, seeMPEG program stream.
".ts" redirects here. For the programming language associated with the .ts file extension, seeTypeScript. For the translation source files in Qt, seeQt Linguist.
"SPTS" redirects here. For the American television production and distribution arm ofSony, seeSony Pictures Television.
Not to be confused with.m2ts.
MPEG Transport Stream
Filename extension
.ts, .tsv, .tsa, .m2t[1]
Internet media type
video/MP2T[2]
Uniform Type Identifier (UTI)public.mpeg-2-transport-stream[3]
Developed byMPEG
Initial release10 July 1995; 30 years ago (1995-07-10)[4]
Latest release
ISO/IEC 13818-1:2022
September 2022; 3 years ago (2022-09)
Type of formatContainer format
Container forAudio, video, data
Extended toM2TS,TOD
StandardISO/IEC 13818-1, ITU-T Recommendation H.222.0[4]
Open format?Yes
Free format?Yes[5]

MPEG transport stream (MPEG-TS,MTS) or simplytransport stream (TS) is a standarddigital container format for transmission and storage ofaudio,video, andProgram and System Information Protocol (PSIP) data.[6] It is used in broadcast systems such asDVB,ATSC andIPTV.

Transport stream specifies a container format encapsulatingpacketized elementary streams, witherror correction andsynchronization pattern features for maintaining transmission integrity when thecommunication channel carrying the stream isdegraded.

Transport streams differ from the similarly namedMPEG program stream in several important ways: program streams are designed for reasonably reliable media, such as discs (likeDVDs), while transport streams are designed for lessreliable transmission, namelyterrestrial orsatellite broadcast. Further, a transport stream may carry multiple programs.

Transport stream is specified inMPEG-2 Part 1, Systems, formally known asISO/IEC standard 13818-1 orITU-T Rec. H.222.0.[4]

Overview

[edit]
Multiple MPEG programs are combined then sent to a transmitting antenna. The receiver parses and decodes one of the streams.

A transport stream encapsulates a number of other substreams, oftenpacketized elementary streams (PESs) which in turn wrap themain data stream using the MPEG codec or any number of non-MPEG codecs (such asAC3 orDTS audio, andMJPEG orJPEG 2000 video), text and pictures for subtitles, tables identifying the streams, and even broadcaster-specific information such as anelectronic program guide. Many streams are often mixed together, such as several different television channels, or multipleangles of a movie.

Each stream is chopped into (at most) 188-byte sections and interleaved together. Due to the tiny packet size, streams can be interleaved with less latency and greater error resilience compared toprogram streams and other common containers such asAVI,MOV/MP4, andMKV, which generally wrap each frame into one packet. This is particularly important for videoconferencing, where large frames may introduce unacceptable audio delay.

Transport streams tend to be broadcast asconstant bitrate (CBR) and filled with padding bytes when not enough data exists.[a]

Elements

[edit]

Packet

[edit]

Anetwork packet is the basic unit of data in a transport stream, and a transport stream is merely a sequence of packets. Each packet starts with async byte and aheader, that may be followed with optional additional headers; the rest of the packet consists ofpayload. All header fields are read asbig-endian. Packets are 188 bytes in length, but the communication medium may add additional information.[b] The 188-byte packet size was originally chosen for compatibility withAsynchronous Transfer Mode (ATM) systems.[8][9]

Programs

[edit]

Transport stream has a concept ofprograms. Every program is described by a program map table (PMT). The elementary streams associated with that program have PIDs listed in the PMT. Another PID is associated with the PMT itself. For instance, a transport stream used in digital television might contain three programs, to represent three television channels. Suppose each channel consists of one video stream, one or two audio streams, and any necessary metadata. Areceiver wishing to decode one of the three channels merely has to decode the payloads of each PID associated with its program. It can discard the contents of all other PIDs. A transport stream with more than one program is referred to as a multi-program transport stream (MPTS). A single program transport stream is referred to as a single-program transport stream (SPTS).

Program specific information

[edit]
Main article:Program-specific information

There are 4 program specific information (PSI) tables: program association (PAT), program map (PMT), conditional access (CAT), and network information (NIT). The MPEG-2 specification does not specify the format of the CAT and NIT.

PCR

[edit]

To enable a decoder to present synchronized content, such as audio tracks matching the associated video, at least once each 100 ms, aprogram clock reference (PCR) is transmitted in the adaptation field of an MPEG-2 transport stream packet. The PID with the PCR for an MPEG-2 program is identified by thepcr_pid value in the associated PMT. The value of the PCR, when properly used, is employed to generate asystem_timing_clock in the decoder. The system time clock (STC) decoder, when properly implemented, provides a highly accurate time base that is used to synchronize audio and video elementary streams. Timing in MPEG-2 references this clock. For example, thepresentation time stamp (PTS) is intended to be relative to the PCR. The first 33 bits are based on a 90 kHz clock. The last 9 bits are based on a 27 MHz clock. The maximum jitter permitted for the PCR is+/- 500 ns.

Null packets

[edit]

Some transmission schemes, such as those inATSC andDVB, impose strict constant bitrate requirements on the transport stream. In order to ensure that the stream maintains a constant bitrate, a multiplexer may need to insert some additional packets. The PID 0x1FFF is reserved for this purpose. The null packets have a payload that is filled with 0xFF, and the receiver is expected to ignore its contents.[10]

M2TS

[edit]
Main article:.m2ts

Transport Stream was originally designed for broadcast. Later it was adapted for use with digital video cameras, recorders and players by adding a 4-byte timecode (TC) field to the standard 188-byte packets, resulting in a 192-byte packet.[11][12] This is what is informally calledM2TS stream, commonly found inHDV cameras. The timecode allows quick access to any part of the stream either from a media player, or from a non-linear video editing system.[13]

Use in digital video cameras

[edit]

JVC called M2TS "TOD"[c] when used in HDD-based camcorders likeGZ-HD7.[14][15] It is also used to synchronize video streams from several cameras in amultiple-camera setup.

Use in Blu-ray

[edit]

Blu-ray Disc video titles authored with menu support are in theBlu-ray Disc Movie (BDMV) format and contain audio, video, and other streams in a BDAV container, which is based on the M2TS format.[16][17] TheBlu-ray Disc Association calls it "BDAV MPEG-2 transport stream".[11] Blu-ray Disc video uses these modified MPEG-2 transport streams, compared to DVD's program streams that don't have the extra transport overhead.

There is also the BDAV (Blu-ray Disc Audio/Visual) format, the consumer-oriented alternative to the BDMV format used for movie releases. The BDAV format is used onBlu-ray Disc recordable for audio/video recording.[17][d] Blu-ray Disc employs the MPEG-2 transport stream recording method. This enables transport streams of a BDAV converted digital broadcast to be recorded as they are with minimal alteration of the packets.[12] It also enables simple stream cut style editing of a BDAV converted digital broadcast that is recorded as is and where the data can be edited just by discarding unwanted packets from the stream. Although it is quite natural, a function for high-speed and easy-to-use retrieval is built in.[12][19]

See also

[edit]

Notes

[edit]
  1. ^TheBlu-ray format does not require CBR.
  2. ^Forward error correction is added byISDB &DVB (16 bytes) andATSC (20 bytes),[7] while theM2TS format prefixes packets with a 4-byte copyright and timestamp tag.
  3. ^Possibly an abbreviation for "Transport stream on disc".
  4. ^Filename extension.m2ts is used on Blu-ray Disc video files which contain an incompatible BDAV MPEG-2 transport stream due to the four additional octets added to every packet.[11][18]

References

[edit]
  1. ^"TVNT.net - Le forum de la TNT • [Topic Unique] Akira DHB-B31HDR - Double tuner enregistreur TNT HD - MKV - DIVX - DTS : Les adaptateurs pour recevoir la TNT gratuite en SD ou HD".www.tvnt.net.
  2. ^MIME Type Registration of RTP Payload Formats. July 2003.doi:10.17487/RFC3555.RFC3555.
  3. ^"mpeg2TransportStream".Apple Developer Documentation.Apple Inc.
  4. ^abcITU-T (October 2014)."Recommendation H.222.0 (10/14)".
  5. ^MPEG-2 Encoding Family (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 14 February 2012. Retrieved13 December 2021.Licenses pertain to tools and not to streams or files per se.
  6. ^"MPEG-2 Transport Stream".AfterDawn.com. Retrieved8 June 2010.
  7. ^"ATSC transmission".Broadcastengineering.com. 20 June 2005. Retrieved17 May 2012.
  8. ^"MPEG Systems FAQ".Mpeg.chiariglione.org. Archived fromthe original on 9 May 2012. Retrieved17 May 2012.
  9. ^"ATSC MPEG Transport Stream Monitor".Tek.com. Archived fromthe original on 3 December 2012. Retrieved17 May 2012.
  10. ^A Guide to MPEG Fundamentals and Protocol Analysis(PDF), Tektronix, p. 37, retrieved23 April 2020
  11. ^abcBD ROM – Audio Visual Application Format Specifications(PDF), Blu-ray Disc Association, March 2005, pp. 15–16, archived fromthe original(PDF) on 3 November 2020, retrieved26 July 2009
  12. ^abcBD-RE – Audiovisual Application Format Specification for BD-RE 2.1(PDF), Blu-ray Disc Association, March 2008, archived fromthe original(PDF) on 6 February 2009
  13. ^"How MPEG-TS works".Forum.videohelp.com. Retrieved17 May 2012.[self-published source?]
  14. ^"Steve Mullen, M2TS primer".Dvinfo.net.
  15. ^"Working with JVC Everio MOD & TOD files". Archived from the original on 23 October 2008.
  16. ^Afterdawn.comGlossary – BD-MV (Blu-ray Movie) and BDAV containerArchived 18 February 2009 at theWayback Machine, Retrieved on 26 July 2009
  17. ^abAfterdawn.comGlossary – BDAV container, Retrieved on 26 July 2009
  18. ^Videohelp.comWhat is Blu-ray Disc and HD DVD?Archived 24 December 2009 at theWayback Machine, Retrieved on 26 July 2009
  19. ^Blu-ray Disc Association (August 2004)Blu-ray Disc Format, White paperArchived 12 June 2009 at theWayback Machine (PDF) Page 22, Retrieved on 28 July 2009

External links

[edit]
Video
compression
ISO,IEC,
MPEG
ITU-T,VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO,IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC,ISO,IETF,
W3C,ITU-T,JPEG
Others
Containers
ISO,IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
SeeCompression methods for techniques andCompression software for codecs
MPEG-1 Parts
MPEG-2 Parts
MPEG-4 Parts
MPEG-7 Parts
MPEG-21 Parts
MPEG-D Parts
MPEG-G Parts
MPEG-H Parts
MPEG-I Parts
MPEG-5 Parts
Other

Retrieved from "https://en.wikipedia.org/w/index.php?title=MPEG_transport_stream&oldid=1319832041"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp