How to calc latency through gstreamer code
nicolas at ndufresne.ca
Mon May 29 14:14:02 UTC 2017
Le dimanche 28 mai 2017 à 22:23 -0700, saketbafna82 at gmail.com a écrit :
> 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 !
You'll have to define latency. In GStreamer the use of latency refer to
live pipeline only, and this isn't a live pipeline (filesrc is not
live). Maybe you care about processing time ?
> 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?
Might be related.
> Saket Bafna
> View this message in context: http://gstreamer-devel.966125.n4.nabble
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel