Get image buffer from local video stream

HermannSW hermann at
Fri Nov 24 18:43:44 UTC 2017

> Can I get the image data into something like pixel array instead of solid
Others may know.

>From a performance perspective I would store the files of multifilesink
under "/dev/shm", a tmpfs filesystem under many Unix-like OSes (exists even
on Raspbian).

All files will end up in memory which is efficient, but they are paged and
not contiguous.
For getting access to a single of those frames as pixel array in memory you
would have to read them (eg. with fopen/fseek/ftell/fread).
If you do that on a one frame after the other basis, your memory consumption
would be N+1 frames, not bad compared to the N frames memory consumption you

Sent from:

More information about the gstreamer-devel mailing list