<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="referrer" content="origin-when-crossorigin"> <meta name="description" content="Because the video is encoded into I,B,P Wait for frames, as shown in the figure below, assuming that there are now I,B,P Frame, what about transmission and display?? If it is transmitted in the display order: The transmission sequence is I-&gt;B&gt;P When right B After decoding the frame, due to B Frames cannot be displayed separately, only"> <meta property="og:description" content="Because the video is encoded into I,B,P Wait for frames, as shown in the figure below, assuming that there are now I,B,P Frame, what about transmission and display?? If it is transmitted in the display order: The transmission sequence is I-&gt;B&gt;P When right B After decoding the frame, due to B Frames cannot be displayed separately, only"> <meta http-equiv="Cache-Control" content="no-transform"> <meta http-equiv="Cache-Control" content="no-siteapp"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>graphic DTS and PTS - linyilong - Blog Garden</title> <link id="favicon" rel="shortcut icon" href="https://common.cnblogs.com/favicon.svg" type="image/svg+xml"> <style>:not(.cnblogs_code):not(.cnblogs_Highlighter)>pre:not([class*="language-"]):not([highlighted]):not(.hljs) { background: rgb(245, 245, 245); padding: 5px; border: 1px solid rgb(204, 204, 204); border-radius: 3px; border-color: transparent; color: rgb(0, 0, 0); font-family: "Courier New", sans-serif; }:not(.cnblogs_code):not(.cnblogs_Highlighter)>pre:not([highlighted]) code:not(.hljs) { background: rgb(245, 245, 245) !important; border-color: transparent !important; }</style><link rel="stylesheet" href="./graphic DTS and PTS - linyilong - Blog Garden_files/blog-common.min.css"> <link id="MainCss" rel="stylesheet" href="./graphic DTS and PTS - linyilong - Blog Garden_files/bundle-simpleblue.min.css"> <link id="highlighter-theme-cnblogs" type="text/css" rel="stylesheet" href="./graphic DTS and PTS - linyilong - Blog Garden_files/cnblogs.css"> <link id="mobile-style" media="only screen and (max-width: 767px)" type="text/css" rel="stylesheet" href="./graphic DTS and PTS - linyilong - Blog Garden_files/bundle-simpleblue-mobile.min.css"> <link type="application/rss+xml" rel="alternate" href="https://www.cnblogs.com/linyilong3/rss"> <link type="application/rsd+xml" rel="EditURI" href="https://www.cnblogs.com/linyilong3/rsd.xml"> <link type="application/wlwmanifest+xml" rel="wlwmanifest" href="https://www.cnblogs.com/linyilong3/wlwmanifest.xml"> <script type="text/javascript" async="" src="./graphic DTS and PTS - linyilong - Blog Garden_files/analytics.js.download"></script><script> var currentBlogId = 76756; var currentBlogApp = 'linyilong3'; var cb_enable_mathjax = false; var isLogined = false; var isBlogOwner = false; var skinName = 'SimpleBlue'; var visitorUserId = ''; var hasCustomScript = false; try { if (hasCustomScript && document.referrer && document.referrer.indexOf('baidu.com') >= 0) { Object.defineProperty(document, 'referrer', { value: '' }); Object.defineProperty(Document.prototype, 'referrer', { get: function(){ return ''; } }); } } catch(error) { } window.codeHighlightEngine = 1; window.enableCodeLineNumber = false; window.codeHighlightTheme = 'cnblogs'; </script> <script> var currentPostDateAdded = '2018-11-13 21:13'; </script> <script src="./graphic DTS and PTS - linyilong - Blog Garden_files/jquery-2.2.0.min.js.download"></script> <script src="./graphic DTS and PTS - linyilong - Blog Garden_files/blog-common.min.js.download"></script><style type="text/css">.medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}</style><script id="hljs-script" async="" data-loaded="true" src="./graphic DTS and PTS - linyilong - Blog Garden_files/highlight.min.js.download"></script>
<div id="home"> <div id="header"> <div id="blogTitle"> <div class="title"><a id="Header1_HeaderTitle" class="headermaintitle HeaderMainTitle" href="https://www.cnblogs.com/linyilong3/">linyilong</a>
New essay</div> <div id="navigator">
- contact
- Administration
<div class="blogStats">
Essays - 128
Article - 0
COMMENTS - 150
Read-
160 thousand
</h1> <div class="clear"></div> <div class="postBody"> <div id="cnblogs_post_body" class="blogpost-body blogpost-body-html">
Since the video is encoded into I,B,P and other frames, as shown in the following figureSuppose there are I, B and P frames, what about transmission and display??If transmitted in display order:The transmission sequence is I - > b > PAfter decoding the B frame, since the B frame cannot be displayed separately, you can only wait for the subsequent P frameIf it is not transmitted in sequence and transmitted in decoding sequence:The transmission sequence is I - > p - > BNo matter which way to transmit and display, once you have the B frame, you need to tell the other party when to display the frameSo there are PTS and DTS, namely Presentation Time Stamp and Decode Time StampPTS tells the other party when to display the frame, while DTS tells the other party when to decode the frameIf there is no B frame, PTS and DTS are the same:PTS and DTS are inconsistent only when there are B frames:Reference article:Classification: Miscellaneous studies<div id="blog_post_info">
00<div class="clear"></div> <div id="post_next_prev"> <a href="https://www.cnblogs. com/linyilong3/p/9940210. html" class="p_ n_ p_ Prefix "> previous article: < a href =" " https://www.cnblogs.com/linyilong3/p/9940210.html "Title =" published at 18:32 on November 10, 2018 "> illustration I frame, B frame and P frame</a> <br> <a href="https://www.cnblogs. com/linyilong3/p/11012718. html" class="p_ n_ p_ Prefix "> » < / a > next: < a href =" " https://www.cnblogs.com/linyilong3/p/11012718.html "Title =" published at 21:03, June 12, 2019 "> QT source code analysis notes</a>
<a name="!comments"></a>
You can't view or comment until you're signed in. Now perhaps Stroll around Blog Garden Home Page[recommended] Huawei developer zone to build an interconnected intelligent world with developers
[recommended] cross platform configuration \ industrial control \ simulation \ CAD 500000 lines C + + source code is fully open and free to download!
[recommendation] Huawei HMS Core online Codelabs challenge phase 4, exploring "smart" life
Edit recommendation:
· Understand C#'s Expression
· [. NET and raspberry pie] control color light strip (WS28XX)
· This paper explains the calculation methods of time complexity and space complexity in the algorithm
· . NET Core Basics: integrating Swagger documents and customizing Swagger UI
· "Translation" NET 6
Latest news:
· Tencent QQ hall will be shut down in April next year. It has been online for 17 years (18:00 on December 16, 2021)
· Before the trial, the goddess of scientific research replied that Nature: SCI hub is not a threat to scientific research, but a pay wall (17:50, December 16, 2021)
· Nature: Why are humans "born human"? MIT leads the discovery of a new thread that distinguishes the human brain (2021-12-16 17:40)
· In arrears of salary and listing, Rouyu has reached the edge of the cliff? (2021-12-16 17:28)
· Internal horse racing, external investment, Xiaomi's "wide net" (17:16, December 16, 2021)
» More newsLoadPostCategoriesTags(cb_blogId, cb_entryId); LoadPostInfoBlock(cb_blogId, cb_entryId, cb_blogApp, cb_blogUserGuid);
GetPrevNextPost(cb_entryId, cb_blogId, cb_entryCreatedDate, cb_postType);
loadOptUnderPost();
GetHistoryToday(cb_blogId, cb_blogApp, cb_entryCreatedDate);
</div>
<div id="sideBar"> <div id="sideBarMain"> <div id="sidebar_news" class="newsItem">
Notice
<div id="profile_block"> Nickname? <a href="https://home.cnblogs.com/u/linyilong3/"> linyilong </a> <br> Garden age: <a href="https://home. cnblogs. COM / U / linyilong3 / "title =" admission time: September 24, 2010 "> 11 Year 2 months </a> <br> fans: <a href="https://home.cnblogs.com/u/linyilong3/followers/"> 81 </a> <br> Attention: <a href="https://home.cnblogs.com/u/linyilong3/followees/"> 3 </a> <div id="p_b_follow">
+Pay more attention
< December 2021 > day one two three four five six 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 search
Common links
- My essay
- My comments
- My participation
- Latest comments
- My label
-
<div class="catListPostCategory"> <h3 class="catListTitle">
Essay classification
</h3> <ul> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
Data structure and algorithm (5)
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> </ul> </div> <div class="catListPostArchive"> <h3 class="catListTitle">
Essay file
</h3> <ul> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="true" style="display: block">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li data-category-list-item-visible="false" style="display: none">
</li> <li><a href="javascript:void(0)" onclick="sideColumnManager.loadMore(this)">more</a></li> </ul> </div></div>
Read Leaderboard
- 1. WINDOWS hacker Foundation (3): injecting code (18391)
- 2. docker uses Chinese image (11735)
- 3. What is dynamic link library (10293)
- 4. Some thoughts and experiences on learning C++11 (1):lambda,function,bind and delegation (7595)
- 5. Windows hacker Foundation (2): obtain the handle of other processes (5732)
Latest comments
- 1. Re: some things in the past six months
- @SAP dream heart Yes, in a small company of Xiamen soft 2, ha ha
- --linyilong
- 2. Re: some things in the past six months
- What company are you? Are you in Xiamen, too?
- --SAP dream heart
- 3. Re: build rtmp server with docker (1)
- RUN ./ Config -- add module = ". / nginx RTMP module" this path is not correct after being changed many times
- --boonya
- 4. Re: using docker to build rtmp server (1)
- Has the Dockerfile been executed? Is there a docker image
- --boonya
- 5. Re:docker uses Chinese image
- Thank you. I'm looking for it. Collected.
- --microman
Copyright © 2021 linyilong
Powered by .NET 6 on Kubernetes</div>
<input type="hidden" id="antiforgery_token" value="CfDJ8FO3GXnjClZGrNGr2Ic8Z1rrChczpqQ28rHj7M8Kg3_ro4uA9R6PXgpeCMyfS7iCwu8k1dL-HOY1J85D7SZ1njPnWpX-4HYf_gAqSiMn3HzHONeGwKTQsuFRfOanlxV1dWPx4o265ISQPzupPRHYoMY"> <script async="" src="./graphic DTS and PTS - linyilong - Blog Garden_files/js"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); var kv = getGACustom(); if (kv) { gtag('set', kv); } gtag('config', 'UA-476124-1'); </script> <script defer="" src="./graphic DTS and PTS - linyilong - Blog Garden_files/hm.js.download"></script><iframe src="./graphic DTS and PTS - linyilong - Blog Garden_files/container.html" style="visibility: hidden; display: none;"></iframe>