Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 2.82 KB

README.md

File metadata and controls

36 lines (32 loc) · 2.82 KB

Video-streaming-acquisition

Video acquistion Python scripts

FAQ

  • How to find out the url from ip camera stream published in Internet.
    1. In Google Chrome, open a website with an embedded ip camera stream.
    2. Inspect the code of the website.
    3. Select the video frame to highlight the code in the inspection window related to it.
    4. Identify and extract the url of the ip camera stream.
  • How to find out the url from an ip camera
    • The best approach is to find your IP camera model on http://www.ispyconnect.com to obtain the url video stream. Some examples:
    • Verify the url inside the VLC.
      • Remember that VLC ask for password, but Opencv does not. Therefore, the user and password must be provided included in the url: rtsp://username:password@IP:PORT... . Example
    • Using OpenCV library, use the object VideoCapture cap("http://IP:PORT/mjpeg/video.mjpg?counter") to acquire the video.
    • Note: FFMPEG is needed in Linux.

Resources