hybridgroup / gocv

Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, and OpenCV Contrib.
https://gocv.io
Other
6.42k stars 853 forks source link

Consider adding VideoWriterFileWithAPI? #1155

Open TerryDRK opened 3 months ago

TerryDRK commented 3 months ago

Is it possible that a new function VideoWriterFileWithAPI to be added?

Description

So I am trying to do some processing on the input video stream, draw the result on the frames, and write them to another RTSP stream. I am able to use the input VideoWriterFileWithAPI with GStreamer's rtspsrc, but when I try to complete the output part with rtspclientsink I found that there is no support for something like VideoWriterFileWithAPI. It seems that I can only write the video to a file.

So is it possible that this VideoWriterFileWithAPI function to be added? I feel like this might be something very useful.