Videomixer + audio/video sync

Stefan Sauer ensonic at
Mon Apr 15 07:40:18 PDT 2013

Am 15.04.2013 06:40, schrieb adrien Schwartzentruber:
> This is my scenario : 
> I have a videomixer that display some live stream, and after few minutes, I
> remove these live streams and I had a playback stream. I already made this
> mechanism and it works correctly. However, I can obverse that the
> audio/video streams aren't sync. 
Just to be sure we understood right:
1) you have a videomixer that mixes multiple live streams.
2) you remove all/some of the live streams and add a (file ?) playback
3) for the new playback stream the a/v is out of sync

Is that right?
Does the file play fine when played normally? Are you using gst-1.0 or
> I tried to get the audioclock on the audiosink, but I didn't get a better
> result.
> Code : 
> GstClock* audioclock = gst_element_provide_clock(m_elAudioSink);
> gst_pipeline_use_clock(GST_PIPELINE(m_elpipeline), audioclock);
you don't need to do this.
> I had a look on the playbin2 pipeline, and I observed that it uses an object
> called StreamSynchronizer, but this object isn't exposed by the factory
> mechanism (must have a reason). Someone can tell me if I can use this
> object, and if his purpose will fix my issue ? 
> Any other idea or help is welcome.
> NB : Using playbin2 isn't possible for me because, it has his own pipeline. 
that sounds like 0.10. Anyway if your code is online, tell us where.
Ideally with links to streams/urls to repoduce. Also if you write
something new please start with gst-1.0 if you can.

> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list