How to calc latency through gstreamer code

saketbafna82 at gmail.com saketbafna82 at gmail.com
Mon May 29 05:23:57 UTC 2017


Hi,
This is Saket and new to gstreamer.

I wanted to measure latency for complete pipeline also plugin wise.
through command line I could able to measure:
GST_DEBUG="GST_TRACER:7" GST_TRACERS=latency filesrc ! decodebin !
videosink.


Now same stuff I want to do in my application.

I wrote one gstreamer app which does video playback.
filesrc --> decodebin -->  videosink.
It worked absolutely fine.

Then, I tried with tracer APIs to get latency figure but, could not
understand how to use.
I googled for example code but, didn't get any example code to use.

Can anyone please help me with some example code?


Thanks
Saket Bafna



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-calc-latency-through-gstreamer-code-tp4683132.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list