Problem : Motions wont be saved 
 
  Question 
Hi,
first, i want to use this message to say a big THANKS for such a great solution to detect motion and store it. Never used a programm that can do so much useful stuff and come with a easy shell config. Thanks Motion-Team.
The second thing is this - i use motion since a while for my private home, i got 3 usb cams and detected motion there, some time ago i updated via "apt" and set the "snapshot" variable to "on" to get a view snapshots and show them in apache , which i installed by the way.
Motion is in Version : 3.2.3 via Debian APT installed Distribution is Debian 3.1rc4 unstable (to get all the latest packages) All the needed Packages are installed as written in the manual.
I recognized that no more motion is detected - since yesterday i tried to get this to work and checked the config, but i cant find any failure and get motion to save detected motion well. The Detection AND the Saving worked before i updated, installed apache and activated the "snapshot"
Can anybody help me with this ? Why is Motion never change my pictures and what is event 1 or 2 doing, can i control them ?
Best wishes and MUCH THANKS from Germany,
Stefan
Here is the Output of Motion in Setup Mode
[1] Changes:     0
[1] Changes:     0
[1] Changes:     0
[1] Changes:    18
[1] Changes:    57
[1] Changes:    51
[1] Changes:    63
[1] Motion detected - starting event 2
[1] Changes:   158
[1] Changes:    66
Nothing happens, no picture got saved, only the event 2 is starting if i
select "save the best picture in motion" or event 1 if i set this easily
to "on".
########### This is the "base" config (motion.conf)
process_id_file=/var/run/motion.pid
DAEMON=ON
quiet=off                                                       ; Kein
Gepiepe wenn etwas los ist
setup=off
input=8                                                               ;
8 fuer USB Geraete
norm=pal
width=640
height=480
control_html_output=on
control_port=8080
control_localhost=no
thread=/etc/motion/motion_kam1.conf
########## This is the "thread" config file for camera 1 (i have tested
it with this cam to play around with the values)
videodevice=/dev/video0
brightness=0                                            ; Setzt die
Helligkeit fuer das Geraet (0-255)
contrast=0                                              ; Setzt den
kontrast fuer das Geraet (0-255)
framerate=10                                            ; 0-100 (100=no
limit)
frequency=0                                             ; Die Frequenz
(nicht setzen!)
height=480                                              ; Hoehe (Std 288)
width=640                                               ; Die Breite
(Std 352)
minimum_frame_time=0                                    ; 0 - 2147483647
(0 =aus)
rotate=0                                                ; Drehen um
0,90,180,270
saturation=0                                            ; Farbsaettigung
0=aus
output_motion=off                                               ;
Speichere die Aenderungen in EXTRA File ! in welchem man dann nur die
Aenderung an sich sieht
output_normal=best                                              ; Das
Image der Kamera bei d. Erkennung (on off first best) first nur das
erste best das mit de$
quality=95                                                      ;
Qualitaet global, wenn sie nicht ueberschrieben wird, 1-100 100 klein, 1
gross
threshold=150                                           ; Die wichtigste
Option, die Sensibiltaet der Erkennung ! 1-2147483647
threshold_tune=on                                               ; Lerne
selbst und agiere selbst!
lightswitch=60                                          ; Ignoriere
fatale Sonneneinstrahlung..(0-100(100=off))
locate=on                                                       ; Male
eine Box um die Bewegung  on  off  preview
# gap=10                                                        ; Wenn
eine Bewegung erkannt wurde soll doch irgendwann Ende sein ! (Sekunden!)
(Ende des EVENT$
# low_cpu=5                                                     ; Wenn
nichts passiert fahr die Framerate auf die gesetzte zahl zurueck und gib
dem PC seine Po$
; mask_file=FILE                                                ; Pfad
zum PNG Maskenfile !
max_mpeg_time=20                                                ; 0 =
unendlich (Sekunden)
minimum_gap=1                                           ; Zeit zwischen
zwei aufnahmen (mindestens in sekunden)
minimum_motion_frames=1                                 ; Aufnahmen die
gemacht werden nach einer Erkennung in s. (siehe hierzu auch "post_capture")
night_compensate=on                                     ; An dunklen
Orten kann dies hier die AGC Funktion vieler Kams ersetzen, ist diese
vorhanden gehoert es$
noise_level=32                                          ; Stelle "die
grauen Stellen" beim Rauschen ein (1-255)
noise_tune=on                                           ; Versuche dies
zu tunen ? on/off
output_all=off                                          ; Speichere
JEDES Bild !
post_capture=1                                          ; Aufnahemn nach
einer Bewegung siehe minimum_motion_frame! in s
pre_capture=0                                           ; Aufnahemn vor
einer Bewegung in s
smart_mask_speed=5                                      ; Selbstlernende
Maske - wird nicht mehr sehr so anfaellig gegen Baeume und Blaetter,
Tauben etc. Genia$
switch_filter=off                                               ;
Schalte um ????!!!
jpeg_filename=HOF-%Y%m%d%H%M%S-%q
movie_filename=HOF-%Y%m%d%H%M%S
snapshot_filename=1SNAP
# snapshot_filename=HOF-%Y%m%d%H%M%S-snapshot
target_dir=/var/www/motion/kam1
snapshot_interval=1                             ; Nimm alle x s ein Bild
auf (speichere es) (0 - 2147483647)
snapshot_overwrite on                                   ; Das letzte
Bild heisst immer snapshot.jpg
text_left=Hof %d-%b-%Y %H:%M:%S
webcam_localhost=off                                    ; Nur lokal?
webcam_limit=1200                                               ; Nach x
Frames wird die Verbdg. gekappt
webcam_maxrate=1                                                ; Sende
x Bilder je s
webcam_motion=on                                                ; Geht
auf 1 Bild bei Bewegungen
runter                                                        $
webcam_port=0                                                   ;
Welcher Port?
webcam_quality=90                                               ; Wie
stark kompr.? (0 am staerksten) 
  Environment 
	
		
			|  Motion version:  | 
			 3.1.9  | 
		
		
			|  ffmpeg version:  | 
			    | 
		
		
			|  Libraries:  | 
			 ffmpeg, mysql, postgresql  | 
		
		
			|  Server OS:  | 
			 Debian 3.1 , kernel 2.6.15  | 
		
	
-- 
StefanA - 02 Jan 2007
  Follow up 
Please get the last version of motion 3.2.7 and try to reproduce the problem ... i'm sure that it will desapear at all.
-- 
AngelCarpintero - 02 Jan 2007
  Answer 
Never got feedback.
 -- 
AngelCarpintero - 07 May 2008