|
From: Jeff G. <jg...@kr...> - 2006-10-03 13:20:53
|
Seems that I needed to get a completely fresh SVN check out of ffmpeg instead of attempting to check-out only the changed files from the ffmpeg SVN repository. After checking-out a completely fresh ffmpeg, building, installing, then building motion in a fresh SVN check-out, seems to be stable again.. Thanks, Jeff G. Jeff Groves email: jg...@kr... Web Site: http://www.krenim.org/ Jeff Groves wrote: > I just built the latest motion and ffmpeg from last night SVN, and now > it seems that motion segmentation faults when it tries to save the > snapshot file. Here's the output that I see when I run "motion -n -s": > > > . > . > . > [1] Received first header > [1] Received first header > [1] Received first header > [1] Received first header > [1] Received first header > [1] Non-streaming camera > [1] Received first header > [1] Content-length present > [2] Raw changes: 88 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 72 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 86 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 68 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 64 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 77 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 50 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 54 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 46 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 36 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 43 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 60 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 118 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 122 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 155 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 141 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 166 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 108 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 140 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 137 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 113 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 152 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 143 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 171 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 143 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 142 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 170 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 130 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 121 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 81 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 112 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 121 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 108 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 68 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 123 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 100 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [2] Raw changes: 83 - changes after 'EedDl': 0 - labels: 0 - > noise level: 21 - threshold: 2500 > [1] Raw changes: 2 - changes after 'EedDl': 0 - labels: 0 - > noise level: 31 - threshold: 2500 > [1] File of type 2 saved to: /var/www/html/cams/nursury/lastsnap.jpg > Segmentation fault > > > > > Here's the thread file for the snapshot that fails: > > #Target base directory for pictures and films > target_dir /var/www/html/cams > > #URL to use if you are using a network camera, size will be > autodetected (incl h > ttp://) > #Must be a URL that returns single jpeg pictures or a raw mjpeg > stream. Default: > Not defined > ; netcam_url value > ;netcam_url http://webcam4.krenim.org/VIDEO.CGI > netcam_url http://webcam4.krenim.org/IMAGE.JPG > > #Threshold for number of changed pixels in an image that > #triggers motion detection (default: 1500) > threshold 2500 > > # Noise threshold for the motion detection (default: 32) > noise_level 64 > > # Picture frames must contain motion at least the specified number of > frames > # in a row before they are detected as true motion. At the default of > 1, all > # motion is detected. Valid range: 1 to thousands, recommended 1-10 > minimum_motion_frames 3 > > # Minimum time in seconds between the capturing picture frames from > the camera. > # Default: 0 = disabled - the capture rate is given by the camera > framerate. > > # This option is used when you want to capture images at a rate lower than > # 2 per second. > > # When this is enabled the framerate option is used only to set the pace > # the Motion service the webcam port etc. Running Motion at framerate 2 > # is normally fine. > > minimum_frame_time 10 > > #Username and password for network camera (only if required). Default: > not defin > ed > #Syntax is user:password > ; netcam_userpass value > netcam_userpass webcam:password > > # Let motion regulate the brightness of a video device (default: off). > # The auto_brightness feature uses the brightness option as its target > value. > # If brightness is zero auto_brightness will adjust to average > brightness value > 128. > # Only recommended for cameras without auto brightness > auto_brightness off > > # Set the initial brightness of a video device. > # If auto_brightness is enabled, this value defines the average > brightness level > # which Motion will try and adjust to. > # Valid range 0-255, default 0 = disabled > brightness 0 > > # Set the contrast of a video device. > # Valid range 0-255, default 0 = disabled > contrast 0 > > # Set the saturation of a video device. > # Valid range 0-255, default 0 = disabled > saturation 0 > > # Set the hue of a video device (NTSC feature). > # Valid range 0-255, default 0 = disabled > hue 0 > > > # Draw a user defined text on the images using same options as C > function strfti > me(3) > # Default: Not defined = no text > # Text is placed in lower left corner > ; text_left CAMERA %t > text_left NURSURY\nOUR HOUSE > > # Use ffmpeg to encode a timelapse movie > # Default value 0 = off - else save frame every Nth second > ffmpeg_timelapse 60 > > # Use ffmpeg to encode mpeg movies in realtime (default: off) > ffmpeg_cap_new off > > # File path for timelapse mpegs relative to target_dir > # Default: %Y%m%d-timelapse > # Default value is near equivalent to legacy oldlayout option > # For Motion 3.0 compatible mode choose: %Y/%m/%d-timelapse > # File extension .mpg is automatically added so do not include this > timelapse_filename %Y%m%d-timelapse-nursury > > ############################################################ > # Snapshots (Traditional Periodic Webcam File Output) > ############################################################ > > # Make automated snapshot every N seconds (default: 0 = disabled) > snapshot_interval 60 > > # File path for snapshots (jpeg or ppm) relative to target_dir > # Default: %v-%Y%m%d%H%M%S-snapshot > # Default value is equivalent to legacy oldlayout option > # For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-snapshot > # File extension .jpg or .ppm is automatically added so do not include > this. > # Note: A symbolic link called lastsnap.jpg created in the target_dir > will alway > s > # point to the latest snapshot, unless snapshot_filename is exactly > 'lastsnap' > #snapshot_filename %v-%Y%m%d%H%M%S-snapshot > snapshot_filename nursury/lastsnap > > #File path for motion triggered ffmpeg films (mpeg) relative to target_dir > #Default: %v-%Y%m%d%H%M%S > #Default value is equivalent to legacy oldlayout option > #For Motion 3.0 compatible mode choose: %Y/%m/%d/%H%M%S > #File extension .mpg or .avi is automatically added so do not include this > ; ffmpeg_filename front-%v-%Y%m%d%H%M%S > ;ffmpeg_filename front-%Y%m%d%H%M%S > ;movie_filename nursury-%Y%m%d%H%M%S > > #The mini-http server listens to this port for requests (default: 0 = > disabled) > #webcam_port 8084 > > > > -- > Jeff Groves > email: jg...@kr... Web Site: http://www.krenim.org/ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > |