<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr">Hi,<div><br></div><div>I am trying to built a GStemaer network in C which includes the following items:</div><div>audio arc pipeline : alsasrc -> tee -> queue -> interaudiosink</div><div>encoding  pipeline: v4lsrc -> convert -> intervideosink ==== intervideosrc -> ...-></div><div>                                                                                                                                 mux -> filesink</div><div>                                                                                                       interaudiosrc -> </div><div><br></div><div>I cannot use gstproxy as I am using an old Gstreamer version 1.8.x ( I had problems with installing 1.14.2) on the Ubuntu 16.04.</div><div>The problem is that the audio and video are not synchronized and have a constant gap of ~800[mSec]</div><div>I have tried to modify ts-offset and set do-timestamps parameters and change queue values.</div><div><br></div><div>The problem is that until the video is starting to encode the audio lane includes extra 800[mSec] of data which has to be dropped and the newlly arriving timne stamp has to be reduced by 800[mSec] so the later mux will sync them.</div><div><br></div><div>my constraints: there are multiple video streams and a single audio stream which has to be merged with all these video streams. all video streams have to be independent.</div><div><br></div><div>What am I doing wrong?</div><div><br clear="all"><div><div dir="ltr" class="m_2486503169467019022m_7399401660990520432gmail_signature" data-smartmail="gmail_signature"><div><font color="#3d85c6" face="arial black, sans-serif">Igal</font></div></div></div></div></div>
</div></div></div>