[gst-devel] Forcing synchronisation in a specific part of a pipeline

SP GLE spglegle at yahoo.fr
Wed Feb 18 09:47:42 CET 2009


Won't work...

> > We tried by adding an identity with sync=true but tis
> one requires 
> > segments with GST_FORMAT_TIME and not BYTES as
> provided by filesrc.


--- En date de : Mer 18.2.09, Edward Hervey <bilboed at gmail.com> a écrit :

> De: Edward Hervey <bilboed at gmail.com>
> Objet: Re: [gst-devel] Forcing synchronisation in a specific part of a pipeline
> À: spglegle at yahoo.fr, "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net>
> Date: Mercredi 18 Février 2009, 9h43
> On Wed, 2009-02-18 at 08:29 +0000, SP GLE wrote:
> > Hello,
> > 
> > Using the following pipeline :
> >
> [filesrc]---->[rtppcmapay]---->[rtpdtmfmux]-----...--->[fakesink
> sync=true]
> >                                  /\
> > [rtpdtmfsrc]----------------------
> > 
> > When playing a DTMF the rtpdtmfmux locks the stream
> and unref all 
> > buffers from the filesrc, but without syncing on the
> clock, so file 
> > reading looses sync and all buffers are played as fast
> as possible.
> > 
> > How can we sync the filesrc part before injecting in
> rtpdtmfmux ?
> > 
> > We tried by adding an identity with sync=true but tis
> one requires 
> > segments with GST_FORMAT_TIME and not BYTES as
> provided by filesrc.
> > 
> > The probleme can be reflected by this cmd :
> > A/ Working Pipeline
> > gst-launch filesrc location=toto.alaw !
> "audio/x-alaw,rate=8000,channels=1" ! identity
> datarate=8000 ! rtppcmapay ! fakesink sync=true
> > 
> > B/ How to make previous cli works if disabling
> sync=true on fakesink.
> > 
> > 
> > Any idea is welcome :).
> 
>   Use the sync property of identity :)
> 
> > 
> > Regards.
> > 
> > 
> >       
> > 
> >
> ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25,
> 2009, San Francisco, CA
> > -OSBC tackles the biggest issue in open source: Open
> Sourcing the Enterprise
> > -Strategies to boost innovation and cut costs with
> open source participation
> > -Receive a $600 discount off the registration fee with
> the source code: SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


      




More information about the gstreamer-devel mailing list