<div dir="ltr"><div class="gmail_quote">




<div><span><font face="Arial"><span style="color:rgb(0,147,0);font-family:Verdana;font-size:10pt"><span style="color:rgb(0,0,0);font-family:Trebuchet MS;font-size:10pt">
<span style="font-size:12pt">Hi,</span>
<div><span style="font-size:12pt"></span> </div>
<div><span style="font-size:12pt"></span></div>
<div><span style="font-size:12pt">I am getting demuxed audio and video elementary streams from the server for a audio/video file.</span></div>
<div><span style="font-size:12pt">I am getting buffer, its size and PTS information. Data is H264 video and AAC audio.</span></div>
<div><span style="font-size:12pt">I am looking at below two approaches to get it working. </span></div></span><div></div><p><span style="color:rgb(0,0,0);font-family:Trebuchet MS;font-size:10pt"></span></p></span></font></span>
<p></p>
<p> </p>
<p><span style="font-size:12pt"><u>Approach 1:</u></span></p>
<p> </p>
<p><img style="width: 819px; min-height: 198px;" src="cid:4CBBEM6S04A2@namo.co.kr"></p>
<p> </p>
<p> </p>
<p><span style="font-size:12pt"><u>Approach 2:</u></span></p>
<p> </p>
<p> </p>
<p><img style="width: 819px; min-height: 190px;" src="cid:EW9BEWXXYKEN@namo.co.kr"></p>
<p> </p>
<p> </p>
<div><span style="font-size:12pt">Now here are some of my questions on which I need help:</span></div>
<div><span style="font-size:12pt"></span> </div>
<div><span style="font-size:12pt">(1) If above two approaches at all would work for me?</span></div><div><span style="font-size:12pt">(2) If yes, then how audio video sync would be achieved?</span></div>
<div><span style="font-size:12pt">(3) If not, then what is the alternative approach?</span></div>
<p> </p><p>Thanks,</p><p>Deepak</p><p> </p>
<br></div></div></div>