Syncing streams to clock in the middle of pipeline

Alexey Chernov 4ernov at gmail.com
Tue Sep 3 22:14:36 PDT 2013


В письме от 03 сен 2013 16:28:52 Вы написали:
> On Tue, 2013-09-03 at 18:35 +0400, Alexey Chernov wrote:
> > > > The problem is that there seem to be GST_FORMAT_BYTE segment after
> > > > mpegtsdemux, and appsink synchronization is literally useless.
> > > 
> > > This is fixed in 1.0. (Also in 0.10 git)
> > 
> > What is the expected behaviour now? I'm experimenting with 1.0.9, so maybe
> > I miss something for it to work out of the box.
> 
> With 1.0.x it seems to work fine for me:
> 
> gst-launch-1.0 -v videotestsrc ! x264enc ! identity silent=false !
> mpegtsmux ! appsink sync=true
> 
> and mpegtsmux sends a TIME segment, and appsink syncs properly to the
> clock for me.

Yes, I tried your pipeline, and it's the case for me, too. I also checked that 
sync=true is default for appsink. So there's probably something missed in my 
program that it tries to eat all the data.

Thank you very much for help, Tim!


More information about the gstreamer-devel mailing list