Skip to main content

CCTV camera image proxy

Project description

CCTV camera image proxy

What's that

You have CCTV camera which gives you image snapshot and want to add it somewhere e.g. to your internal web page, refreshing periodically.

Problem: camera is password protected and you don't want to be continuously prompted for the credentials

Problem 2: sometimes your camera may die and you want to display some pretty error image.


pip3 install cctvproxy
# put this string somewhere to your system startup start




  • _id camera id
  • _return if "raw" - return raw response from camera, if "test" - test camera and return OK (or FAILED)

All other params are passed to CCTV camera as-is.

CCTV Proxy was made for AXIS cameras but you can configure it for almost any.

Config file

Default config file path: /usr/local/etc/cctv_proxy.yml

You can specify alternative location with -f option.

#bind-port: 8781
#pool: 30
login: axisusername
password: axispassword
# change for non-AXIS cameras
#uri: /axis-cgi/jpg/image.cgi
timeout: 5
#user: nobody
#group: nogroup
# change for each instance
#pid: /tmp/
# if no image available
#no-image: /data/nocam.jpg

Don't forget to set 600 permissions on a config file.

Debug launch [-f config_file]
# or
python3 -m cctvproxy.proxy [-f config_file] -D


Image processing. Sometime later. I don't need it - EVA ICS has built-in.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cctvproxy-0.1.1.tar.gz (48.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page