0

What is the best way to capture streamed MJPEG from a network IP camera?

I'd like to get frames and process them, using c++ (or python extended with c++).

Is OpenCV my best option?

mpromonet
  • 11,326
  • 43
  • 62
  • 91
sipickles
  • 1,637
  • 1
  • 19
  • 30

1 Answers1

0

Appart from OpenCV, you can use mplayer with -vo yuv4mpeg redirected to a pipe to get a stream of uncompressed yuv images. You can create the mplayer process and pipe from C++.

Another way is to use a RTSP library (your IP camera probably uses it as protocol)

fa.
  • 2,456
  • 16
  • 17