synchronize to elements ?

Glenn Pierce glennpierce at gmail.com
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
playing.
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 ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111117/69a90d1f/attachment.html>


More information about the gstreamer-devel mailing list