OpenCV caps and shmsink

Liene Cirule lienes.cirules at gmail.com
Sat Aug 6 13:39:58 UTC 2016


Hi,

I am trying to test gstreamer possibilities with shmsink and shmsrc.
So  i am trying to open like this:

VideoCapture cap("shmsrc socket-path=/tmp/feed ! video/x-raw, width=300,
height=300, framerate=30/1,format=UYVY ! videoconvert ! video/x-raw,
format=RGB ! appsink");

...

I use imshow("win", frame);

I stream videotestsrc into shared memory.
Linux OS.

As a result I get black openCV screen .

My question is: is it possible to use shmsrc with openCV caps ?

And if it's not possible, than is there any normal way to extend
gstreamermm with elements like shmsink and shmsrc ?


Thanks,
LC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160806/ea361163/attachment.html>


More information about the gstreamer-devel mailing list