Receive H264 stream, add some overlay and record/stream

asked 2019-05-07 04:44:27 -0500

Mark81 gravatar image

Hello, I'm quite new to OpenCV and I'm not sure if it's possible to do the following:

  • receive an H264 stream (fullHD @ 30 fps) from an IP camera. Protocol is UDP or RTSP
  • add some overlay in the video, mainly text
  • record on hard-disk the edited video and/or stream again with the same format

Are there any examples to do this? Perhaps I'm using the wrong words because I don't find a lot of information about.

edit retag flag offensive close merge delete

Comments

all of that could be done from ffmpeg, you probably do not need opencv (a computer-vision library) at all.

berak gravatar imageberak ( 2019-05-07 04:55:43 -0500 )edit

I didn't know ffmpeg could add text and graphical stuff in real-time. I'm going to make a search about that.

Mark81 gravatar imageMark81 ( 2019-05-07 05:30:58 -0500 )edit

I'm not sure if it is clear in my original question, but I need to do all things at the same time: show the video+overlay and record and/or stream it.

Mark81 gravatar imageMark81 ( 2019-05-07 05:54:01 -0500 )edit