SlideShare a Scribd company logo
1 of 14
MPEG-2 Transport streamstMyn 1
MPEG-2 Transport streams
• The MPEG-2 Systems Standard specifies two methods
for multiplexing the audio, video and other data into a
format suitable for transmission and storage, namely the
program stream and the transport stream.
• The Program Stream is designed for applications where
errors are unlikely.
• It contains audio, video and data bitstreams (also called
elementary bitstreams) all merged into a single
bitstream.
MPEG-2 Transport streamstMyn 2
• The program stream, as well as each of the elementary
bitstreams, may be a fixed or variable bit rate.
• DVDs use program streams, carrying the DVD-specific
data in private data streams interleaved with the various
video and audio streams.
• The Transport Stream, using fixed-size packets of 188
bytes, is designed for applications where data loss is
likely.
• Also containing audio, video and data bitstreams all
merged into a single bitstream, multiple programs can be
carried.
MPEG-2 Transport streamstMyn 3
• The DVB and ATSC digital television standards use
transport streams.
• Both the Transport Stream and Program Stream are
based on a common packet structure, facilitating
common decoder implementations and conversions.
• Both streams are designed to support a large number of
known and anticipated applications, while retaining
flexibility.
MPEG-2 Transport streamstMyn 4
• The MPEG-2 system layer includes a mechanism for
combining MPEG encoded video and audio with
associated data signals into transport streams.
• It can also allow the combination of any number of
different programs in to a single MPEG-2 transport
stream.
• A very important part of the system layer is the clock
reference information, which is used to enable the
recovery of individual video and audio clocks.
• With MPEG-2 encoding there can be variable delays
experienced for video and audio signals due to variable
length coding.
MPEG-2 Transport streamstMyn 5
• The system layer includes decoding time stamps (DTS)
and presentation time stamps (PTS) which help to
ensure the delay is consistent, and that the video, audio,
and data are kept in synchronization even though the
signals are packetized.
• The system layer also provides useful information about
the actual transmission network itself (Network
Information Table), about the programs being carried
(Program Allocation Tables), and finally Conditional
Access Tables which reference scrambled or encrypted
services.
• These facilities allow a decoder select a particular
television service from the services being delivered to
the consumer at any particular time.
MPEG-2 Transport streamstMyn 6
• In Figure 1 a conceptual single service MPEG-2 TS
multiplexer is shown.
• The video, audio, and data elements are encoded and
packetized separately.
• Then the resulting packets are combined together to
form a transport stream.
• Elementary streams (ES) are the most basic type of
MPEG-2 signals and are generated by the encoder.
They are separate data streams for video, audio, and
data signals.
MPEG-2 Transport streamstMyn 7
Data
source
Video
source
Audio
source
MPEG-2
Elementary
Encoder
MPEG-2
Elementary
Encoder
Systems layer
MUX
Packetizer
Packetizer
Packetizer
PSI
CLOCK
PES
PES
Figure 1. An MPEG-2 multiplexer.
MPEG-2 Transport streamstMyn 8
• Packetized elementary streams (PES) are variable
length packets of data which also contain stamps and
header information. They are separate data streams for
video, audio, and data signals.
• The structure of an MPEG-2 PES is shown in Figure 2.
• Program Clock Reference (PCR) is a reference for the
27 MHz clock regeneration and is transmitted at least
every 0,1 second.
• Program Specific Information (PSI) is data transmitted in
the TS for the receiver demultiplexer.
MPEG-2 Transport streamstMyn 9
Name Size
Packet start code
prefix 3 bytes
Stream id 1 byte
PES Packet
length 2 bytes
Optional PES
header
variable
length
Data
Padding bytes
Figure 2. MPEG-2 PES structure.
MPEG-2 Transport streamstMyn 10
• A typical MPEG-2 TS packet structure is shown in Figure
3.
• A packet is the basic unit of data in a transport stream. It
consists of a sync byte, followed by three one-bit flags
and a 13-bit PID.
Header
Adaptation Field
(optional) Payload
Figure 3. MPEG-2 TS packet structure.
4 bytes 184 bytes
MPEG-2 Transport streamstMyn 11
• This is followed by a 4-bit continuity counter.
• Additional optional transport fields may follow.
• The rest of the packet consists of payload.
• Packets are most often 188 bytes in length.
• Each elementary stream in a transport stream is
identified by a 13-bit PID, Packet Identification.
• A demultiplexer extracts elementary streams from the
transport stream in part by looking for packets identified
by the same PID.
MPEG-2 Transport streamstMyn 12
• Transport stream has a concept of programs, which are
groups of one or more PIDs that are related to each
other.
• 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. A receiver wishing to tune to a
particular channel merely has to decode the payload of
the PIDs associated with its program.
• PAT stands for Program Association Table. The PAT
lists for all PMTs in the stream.
MPEG-2 Transport streamstMyn 13
• Program Map Tables (PMT) contain information about
programs.
• For each program, there is a PMT, with the PMT for
each program appearing on its own PID.
• The PMTs describe which PIDs contain data relevant to
the program.
• PMTs also provide metadata about the streams in their
constituent PIDs. For example, if a program contains an
MPEG-2 video stream, the PMT will list this PID,
describe it as a video stream, and provide the type of
video that it contains (in this case, MPEG-2).
MPEG-2 Transport streamstMyn 14
• To assist the decoder in presenting programs on time, at
the right speed, and with synchronization, programs
usually periodically provide a Program Clock Reference,
PCR, on one of the PIDs in the program.

More Related Content

What's hot

Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Dr. Mohieddin Moradi
 
An Introduction to Video Principles-Part 2
An Introduction to Video Principles-Part 2An Introduction to Video Principles-Part 2
An Introduction to Video Principles-Part 2Dr. Mohieddin Moradi
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsDr. Mohieddin Moradi
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 VideoDr. Mohieddin Moradi
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 
Video Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsVideo Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsDr. Mohieddin Moradi
 
MPEG-DASH: Overview, State-of-the-Art, and Future Roadmap
MPEG-DASH: Overview, State-of-the-Art, and Future RoadmapMPEG-DASH: Overview, State-of-the-Art, and Future Roadmap
MPEG-DASH: Overview, State-of-the-Art, and Future RoadmapAlpen-Adria-Universität
 
Channel Estimation Techniques Based on Pilot Arrangement in OFDM Systems
Channel Estimation Techniques Based on Pilot Arrangement in OFDM SystemsChannel Estimation Techniques Based on Pilot Arrangement in OFDM Systems
Channel Estimation Techniques Based on Pilot Arrangement in OFDM SystemsBelal Essam ElDiwany
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 
Understanding MPEG DASH
Understanding MPEG DASHUnderstanding MPEG DASH
Understanding MPEG DASHSeung-Bum Lee
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIain Richardson
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compressionneeraj9217
 
Dvb Serviceinformation
Dvb ServiceinformationDvb Serviceinformation
Dvb Serviceinformationgeeksrik
 

What's hot (20)

Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts
 
An Introduction to Video Principles-Part 2
An Introduction to Video Principles-Part 2An Introduction to Video Principles-Part 2
An Introduction to Video Principles-Part 2
 
E1 To Stm
E1 To Stm E1 To Stm
E1 To Stm
 
MPEG/Audio Compression
MPEG/Audio CompressionMPEG/Audio Compression
MPEG/Audio Compression
 
Sdh total final
Sdh total finalSdh total final
Sdh total final
 
HDMI
HDMIHDMI
HDMI
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Video Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video CodecsVideo Compression, Part 3-Section 1, Some Standard Video Codecs
Video Compression, Part 3-Section 1, Some Standard Video Codecs
 
MPEG-DASH: Overview, State-of-the-Art, and Future Roadmap
MPEG-DASH: Overview, State-of-the-Art, and Future RoadmapMPEG-DASH: Overview, State-of-the-Art, and Future Roadmap
MPEG-DASH: Overview, State-of-the-Art, and Future Roadmap
 
MPEG 4
MPEG 4MPEG 4
MPEG 4
 
Channel Estimation Techniques Based on Pilot Arrangement in OFDM Systems
Channel Estimation Techniques Based on Pilot Arrangement in OFDM SystemsChannel Estimation Techniques Based on Pilot Arrangement in OFDM Systems
Channel Estimation Techniques Based on Pilot Arrangement in OFDM Systems
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Understanding MPEG DASH
Understanding MPEG DASHUnderstanding MPEG DASH
Understanding MPEG DASH
 
Video coding standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
 
H.264 vs HEVC
H.264 vs HEVCH.264 vs HEVC
H.264 vs HEVC
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video Compression
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
 
Dvb Serviceinformation
Dvb ServiceinformationDvb Serviceinformation
Dvb Serviceinformation
 

Similar to Mpeg 2 transport streams

Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 
Mpegts introduction
Mpegts introductionMpegts introduction
Mpegts introductionfrankyao23
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiencyaniruddh Tyagi
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyAniruddh Tyagi
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiencyaniruddh Tyagi
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyaniruddh Tyagi
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_EfficiencyAniruddh Tyagi
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyaniruddh Tyagi
 
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDesigning an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDr. Mohieddin Moradi
 
Probabilistic Approach to Provisioning of ITV - Amos K.
Probabilistic Approach to Provisioning of ITV - Amos K.Probabilistic Approach to Provisioning of ITV - Amos K.
Probabilistic Approach to Provisioning of ITV - Amos K.Amos Kohn
 
Probabilistic Approach to Provisioning of ITV - By Amos_Kohn
Probabilistic Approach to Provisioning of ITV - By Amos_KohnProbabilistic Approach to Provisioning of ITV - By Amos_Kohn
Probabilistic Approach to Provisioning of ITV - By Amos_KohnAmos Kohn
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerSonali Chauhan
 

Similar to Mpeg 2 transport streams (20)

Traffic analyzer Ip multicast
Traffic analyzer Ip multicastTraffic analyzer Ip multicast
Traffic analyzer Ip multicast
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 
Mpegts introduction
Mpegts introductionMpegts introduction
Mpegts introduction
 
Sania rtp
Sania rtpSania rtp
Sania rtp
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiency
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiency
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiency
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiency
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiency
 
IBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiencyIBCBarconetTransratingEfficiency
IBCBarconetTransratingEfficiency
 
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDesigning an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
 
Probabilistic Approach to Provisioning of ITV - Amos K.
Probabilistic Approach to Provisioning of ITV - Amos K.Probabilistic Approach to Provisioning of ITV - Amos K.
Probabilistic Approach to Provisioning of ITV - Amos K.
 
Probabilistic Approach to Provisioning of ITV - By Amos_Kohn
Probabilistic Approach to Provisioning of ITV - By Amos_KohnProbabilistic Approach to Provisioning of ITV - By Amos_Kohn
Probabilistic Approach to Provisioning of ITV - By Amos_Kohn
 
Beginning of dtv
Beginning of dtvBeginning of dtv
Beginning of dtv
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen Schiller
 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
 
digital_set_top_box2
digital_set_top_box2digital_set_top_box2
digital_set_top_box2
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 
digital_set_top_box2
digital_set_top_box2digital_set_top_box2
digital_set_top_box2
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 

Recently uploaded

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 

Recently uploaded (20)

The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 

Mpeg 2 transport streams

  • 1. MPEG-2 Transport streamstMyn 1 MPEG-2 Transport streams • The MPEG-2 Systems Standard specifies two methods for multiplexing the audio, video and other data into a format suitable for transmission and storage, namely the program stream and the transport stream. • The Program Stream is designed for applications where errors are unlikely. • It contains audio, video and data bitstreams (also called elementary bitstreams) all merged into a single bitstream.
  • 2. MPEG-2 Transport streamstMyn 2 • The program stream, as well as each of the elementary bitstreams, may be a fixed or variable bit rate. • DVDs use program streams, carrying the DVD-specific data in private data streams interleaved with the various video and audio streams. • The Transport Stream, using fixed-size packets of 188 bytes, is designed for applications where data loss is likely. • Also containing audio, video and data bitstreams all merged into a single bitstream, multiple programs can be carried.
  • 3. MPEG-2 Transport streamstMyn 3 • The DVB and ATSC digital television standards use transport streams. • Both the Transport Stream and Program Stream are based on a common packet structure, facilitating common decoder implementations and conversions. • Both streams are designed to support a large number of known and anticipated applications, while retaining flexibility.
  • 4. MPEG-2 Transport streamstMyn 4 • The MPEG-2 system layer includes a mechanism for combining MPEG encoded video and audio with associated data signals into transport streams. • It can also allow the combination of any number of different programs in to a single MPEG-2 transport stream. • A very important part of the system layer is the clock reference information, which is used to enable the recovery of individual video and audio clocks. • With MPEG-2 encoding there can be variable delays experienced for video and audio signals due to variable length coding.
  • 5. MPEG-2 Transport streamstMyn 5 • The system layer includes decoding time stamps (DTS) and presentation time stamps (PTS) which help to ensure the delay is consistent, and that the video, audio, and data are kept in synchronization even though the signals are packetized. • The system layer also provides useful information about the actual transmission network itself (Network Information Table), about the programs being carried (Program Allocation Tables), and finally Conditional Access Tables which reference scrambled or encrypted services. • These facilities allow a decoder select a particular television service from the services being delivered to the consumer at any particular time.
  • 6. MPEG-2 Transport streamstMyn 6 • In Figure 1 a conceptual single service MPEG-2 TS multiplexer is shown. • The video, audio, and data elements are encoded and packetized separately. • Then the resulting packets are combined together to form a transport stream. • Elementary streams (ES) are the most basic type of MPEG-2 signals and are generated by the encoder. They are separate data streams for video, audio, and data signals.
  • 7. MPEG-2 Transport streamstMyn 7 Data source Video source Audio source MPEG-2 Elementary Encoder MPEG-2 Elementary Encoder Systems layer MUX Packetizer Packetizer Packetizer PSI CLOCK PES PES Figure 1. An MPEG-2 multiplexer.
  • 8. MPEG-2 Transport streamstMyn 8 • Packetized elementary streams (PES) are variable length packets of data which also contain stamps and header information. They are separate data streams for video, audio, and data signals. • The structure of an MPEG-2 PES is shown in Figure 2. • Program Clock Reference (PCR) is a reference for the 27 MHz clock regeneration and is transmitted at least every 0,1 second. • Program Specific Information (PSI) is data transmitted in the TS for the receiver demultiplexer.
  • 9. MPEG-2 Transport streamstMyn 9 Name Size Packet start code prefix 3 bytes Stream id 1 byte PES Packet length 2 bytes Optional PES header variable length Data Padding bytes Figure 2. MPEG-2 PES structure.
  • 10. MPEG-2 Transport streamstMyn 10 • A typical MPEG-2 TS packet structure is shown in Figure 3. • A packet is the basic unit of data in a transport stream. It consists of a sync byte, followed by three one-bit flags and a 13-bit PID. Header Adaptation Field (optional) Payload Figure 3. MPEG-2 TS packet structure. 4 bytes 184 bytes
  • 11. MPEG-2 Transport streamstMyn 11 • This is followed by a 4-bit continuity counter. • Additional optional transport fields may follow. • The rest of the packet consists of payload. • Packets are most often 188 bytes in length. • Each elementary stream in a transport stream is identified by a 13-bit PID, Packet Identification. • A demultiplexer extracts elementary streams from the transport stream in part by looking for packets identified by the same PID.
  • 12. MPEG-2 Transport streamstMyn 12 • Transport stream has a concept of programs, which are groups of one or more PIDs that are related to each other. • 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. A receiver wishing to tune to a particular channel merely has to decode the payload of the PIDs associated with its program. • PAT stands for Program Association Table. The PAT lists for all PMTs in the stream.
  • 13. MPEG-2 Transport streamstMyn 13 • Program Map Tables (PMT) contain information about programs. • For each program, there is a PMT, with the PMT for each program appearing on its own PID. • The PMTs describe which PIDs contain data relevant to the program. • PMTs also provide metadata about the streams in their constituent PIDs. For example, if a program contains an MPEG-2 video stream, the PMT will list this PID, describe it as a video stream, and provide the type of video that it contains (in this case, MPEG-2).
  • 14. MPEG-2 Transport streamstMyn 14 • To assist the decoder in presenting programs on time, at the right speed, and with synchronization, programs usually periodically provide a Program Clock Reference, PCR, on one of the PIDs in the program.