Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
MPEG-1
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Program streams=== {{further|MPEG program stream}} [[MPEG program stream|Program Streams]] (PS) are concerned with combining multiple packetized elementary streams (usually just one audio and video PES) into a single stream, ensuring simultaneous delivery, and maintaining synchronization. The PS structure is known as a [[multiplexing|multiplex]], or a [[container format (digital)|container format]]. Presentation time stamps (PTS) exist in PS to correct the inevitable disparity between audio and video SCR values (time-base correction). 90 kHz PTS values in the PS header tell the decoder which video SCR values match which audio SCR values.<ref name=pack_header/> PTS determines when to display a portion of an MPEG program, and is also used by the decoder to determine when data can be discarded from the [[data buffer|buffer]].<ref name=tutorial_pts>{{Citation |first1=Mark |last1=Fimoff |first2=Wayne E. |last2=Bretl |title=MPEG2 Tutorial |date=December 1, 1999 |url=http://www.bretl.com/mpeghtml/PTS.HTM |access-date=2016-11-11 |url-status=live |archive-url=https://web.archive.org/web/20161105163559/http://www.bretl.com/mpeghtml/PTS.HTM |archive-date=November 5, 2016 }}</ref> Either video or audio will be delayed by the decoder until the corresponding segment of the other arrives and can be decoded. PTS handling can be problematic. Decoders must accept multiple ''program streams'' that have been concatenated (joined sequentially). This causes PTS values in the middle of the video to reset to zero, which then begin incrementing again. Such PTS wraparound disparities can cause timing issues that must be specially handled by the decoder. Decoding Time Stamps (DTS), additionally, are required because of B-frames. With B-frames in the video stream, adjacent frames have to be encoded and decoded out-of-order (re-ordered frames). DTS is quite similar to PTS, but instead of just handling sequential frames, it contains the proper time-stamps to tell the decoder when to decode and display the next B-frame (types of frames explained below), ahead of its anchor (P- or I-) frame. Without B-frames in the video, PTS and DTS values are identical.<ref name=tutorial_dts>{{Citation |first1=Mark |last1=Fimoff |first2=Wayne E. |last2=Bretl |title=MPEG2 Tutorial |date=December 1, 1999 |url=http://www.bretl.com/mpeghtml/DTS.HTM |access-date=2016-11-11 |url-status=live |archive-url=https://web.archive.org/web/20161105163603/http://www.bretl.com/mpeghtml/DTS.HTM |archive-date=November 5, 2016 }}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
MPEG-1
(section)
Add topic