How to Set Up a simple linux based webcam security system
Motion is a program that monitors the video signal from cameras. It is able to detect if a significant part of the picture has changed; in other words, it can detect motion. See more below.
sudo apt-get install motion&&sudo gedit /etc/motion/motion.conf
replace file with
# config file for motion very inamilist
# You may very well need to change this (check with ‘dmesg’
# after plugging in your webcam).videodevice /dev/video0
# Image size in pixels (valid range is camera dependent).
# General threshold level and noise threshold
# level (for distinguishing between noise and motion).
# Initial brightness, contrast, hue (NTSC), and saturation.
# 0 = disabled (valid range 0-255).
# Encode movies in real-time (install ffmpeg before enabling).
# Codec to be used by ffmpeg for the video compression.
# Supported formats: mpeg4, msmpeg4.
# Target base directory for pictures and films (you may need
# to change this (or change its permissions) depending on# which system user runs motion).
# Define a port number (e.g. 8000) to enable the mini-http server.
# 0 = disabled.
# Set to ‘off’ to allow anybody (not just localhost) to view the
# webcam via the mini-http server (http://hostname:port).
Text_left “ME WEBCAM”
Text_center “loves to yous”
The program places a jpg image that constatly updates onto your chosen port on the routable ip address
the image may be placed into a website with the following syntax
the size and quality of the image as well as brightness and refresh rate can be modified with the above configuration file
the Text_left option allows you to place a subtitle at the bottom of the image
it does not seem to work with the Text_center that i attemptedngranted this program has alot more potential than what i am showing it to be able to do
but it works for a start
incluse security cameras the program and its dependacies are rather minimalistic therefore an older computer should have no problem running this program
I believe multiple cams may be streamed to the same site
if so it opens many new possiabilitiesnto be looked into at a later date