[gst-devel] AV SYNC Problem of gstreamer when using customized dsp decoder
pritesh
digitaldsp at excite.com
Tue Oct 23 05:50:02 CEST 2007
hi,if timestamp from decoder plugins are proper , then av sync is done in video/audio sink pluginsif u have custom videosink plugin , is it subclassed from videosink base class, which derives from basesink. --- On Mon 10/22, Volter Yen < volter619 at 163.com > wrote:From: Volter Yen [mailto: volter619 at 163.com]To: gstreamer-devel at lists.sourceforge.netDate: Tue, 23 Oct 2007 10:55:56 +0800 (CST)Subject: [gst-devel] AV SYNC Problem of gstreamer when using customized dsp decoderHi all, 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... 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? 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! Best RegardsVolter ===================================================== Happy everyday $ Best Regards! msn:volter619 at 163.com Focus on embed linux software! °Ñ°®ÐÄ×¢ÈëÅ£ÄÌ£¬¹²Í¬Äý¾ÛÕâ·ÝÁ¦Á¿¿ìÀ´²Î¼ÓÃÉÅ£Ãâ·ÑÔùÄÌ°®ÐÄÐж¯ -------------------------------------------------------------------------This SF.net email is sponsored by: Splunk Inc.Still grepping through log files to find problems? Stop.Now Search log events and configuration files using AJAX and a browser.Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________gstreamer-devel mailing
listgstreamer-devel at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/gstreamer-devel
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071022/6c619328/attachment.htm>
More information about the gstreamer-devel
mailing list