How to calc latency through gstreamer code
Nicolas Dufresne
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 :
> 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.
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.
>
>
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170529/bfc440e0/attachment.sig>
More information about the gstreamer-devel
mailing list