<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello, Anton</p>
<p><br>
</p>
<p>I don`t believe gstreamer have solution fro this. It can not know about specific features of your hardware.</p>
<p><br>
</p>
<p>As a solution, can you feed pipeline with "silence" audio during cleaning of the video buffer?</p>
<p><br>
</p>
<p>Mikl</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of Anton Protopopov <aspsk2@gmail.com><br>
<b>Sent:</b> Wednesday, February 15, 2017 6:03:02 PM<br>
<b>To:</b> gstreamer-devel@lists.freedesktop.org<br>
<b>Subject:</b> Audio/video synchronization with pre-buffered video</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello everyone,<br>
<br>
I have a pipeline with live H264 video source and live AAC audio<br>
source muxed together using mpegtsmux. One problem with this pipeline<br>
is that the video encoder hardware can buffer some number of frames,<br>
so when I am creating and setting a pipeline to PLAYING state, there<br>
could be already, say, 1-2 seconds of video buffered. Audio is not<br>
buffered in hardware. So when the pipeline is set to the PLAYING<br>
state, video source produces a set of frames with almost the same time<br>
stamps and several first seconds of video are corrupted (they contain<br>
old video frames with some audio frames). Is there a way to<br>
synchronize such sources without dropping video frames?<br>
<br>
Thanks,<br>
Anton<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
gstreamer-devel@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div>
</span></font>
</body>
</html>