hi,<br />one more thing try to set the timestamps and duration of frames <br /><br />coming from flutsdemux to the output decoded buffer,<br /><br />and see the result.<br /><br />cheers<br />digitaldsp<br /><br /><br /><br /><br /><br /> --- On Mon 10/22, Volter Yen &lt; volter619@163.com &gt; wrote:<br /><blockquote style="border-left: 2px solid orange; padding-left: 7px; margin-left: 7px;"><b>From: </b>Volter Yen [mailto: volter619@163.com]<br /><b>To: </b>gstreamer-devel@lists.sourceforge.net<br /><b>Date: </b>Tue, 23 Oct 2007 10:55:56 +0800 (CST)<br /><b>Subject: </b>[gst-devel] AV SYNC Problem of gstreamer when using customized dsp        decoder<br /><br /><div>Hi all,</div><br /><div> </div><br /><div>    Recently, I want to implement a simple mpeg2-ts palyer using gstreamer framework,and the decodec element are customized with dsp, and my demuxer is flutsdemux, Gaurav have told me that the demux will push the two on seperate pads in buffers after applying the same timestamp 
,and the the sinks (audio and video ) will play the buffers depending on the stream time and timestamps...</div><br /><div>   and I have read the source code of mpeg2dec which used libmpeg2, it will adjust the outbuffer's timestamps with the related pts if necessary,but when I use a dsp decoder,It seem that I can get only the decoded data from it's outbuffer,how to adjust the videooutbuffer's timpstamps in order to avoid meeting av sync problem?</div><br /><div>    I could not find the av sync sample demo ,can anyone guide me and/or give me some sample codes on the related subject?thanks a lot!</div><br /><div> </div><br /><div>Best Regards</div><br /><div>Volter</div><br /><div> </div><br /><div> </div><br /><div> </div><br /><div><br /><div>=====================================================</div><br /><div> </div><br /><div>Happy everyday $ Best Regards!</div><br /><div> </div><br /><div>msn:volter619@163.com</div><br /><div> </div><br /><div>Focus on embed linux 
software!</div></div><br /><!-- footer --><br /><hr /><br /><br />  <br />    <br />    <br />  <br /><table width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="50" height="50"><img width="50" height="50" alt="LOGO" src="http://mimg.163.com/hd/163/163footer/163footer_50.jpg" /></td><td style="padding: 5px;"><a href="http://popme.163.com/link/003515_0929_938.html" style="font-size: 12px; color: black; line-height: 20px; text-decoration: none;">把爱心注入牛奶,共同凝聚这份力量</a><br /><a href="http://popme.163.com/link/003515_0929_938.html" style="font-size: 12px; line-height: 20px; color: black; text-decoration: none;">快来参加蒙牛免费赠奶爱心行动 </a></td></tr></tbody></table><br /><p>-------------------------------------------------------------------------<br />This SF.net email is sponsored by: Splunk Inc.<br />Still grepping through log files to find problems?  Stop.<br />Now Search log events and configuration files using AJAX and a browser.<br 
/>Download your FREE copy of Splunk now &gt;&gt; http://get.splunk.com/_______________________________________________<br />gstreamer-devel mailing list<br />gstreamer-devel@lists.sourceforge.net<br />https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br /></p></blockquote><p><hr><font size=2 face=geneva><b>Join Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>