1: Get Opencv frames as impression to feed APPSRC active ingredient of Gstreamer.
2: Transform from BGR to RGB in Opencv.
3: Feed APPSRC continuously with Opencv.
4: Developed colorspace with VIDEOCONVERT part.
5: display screen online video streaming as an outcome of XIMAGESINK element.
* resource active ingredient *.
* videoconvert part *.
* sink active ingredient *.
There are 2 crucial thread: simply among Opencv, and the another a single of Gstreamer. The Gstreamer thread run the primary loop and after that creates other 2 threads: the First one specific copies the frame to a buffer and after that feed the APPSRC with the buffer, and the next 1 stopped the feeding when the buffer is detailed.
See even more about it noted here:http://www.imgportal.internet/home/?web page_id=2595