how to measure framerate output from source
Michael Gruner
michael.gruner at ridgerun.com
Wed Jul 23 08:00:33 PDT 2014
Hi there,
You could use fpsdisplaysink, that'll print out the number of frames per
second.
On the other hand, v4l2src is a live source. If you are not planning to
synchronize with audio or something similar I don't see a problem
setting "sync=false" on your sink. You could also try increasing
"max-lateness", but I'd turn off sync.
Michael
On 07/23/2014 08:42 AM, Federico Pepe wrote:
>
> Z
>
> Il 23/lug/2014 16:24 "yoyosuper8" <yoyosuper8 at yahoo.com
> <mailto:yoyosuper8 at yahoo.com>> ha scritto:
>
> Hello, I'm trying to find a way to measure the number of frames
> provided by
> v4l2src. When I'm testing the pipeline, I use videotestsrc and I
> think that
> videotestsrc is providing a higher amount of frames than v4l2src.
> I know
> that videotestsrc is different from v4l2src because v4l2src is
> actually
> connecting to the hardware. I'm just looking for a way to measure
> the amount
> of frames v4l2src is outputting.
>
> Here is my pipeline:
> v4l2src ! videoconvert ! eglglessink name=videosink
>
> I'm using gstreamer 1.2. I can't upgrade to 1.4 due to my current
> requirements.
> Also, when I switch back to v4l2src, eglglessink states in the
> logs that
> frames are being dropped. When I add the property sync=false, that
> stops.
>
> Any suggestions are appreciated.
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/how-to-measure-framerate-output-from-source-tp4668043.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto:gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140723/6fea48f8/attachment.html>
More information about the gstreamer-devel
mailing list