glimagesink FPS client-redraw

Arnaud Loonstra arnaud at sphaero.org
Mon Nov 17 05:51:02 PST 2014


On 11/16/2014 04:24 PM, Nicolas Dufresne wrote:
>
> Le 2014-11-15 17:44, Arnaud Loonstra a écrit :
>> I'm testing some client-redraw setups similar to the provided cube
>> example:
>> http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/generic/cube
>>
>>
>> When I use a videotestsrc and the glimagesink pipeline I'm getting
>> around 60 client-redraws per second.
>> If I change that into a v4l2src for example it drops to around 5 calls
>> per second.
> I don't know exactly what is going on, though you need to be aware that
> to make a comparison between videotestsrc and v4l2src, you should use
> is-live=1 on videotestsrc element. A final note that you should test
> framerate coming out of your v4l2src, most will do much less then
> configured framerate in low light. It would be some other problem of
> course.
>
> Nicolas

Thanks for the pointer, setting is-live does make a difference. The draw 
rate drops to 30 draws per second. Still much more than the 5fps from 
v4l2src. Any pointers to how I can get the fps from the v4l2src?

Rg,

Arnaud
-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the gstreamer-devel mailing list