buffer_pool number of buffers : how to configure ?
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed Apr 22 11:09:49 PDT 2015
Le mercredi 22 avril 2015 à 15:43 +0200, Philippe De Muyter a écrit :
> I have a gstreamer pipeline starting with v4l2src and doing image
> analysis.
> Some images take much more time than the others, but in average my
> processor
> is able to handle the flow. However if I do not have enough buffers
> to store
> the incoming images, they get lost. How could I specify, for example,
> that I want to work with 100 frame buffers in the v4l2 driver, either
> as a property of an existing plugin, or in my own plugin ?
> I want to avoid copying to another buffer the images dequeued in
> v4lsrc.
The maximum a V4L2 driver can allocate is 32. Right now there is no
property for that, we we have the intention to add one. Meanwhile you
can handle that using a queues, and copies should be made.
Nicolas
More information about the gstreamer-devel
mailing list