synchronize to elements ?

Glenn Pierce glennpierce at
Thu Nov 17 02:53:21 PST 2011

Hi I have a pipeline that decodes an ogg file and passes it through the
vader element from pocketsphinx
to detect silent regions. I attach to a signal in the vader element to
print the current timestamp to log
these silent regions. I also play to the pulse audio sink.

The pipeline is

filesrc name=source ! oggdemux ! vorbisdec ! audioconvert ! audioresample !
vader name=vad auto-threshold=true ! pulsesink

The problem is its hard to debug as the vader element runs ahead of the off
Is there a way to synchronize the vader and pulsesink elements so I can
print  the timestamp of the silent regions
at the same time I hear them being played ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list