[gst-devel] audio/video synchronization

ecmproute ecmproute at gmail.com
Fri Feb 25 19:34:22 CET 2005


Use a counter ( start value = 0, max value = 2). Update the counter
each time when audio/video pads are created by decodebin.
Check for this counter. When the counter reaches 2, set the pipeline
to ready, and then playing...
This might solve your prob.


On Fri, 25 Feb 2005 22:06:25 -0300, Diego Essaya <dessaya at gmail.com> wrote:
> Hi. I've almost finished my simple video player :-) ... There's only
> one little issue I would like to solve.
> 
> I'm using decodebin and then two separate threads for audio and video.
> When I first open the stream, audio and video are not correctly
> synchronized. If I seek to any arbitrary position, they synchronize.
> Is this a known problem?
> 
> If I manage to address this, I'll say my app is finished :) . Thanks
> for your help,
> 
> --
> ======= Diego Essaya =========---- -- - -  -           *
>  e-mail:  dessaya at fi.uba.ar                                *
>  jid: dessaya at jabber.org.uk                       *
> ===============================-- -- - -  -              *
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 


-- 
Confused about which path to take in life?




More information about the gstreamer-devel mailing list