<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
This is latency issue. This doc will provide theortical insight into this problem.<BR><BR>
<A href="http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/draft-latency.txt?revision=1.7&view=markup">http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/draft-latency.txt?revision=1.7&view=markup</A><BR>
<BR>
You have to adjust your queues properties dynamically to solve this problem.<BR>
<BR>
HTH,<BR>
Pavan.<BR>
<BR> <BR>
<BLOCKQUOTE>
<HR>
From: kirrthana@tataelxsi.co.in<BR>To: gstreamer-devel@lists.sourceforge.net<BR>Date: Thu, 4 Oct 2007 16:53:50 +0530<BR>Subject: [gst-devel] Setting "sync" property of xvimagesink to TRUE in live streaming and playback<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007>Hi all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> I have created a pipeline to capture live audio video ,encode,mux it as a AVI file and stream over the network and on the client side i have created a pipeline which demuxes and playback simultaneosly.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007>Server side:- video source---->encode---->|</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> |---->avimux---->fdsink</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> audio Source---->encode-->|</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007>Client Side:-</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> |-------->queue2---->video decode----->xvimagesink</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> fdsrc--->queue2--->avidemux--->|</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007> |-------->queue2--->audio decode------>osssink</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007>In this case on the client side i have set the sync property of xvimage sync to TRUE,it displays only the first video frame and drops rest of the frame.but if i set the sync property to FALSE im able to playback both audio and video on the client side,but there is a delay of around 4 to 5 seconds in playing back the audio.Is this delay is because of setting the sync property to FALSE..How to resolve this problem...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=EC_325160511-04102007></SPAN></FONT> </DIV>
<DIV><EM>Regards</EM></DIV>
<DIV><EM>Kirrthana</EM></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.<BR></BLOCKQUOTE><br /><hr />Get the new Windows Live Messenger! <a href='http://get.live.com/messenger/overview' target='_new'>Try it!</a></body>
</html>