Skip to content

Gowresh7/V380_Python

Repository files navigation

V380_Python

Python Codes for V380 cameras. The Python codes provide the following options:-

  1. Live Streaming from Camera (Local and Remote)
  2. PTZ Control of Camera (Local and Remote)
  3. Image Capture

Steps to use on local network:-

  1. Setup the V380 camera.
  2. Find the wireless network of the camera and connect your system to it.
  3. Find the IP address of the camera ( generally 192.168.1.1 for wireless)
  4. Replace the ip-address in the python files (rtsp://:@/live/ch00_0, http://:8899/onvif/ptz) If no username or password, just enter the ip-address alone.
  5. Run the command ' sudo chmod +x <python-filename.py> '
  6. ./<python-filename.py>

To use remotely, do the following steps:-

  1. Connect the camera with ethernet.
  2. Find the ip address assigned to camera
  3. Do portforward settings in router to map the ip to specific ports. Generally rtsp uses 554 and onvif ptz uses 8899 ports
  4. Change the ip address in V380_complete_public.py (For rtsp url change as rtsp://username:password@,public_ip>/live/ch00_0, for ptz http://:8899/onvif/ptz)
  5. sudo chmod +x V380_complete_public.py
  6. ./V380_complete_public.py

v380.py - Live Stream of V380 v380cap.py - Live Stream with Image Capture of V380 (Press SPACE to capture image) v380post.py - ptz control of V380

Press the followimg keys:-

i - up , - down j - left l - right k - stop

V380_complete.py - Live Stream, Image Capture, PTZ control V380_complete_public.py - Same as V380_complete.py with Public ip.

About

Python source code for V380

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages