Camera surveillance

From Halfface
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Application to manage surveilance cameras

linux

ZoneMinder

windows

ispy

stream video and audio from c920

cvlc v4l2:///dev/video0:chroma=h264:fps:24:width=1920:height=1080:input-slave=alsa://hw:0,0 --sout '#transcode{acodec=mpga,ab=128,channels=2,samplerate=44100,threads=4,audio-sync=1}:standard{access=http,mux=ts,mime=video/ts,dst=*:8080}'

Collect stream and store

mplayer http://localhost:8080 -dumpstream -dumpfile test.m2t

dependencies to install dvr-scan on fedora 29

dnf install opencv python3-opencv python2-opencv python2-tqdm python3-tqdm gstreamer1-libav gstreamer1-plugins-ugly gstreamer1-plugins-ugly-free

Create movie with movement. Give information about when movement was detected

dvr-scan --input test.m2t --output test.avi --codec H264