Broadcasting processed video frame to NVR #402
-
For my current project, I capture and process with Supervision a video feed from an IP camera and I need to broadcast the annotated output so it can be recording by an NVR in our data center. Storing the video file locally is not a viable option for us for multiple business/infra reasons. My googling skills are failing me on this as I am not familiar with the domains terminology. Anyone has experience doing something like this? Thx! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello there :) |
Beta Was this translation helpful? Give feedback.
-
I use a combination of FFmpeg and mediamtx (formely called rstp simple server) to broadcast the processed frame . Mediamtx documentation here : https://github.com/bluenviron/mediamtx you can broadcast your processed frame pretty much in any standard format including Webrtc, HLS , Rtsp, Rtmp ..... Below an example of the code you need to include
hope it helps! |
Beta Was this translation helpful? Give feedback.
Hello there :)
If I understand you correctly - you would like to to emit a stream of annotated frames and intercept it via NVR on the other end.
It seems like the problem is almost equivalent to the situation that you intercept camera stream in NVR. In your scenario - you need something that will emit stream of annotated frames in a format that is accepted by NVR - it can be RTSP stream or other type if you wish.
The tricky part would be to find the easiest streaming format (from implementational perspective) to be accepted by NVR. Once it is found - you need to encode the video frames and send them via stream. Sounds like a magic, but bear with me.
I've not tested that on my own, but it …