Hi Sergio,<br><br>I'm not sure I understand what you mean.&nbsp; The RTP timestamp should increase at 8000 or 16000 every second for audio, and for video it should increase at 90000 per second.&nbsp; If you're seeing the occasional timestamp of 0, then that's a bug.&nbsp; 
<br><br>If you're trying to record video and sync it with audio, there's a relatively simple way.&nbsp; If you always keep the last decoded frame in memory, then you can either play it twice or skip it periodically to keep it in sync with the audio.&nbsp; 
I.e. if you're writing 30 fps into the file, and you've played out 16000 samples of audio, but you've only written 28 frames, then you can repeat the last frame two times to resync it (since you've written one second worth of audio, and you also need one second worth of video).
<br><br>Duane<br><br><div><span class="gmail_quote">On 5/24/06, <b class="gmail_sendername">Sergio García Murillo</b> &lt;<a href="mailto:Sergio.Garcia@ydilo.com">Sergio.Garcia@ydilo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&gt; I can probably help you with the audio/video sync.&nbsp;&nbsp;It's a bit tricky when there's VAD/DTX, but not impossible.<br><br>Hi, Duane<br><br>My main problem is that I don't know how to extract exact timing from the frame structure. If I have the timestamp value from the rtp I could just handle the vad and the silence suppression just fine. I'm using the samples value but it seems that when it's some silence suppression I get a 0 in it.
<br>The other problem I have found is that my eyebeam doesn't start sending video immediately, so I'll have to make some extra timing to be able to measure this delay.<br><br>Greetings<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sergio<br>--------------------------------------------------------------------------------------
<br>This message and any files transmitted with it are confidential and intended solely<br>for the use of the individual or entity to whom they are addressed. No confidentiality<br>or privilege is waived or lost by any wrong transmission.
<br>If you have received this message in error, please immediately destroy it and kindly<br>notify the sender by reply email.<br>You must not, directly or indirectly, use, disclose, distribute, print, or copy any<br>part of this message if you are not the intended recipient. Opinions, conclusions and
<br>other information in this message that do not relate to the official business of<br>Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it.<br>--------------------------------------------------------------------------------------
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-video mailing list<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-video">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br></blockquote></div><br>