Video streaming Tutorial of sending processed Opencv video to NGINX and distributing video from NGINX (broadcast) by HLS stream for a wider audience, like multiple web players, VLC, or any other video stream receiver. Opencv application HLS streaming by GStreamer and NGINX We will use GStreamer to send video from the Opencv application by rtmp2sink to an RTMP module in NGINX. In our example, the server is a widely used NGINX server with an Nginx-RTMP-module. The NGINX will receive RTMP video from Opencv and restream as an HLS video stream considered for multiple end consumers. This is a follow-up to the previous article about Video streaming from Opencv to RtspSimpleServer by rtsp protocol. The goal is the same. Send video from Opencv to the server and restream the video for a wider audience. The difference is that RtspSimpleServer running on windows, NGINX is running in docker (WSL2). The one-to-one communication between Opencv and RtspSimpleServer was established by RTSP protocol
Median flow tracker code coming soon Simple median flow tracker base od goodFeaturesToTrack calcOpticalFlowPyrLK TODO complete forward backwards tracking and feature filtering. I already have forward, backwards LK tracker, without filtering (just prepared NORM computation). TODO complete redetection. White rectangles are redetection with online learning by RTrees opencv 3.1 support. Rtrees work great. I only need better features . Do you have any advice or tips? From the initial Rectangle is generated several positive examples and negatives from the rest of image. Rtrees learning and prediction can run very fast. I still haven't got a good features. Feature extracting took some time to. TODO Forward backward + redetection. 300 lines of code Final result will be TLD tracker I would like to release this in 4 next tutorials. Forward backwards median flow tracker Rtrees learning ( new features ) and prediction with single scale detection sliding w