Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In OpenCV how to write frame/images/Mat to RTMP/RTSP stream, to display the result from the server to client (HTML/Webpage)

I want to know if it is possible to write the frames/images/Mat to an RTMP/RTSP (from my server which is processing the video stream, sends the frame to the browser/other pc for displaying the result)? I used VideoWriterclass, but I don't know if it is doing the same thing. If it is possible, then how I can do this by using OpenCV/FFMPEG.

And also if the above one was not possible with OpenCV, then how we can use GStreamer with OpenCV to achieve the problem?