Monitor fps at every pipeline element

Stefan Sauer ensonic at hora-obscura.de
Tue Jan 20 06:16:05 PST 2015


On 01/20/2015 12:29 PM, Gokul Vellingiri wrote:
> I had a working pipeline capable of receiving video from camera soruce.Here i
> felt more delay and frame drop in the pipeline.My Server camera is capable
> of pumping 30fps, so server side is okay.
>
> I don't know exactly at which pipeline element the latency factor getting
> added.How to find the efficiency of each element(how many incoming and
> outgoing frames per sec)?
> Any idea,how to achieve this? 
>
It is unfortunately more complicated. Usually there are several elements
running in a thread. In that case each of the elements in the thread
could be responsible for another element in the thread not running
faster. Beyond that the queues that form the thread boundaries also have
conditions where they block.

So at first - are your CPU cores maxed when the capture pipeline runs?
If you look at the processes with e.g. htop you can see the cpu load per
thread of your process and the threads should be named by the first pad
of the thread. If you do a pipeline dump at the same point you should
already get a good idea whats the busy part.

Stefan



More information about the gstreamer-devel mailing list