From: gnat <gna...@gm...> - 2008-11-12 03:47:00
|
Hello, I'm a new motion user that is having some issues. I'm working on a Mac running 10.5.5 that I had some issues getting motion 3.2.11 to compile. I'm using a TRENDnet TV-IP100W-N over WiFi as my camera source. The usage problem is that it is only grabbing 2 - 3 images a second for the stills and does not generate a movie after the event is complete. I've been testing in non-daemon mode with no messages that indicate a problem (just the image creation messages). The camera reports that it is running at 20 frames a second. The build issues I had (in case they are relevant) were: 1) I had to export LIBS with my (MacPorts) lib directory for it to find ffmpeg even though I supplied the configure option for it. 2) It reports that I don't have pthreads even though I do (looking at configure, it appears to recognize that I do, but does not set the proper variables for later). 3) I had to comment out the BSD version of the setpgrp() call and to use setpgrp() with no arguments. My conf file looks like: daemon off process_id_file /tmp/motion.pid setup_mode off videodevice /dev/bktr0 v4l2_palette 8 input 0 norm 0 frequency 0 rotate 0 width 640 height 480 framerate 30 minimum_frame_time 0 netcam_url http://192.168.3.210/VIDEO.CGI netcam_http 1.1 netcam_tolerant_check off auto_brightness off brightness 0 contrast 0 saturation 0 hue 0 roundrobin_frames 1 roundrobin_skip 1 switchfilter off threshold 1500 threshold_tune off noise_level 32 noise_tune on smart_mask_speed 0 lightswitch 0 minimum_motion_frames 15 pre_capture 3 post_capture 30 gap 15 max_mpeg_time 3600 output_all off output_normal on output_motion off quality 75 ppm off ffmpeg_cap_new off ffmpeg_cap_motion off ffmpeg_timelapse 0 ffmpeg_timelapse_mode daily ffmpeg_bps 400000 ffmpeg_variable_bitrate 0 ffmpeg_video_codec mpeg4 ffmpeg_deinterlace off snapshot_interval 0 locate off text_right %Y-%m-%d\n%T text_left Camera 1 text_changes off text_event %Y%m%d%H%M%S text_double off target_dir /Users/DaveWhittle/Sites/camera1 snapshot_filename %v-%Y%m%d%H%M%S-snapshot jpeg_filename images/%v-%Y%m%d%H%M%S-%q movie_filename movies/%v-%Y%m%d%H%M%S timelapse_filename %Y%m%d-timelapse webcam_port 8081 webcam_quality 50 webcam_motion off webcam_maxrate 1 webcam_localhost on webcam_limit 0 control_port 8080 control_localhost on control_html_output on track_type 0 track_auto off track_motorx 0 track_motory 0 track_maxx 0 track_maxy 0 track_iomojo_id 0 track_step_angle_x 10 track_step_angle_y 10 track_move_wait 10 track_speed 255 track_stepsize 40 quiet on If anyone has any suggestions, I would appreciate it. Thanks, -dave |
From: Alberto G. <sub...@tr...> - 2008-11-12 07:39:08
|
El Wednesday 12 November 2008 04:46:48 gnat escribió: Hi Gnat set to ON the option "ffmpeg_cap_new off" and testing differents codecs on "ffmpeg_video_codec mpeg4" Cheers > Hello, > I'm a new motion user that is having some issues. > > I'm working on a Mac running 10.5.5 that I had some issues getting > motion 3.2.11 to compile. I'm using a TRENDnet TV-IP100W-N over WiFi > as my camera source. > > The usage problem is that it is only grabbing 2 - 3 images a second > for the stills and does not generate a movie after the event is > complete. I've been testing in non-daemon mode with no messages that > indicate a problem (just the image creation messages). > > The camera reports that it is running at 20 frames a second. > > The build issues I had (in case they are relevant) were: > > 1) I had to export LIBS with my (MacPorts) lib directory for it to > find ffmpeg even though I supplied the configure option for it. > 2) It reports that I don't have pthreads even though I do (looking at > configure, it appears to recognize that I do, but does not set the > proper variables for later). > 3) I had to comment out the BSD version of the setpgrp() call and to > use setpgrp() with no arguments. > > My conf file looks like: > daemon off > process_id_file /tmp/motion.pid > setup_mode off > videodevice /dev/bktr0 > v4l2_palette 8 > input 0 > norm 0 > frequency 0 > rotate 0 > width 640 > height 480 > framerate 30 > minimum_frame_time 0 > netcam_url http://192.168.3.210/VIDEO.CGI > netcam_http 1.1 > netcam_tolerant_check off > auto_brightness off > brightness 0 > contrast 0 > saturation 0 > hue 0 > roundrobin_frames 1 > roundrobin_skip 1 > switchfilter off > threshold 1500 > threshold_tune off > noise_level 32 > noise_tune on > smart_mask_speed 0 > lightswitch 0 > minimum_motion_frames 15 > pre_capture 3 > post_capture 30 > gap 15 > max_mpeg_time 3600 > output_all off > output_normal on > output_motion off > quality 75 > ppm off > ffmpeg_cap_new off > ffmpeg_cap_motion off > ffmpeg_timelapse 0 > ffmpeg_timelapse_mode daily > ffmpeg_bps 400000 > ffmpeg_variable_bitrate 0 > ffmpeg_video_codec mpeg4 > ffmpeg_deinterlace off > snapshot_interval 0 > locate off > text_right %Y-%m-%d\n%T > text_left Camera 1 > text_changes off > text_event %Y%m%d%H%M%S > text_double off > target_dir /Users/DaveWhittle/Sites/camera1 > snapshot_filename %v-%Y%m%d%H%M%S-snapshot > jpeg_filename images/%v-%Y%m%d%H%M%S-%q > movie_filename movies/%v-%Y%m%d%H%M%S > timelapse_filename %Y%m%d-timelapse > webcam_port 8081 > webcam_quality 50 > webcam_motion off > webcam_maxrate 1 > webcam_localhost on > webcam_limit 0 > control_port 8080 > control_localhost on > control_html_output on > track_type 0 > track_auto off > track_motorx 0 > track_motory 0 > track_maxx 0 > track_maxy 0 > track_iomojo_id 0 > track_step_angle_x 10 > track_step_angle_y 10 > track_move_wait 10 > track_speed 255 > track_stepsize 40 > quiet on > > If anyone has any suggestions, I would appreciate it. > > Thanks, > -dave > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |
From: gnat <gna...@gm...> - 2008-11-13 02:02:00
|
On Nov 12, 2008, at 2:06 AM, Alberto Garcia wrote: > El Wednesday 12 November 2008 04:46:48 gnat escribió: > > set to ON the option "ffmpeg_cap_new off" > and testing differents codecs on "ffmpeg_video_codec mpeg4" Thanks for the pointer that did it and using "mov" for the codec appears to work well. Thanks, -dave |
From: Angel C. <ac...@te...> - 2008-11-12 21:53:53
|
El mar, 11-11-2008 a las 22:46 -0500, gnat escribió: > Hello, Hi Dave, > I'm a new motion user that is having some issues. > > I'm working on a Mac running 10.5.5 that I had some issues getting > motion 3.2.11 to compile. I'm using a TRENDnet TV-IP100W-N over WiFi > as my camera source. First at all i doubt that port of MacOsX will work properly as it not maintained because no one sent any feedback since long long time ago. Twiki topics : http://www.lavrsen.dk/twiki/bin/view/Motion/MacOSX http://www.lavrsen.dk/twiki/bin/view/Motion/MacOSXPatch > The usage problem is that it is only grabbing 2 - 3 images a second > for the stills and does not generate a movie after the event is > complete. I've been testing in non-daemon mode with no messages that > indicate a problem (just the image creation messages). 2-3 frames per second ?! looks that it's a big problem , i tried from BSD with 10fps 640x480 with default setting. Notice that you can set max framerate using framerate , but not width / height for network cameras , so check what is the image size for the netcam_url you set. > > The camera reports that it is running at 20 frames a second. You can check this using a wget in example , but it's not the same get a stream at 20 fps than get and process it. > > The build issues I had (in case they are relevant) were: > > 1) I had to export LIBS with my (MacPorts) lib directory for it to > find ffmpeg even though I supplied the configure option for it. > 2) It reports that I don't have pthreads even though I do (looking at > configure, it appears to recognize that I do, but does not set the > proper variables for later). > 3) I had to comment out the BSD version of the setpgrp() call and to > use setpgrp() with no arguments. You can add a formal patch and include in MacOSX Twiki topics. [snip config] > If anyone has any suggestions, I would appreciate it. Probably motion is not working fine and need more work before starting figure out what the problem in config file. > Thanks, > -dave Cheers, -- Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint = 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe; no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply. Willing is not enough; we must do" Johann Wolfgang von Goethe |
From: gnat <gna...@gm...> - 2008-11-13 02:08:44
|
On Nov 12, 2008, at 4:53 PM, Angel Carpintero wrote: > First at all i doubt that port of MacOsX will work properly as it not > maintained because no one sent any feedback since long long time ago. Angel, I didn't use a port for motion, i'm just using the main source line. > Twiki topics : I looked at those and didn't find them helpful for the issue I was having, so I went back to the pure source. > 2-3 frames per second ?! looks that it's a big problem , i tried from > BSD with 10fps 640x480 with default setting. > > Notice that you can set max framerate using framerate , but not > width / > height for network cameras , so check what is the image size for the > netcam_url you set. It just seems to be motion for the still images. Now that I am getting videos, they appear to be getting a good framerate. Now that I have the video working, I just turned the images off since I don't really want them anyway for my application. > You can add a formal patch and include in MacOSX Twiki topics. I'll look into it, but i've never mastered the multi-person development techniques like patching ;) Thanks, -dave |