<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:\65B0\7D30\660E\9AD4}
@font-face
{font-family:\65B0\7D30\660E\9AD4}
@font-face
{font-family:Calibri}
@font-face
{}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 90.0pt 72.0pt 90.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="ZH-TW" link="blue" vlink="purple" style="">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I am using a hls client to parse segment generated by "LIVE555 HLS Proxy".</span></p>
<p class="MsoNormal"><span lang="EN-US">And it requires that each pes packet to have only 1 frame in it in order to get each frame's pts.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have checked [MPEG2TransportStreamFromESSource.cpp].
</span></p>
<p class="MsoNormal"><span lang="EN-US">In [InputESSourceRecord::afterGettingFrame1(..)], it seems that the pts in a PES packet is from the first frame's [presentationTime].</span></p>
<p class="MsoNormal"><span lang="EN-US">If there are several frames' that their size are smaller than the macro LOW_WATER_MARK(which is 1000), a PES packet will have multiple frames in it.</span></p>
<p class="MsoNormal"><span lang="EN-US">That means each frame should be larger than 1000 bytes in order to have 1 pes header(pts) for 1 frame.</span></p>
<p class="MsoNormal"><span lang="EN-US">I am wondering why it has a lower bound 1000 here.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">If I want to give each frame's pts to hls client using segment generated by "LIVE555 HLS Proxy" but the frame from rtsp server has small frame size(<1000 bytes), is there a way to handle this?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Bruce Liang</span></p>
<p class="MsoNormal"><span lang="EN-US">Ability Enterprise Co., Ltd</span></p>
</div>
*** Confidentiality Note *** This e-mail message and any accompanying documents are for sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
</body>
</html>