Get image buffer from local video stream

Théo LAVAUX lavauxtheo at gmail.com
Fri Nov 24 19:27:28 UTC 2017


First of all, I'm actually working under Windows, not Linux.
Second, isn't there a Gstreamer tool that would prevent me from reading the
file and seeking the cursor by myself?
Thanks for your response by the way.

Le 24 nov. 2017 19:50, "HermannSW" <hermann at stamm-wilbrandt.de> a écrit :

> Can I get the image data into something like pixel array instead of solid
file?
>
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
requested.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171124/6bbec314/attachment.html>


More information about the gstreamer-devel mailing list