Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentRSForm has a deprecated constructor in /home2/htuqwhzi/public_html/sekt.dk/plugins/content/rsform/rsform.php on line 11

På denne side er jeg igang med at samle oplysninger som jeg finder nødvendige for at lave min vejledning om installation af programmet motion

1. Jeg har fundet disse vejledninger :

http://ubuntuforums.org/showthread.php?t=2003352

http://ubuntuforums.org/showthread.php?t=1897786

Motion - Web home

http://www.lavrsen.dk/foswiki/bin/view/Motion/ACTi

2. Her er videoer som er man bør se :

How to use your webcam as a security camera with Ubuntu linuxHow af dgwthezombie

Part 1:  http://www.youtube.com/watch?v=rzrXJLdNHwM

Part 2:  http://www.youtube.com/watch?v=TmYFqU4Zlek 

How to set up "Motion" video surveillance on a Linux af JaSauders

Video 1: http://www.youtube.com/watch?v=NwDLkMPLTw0

Video 2: http://www.youtube.com/watch?v=ZAoA_J5HD0M

3. Installer motion fra terminal:

sudo apt-get install motion

resultat:
Tilføjer gruppe »motion« (GID 126)...
Tilføjer systembruger »motion« (UID 115)...
Tilføjer ny bruger »motion« (UID 115) med gruppe »motion«...
Opretter ikke hjemmemappe »/home/motion«.
Tilføjer bruger »motion« til gruppen »video«...
Tilføjer brugeren motion til gruppen video
 * Not starting motion daemon, disabled via /etc/default/motion

4. Video Kamera:

Jeg har et ønske om at bruge 2 ip-camera fra ACTI, 1 stk ACM-4201 & 1 stk TCM-1231

her er opsætningen for ACM-4201, som anbefalet af Kenneth Lavrsen , ændringerne i forhold til fabriksopsætning er fremhævet , og firmwareren er opdateret til A1D-220-V3.14.19-AC 

ACTI-ACM4201-11E-E-00027

5. Configurationsfiler

/etc/motion/motion.conf

v4l2_palette 2
netcam_url http://192.168.1.103/cgi-bin/cmd/system?GET_STREAM
text_double on

/etc/motion/threadX.conf

 

6. Test

sudo motion

~$ sudo motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482112 LIBAVFORMAT_BUILD 3478528
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] File of type 8 saved to: /tmp/motion/01-20130409022807.swf
[1] File of type 1 saved to: /tmp/motion/01-20130409022807-03.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022816-01.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022816-02.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022816-03.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022816-04.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022817-02.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022817-03.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022817-04.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022818-00.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022818-01.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022818-02.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022818-03.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022818-04.jpg
[1] File of type 1 saved to: /tmp/motion/01-20130409022819-00.jpg
^C[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] vid_close: calling netcam_cleanup
[1] netcam camera handler: finish set, exiting
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Motion terminating