There is a task: to implement in real time the reading of the video stream from the camera and its processing. The software part will be written most likely in Python (but at the moment it is not particularly important), at the moment you need to select the camera.

The question is that at the moment there is a problem of buying an IP camera, from which it would be possible to capture the MPEG4 stream and, preferably, in real time, as well as with the support of this possibility at the protocol level.

    2 answers 2

    For maximum compatibility with third-party software, take a camera that transmits RTSP stream in H.264 format (aka MPEG-4 Part 10, aka AVC).

    This stream can be simply translated "as is" or output to, for example, the HLS format. What is important, the HLS format (and similar ones) can be output without re-encoding the stream, but simply with its repacking, which is significantly less resource-intensive compared to full-time re-coding.

    It will be very convenient if the camera can simultaneously transmit several streams with different encoding parameters . This is useful, for example, in situations where one stream is written to the archive of long-term storage, the second is used for low-resolution real-time previews, the third, of maximum quality, is used for detailed viewing of the image in real time.

    Of course, you can take a camera that gives out only one stream (maximum quality for a camera), and recode it on the fly to any number of streams with different parameters, however, it should be noted that real-time encoding of a video stream is very resource-intensive (in terms of CPU time). ) the process, so that in the case of multiple cameras, it will be necessary to allocate separate powers only for stream recoding.

      All ip cameras in real time transmit.

      As a rule, before transfer, the image received from the matrix is ​​compressed using frame-by-frame (MJPG) or streaming (MPEG-4, H.264) video compression methods.

      • That is, taking a random IP camera from the store shelf will be possible to read the stream from the camera without a bundle? (just clarify) And there is no particular reason to take a camera with RTSP support? - users
      • @users RTSP is needed for remote control of the stream when watching a movie on a TV via VoD. - Alex78191