c - gstreamer opencv receiving and editing a stream -


My current project:

Send a video from a device to a server with a USB camera, but on

The server does video processing and then sends it to another client where it is displayed.

I got the gstreamer to work in the terminal:

On the recipient server:

  gst-launch-1.0 udpsrc port = 5000! \ Application / X-RTP, media = video, clock rate = 90000, encoding-name = H264! \ Rtph264depay! H264parse! Avdec_h264! Videoconvert! \ Timeoverlay shaded-background = true text = "host" deltay = 20! \ Ximagesink async = true sync = false  

On the Capturing client:

  gst-laun-1.0 -v v4l2src! \ Timeoverlay shaded-background = true text = "p"! \ Video / X-Raw, Height = 480, Width = 640, Framerate = 30/1! \ Videoconvert! Omxh264enc! Rtph264pay! \ Udpsink host = 136.225.61.68 ports = 5000  

This works very well and the video is being transferred. Now I need to catch the stream (at the end of receiving) in the code, so that I can face the act with opencv and send this stream to other clients. Either this gstreamer is done with bad plugins that have OpenCV support, or it is converted into a matte and used by OpenCVi. Does anyone know which is easy and you have an example? (I'm using gstreamer 1.0)

Thanks in advance

You can use opencv videocapture function to get the stream and you can do image processing on it.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -