Thursday, December 17, 2009

Blood Blister On My Gums

Surveillance webcam

Hello everyone, today Let me give you a free software that allows you to surveillance your PC or your home when you're away, with any IP camera or webcam usb with a classic. You can do this through

Motion .
The first step to follow is to download and install Motion
from the official repositories.
completed the installation we just have to go through his motion to set the configuration file. Then type the following command from the terminal root:

# gedit / etc / motion / motion.conf
we now see the individual settings to set all the best. Under
Daemon
we can choose whether to start Motion as a daemon to start or run it on PC terminal (I set it as the default option left). Another approach is to set the directory to save the file motion.pid. We set one that best suits us. Mine is:

process_id_file / home / Dony / motion / motion.pid
Scrolling down there is the maximum number of frames captured per second.
Set a value preferably 2 to 5 by changing this string:

framerate 2

If we have a webcam that automatically adjusts the brightness and contrast controls leave the following command as the default:


auto_brightness off
proceeding in the flow of the file find the section
# Image File Output.

this part is very important because we can set up what it does when it detects the webcam movement. if the command:
output_normal
is set to on, the camera will take a myriad of pictures that only occupy disk space, if set to

first, will start only when a picture of the motion detection, if
set to off, not engage any photos. Council latter option. It is the same for videos that we find in the # FFMPEG related options. To disable the creation of this video set:
ffmpeg_cap_new off
section:

# Snapshots (Traditional Periodic Webcam File Output)
we can set the time interval (in seconds) that elapses between taking a picture and the next. Set:
snapshot_interval
0 to disable this feature.
Set time will be saved to the folder where images and video: Mine is:

target_dir / home / Dony / motion

We come here
#
Live Webcam Server allows us to change the settings or look webcam in real time from any browser.
In the first part we choose the port to watch the webcam (leave 8081), the quality of the jpeg images produced (leaving 50), then we set how many frames per second wish to see. My camera is set to 30 frames per second. Then set:
webcam_maxrate 30
so if you choose our webcam is visible only in the local network or we can remotely control it remotely. If you want to control it remotely set off


webcam_localhost
proceed by setting the ability to adjust the settings remotely, and not only volumes motion.conf by editing the section
# HTTP Based Control

We set the connection port ( leave the default 8080), and the ability to control local or remote (I set off
for even remotely control the webcam).
decide whether to set
username and password to change settings to do so, remove only the punctuation mark "
; " and replace the words "
username" and "password
" what we like. last thing ... we can set a command that the program must perform the occurrence of an event. We can do this from the section # External Commands, Warnings and Logging: If you want to see on your site the live stream of your webcam you have to do is go to edit the underside # Database Options For MySQL and # Database Options For PostgreSQL
.
I remind you that you can use up to four webcams and to do this go to edit the following files:

; thread / usr/local/etc/thread1.conf
; thread / usr/local/etc/thread2 .


conf; thread / usr/local/etc/thread3.conf
; thread / usr/local/etc/thread4.conf
Now that everything is set we should save the file and start the program. Start them from terminal and opening Firefox in the address bar type: http://localhost:8081

to watch your webcam or
http://localhost:8080
change the settings.
If we want to do it remotely:
http://indirizzoip:8081
or
http://indirizzoip:8080

To do this we need to remotely open ports 8080 and 8081 on the router and check that the firewall is not blocking the doors.

Good vision at all ...



0 comments:

Post a Comment