|
From: Amadeus W.M. <ama...@ve...> - 2014-07-25 01:41:20
|
On Thu, 24 Jul 2014 07:56:37 +0100 Colin Law <cl...@gm...> wrote: > On 24 July 2014 05:06, Amadeus W.M. <ama...@ve...> wrote: > > I want to use motion as a web streamer for now so in > > my /etc/motion/motion.conf I have > > > > daemon off > > process_id_file /tmp/motion.pid > > setup_mode off > > videodevice /dev/video1 > > v4l2_palette 6 > > input 0 > > norm 1 > > > > webcam_port 8081 > > webcam_quality 50 > > webcam_motion on > > webcam_maxrate 1 > > webcam_localhost off > > webcam_limit 0 > > > > output_all off > > output_normal off > > output_motion off > > > > Then I start motion at the prompt with no aruments and it doesn't > > report any errors. However, > > You should see "Started stream webcam server in port 8081" when > motion starts. > > Colin > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index > and search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome This is what I see when I start motion: [0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [0] [ALR] [ALL] conf_cmdparse: Unknown config option "despeckle" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "gap" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "max_mpeg_time" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_all" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_normal" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_motion" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ppm" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_cap_new" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_cap_motion" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "locate" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "jpeg_filename" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_port" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_quality" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_motion" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_maxrate" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_localhost" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_limit" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_port" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_localhost" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_html_output" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_image" [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_mpeg" [0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6) [0] [NTC] [ALL] motion_startup: Motion 3.3.0 Started [0] [NTC] [ALL] motion_startup: Logging to syslog [0] [NTC] [ALL] motion_startup: Using default log type (ALL) [0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC) [0] [NTC] [ENC] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3614565 LIBAVFORMAT_BUILD 3609448 [0] [NTC] [ALL] main: Thread 1 is from /etc/motion/motion.conf [0] [NTC] [ALL] main: Thread 1 is device: /dev/video1 input 0 [0] [NTC] [ALL] main: Stream port 0 [0] [NTC] [ALL] main: Waiting for threads to finish, pid: 32186 [1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled [1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video1 and input 0 [1] [NTC] [VID] v4l2_get_capability: ------------------------ cap.driver: "usbtv" cap.card: "usbtv" cap.bus_info: "usb-0000:00:1d.7-2" cap.capabilities=0x85000001 ------------------------ [1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE [1] [NTC] [VID] v4l2_get_capability: - READWRITE [1] [NTC] [VID] v4l2_get_capability: - STREAMING [1] [NTC] [VID] v4l2_select_input: name = "Composite", type 0x00000002, status 00000000 [1] [NTC] [VID] v4l2_select_input: - CAMERA [1] [NTC] [VID] v4l2_select_input: - video standard NTSC [1] [NTC] [VID] v4l2_select_input: - video standard NTSC-M [1] [NTC] [VID] v4l2_select_input: - video standard NTSC-M-JP [1] [NTC] [VID] v4l2_select_input: - video standard NTSC-M-KR [1] [NTC] [VID] v4l2_select_input: - video standard NTSC-443 [1] [NTC] [VID] v4l2_select_input: - video standard PAL-M [1] [NTC] [VID] v4l2_select_input: - video standard PAL-60 [1] [NTC] [VID] v4l2_select_input: Set standard method 45056 [1] [NTC] [VID] v4l2_set_pix_format: Config palette index 6 (P207) doesn't work. [1] [NTC] [VID] v4l2_set_pix_format: Supported palettes: [1] [NTC] [VID] v4l2_set_pix_format: (0) YUYV (16 bpp YUY2, 4:2:2, packed) [1] [NTC] [VID] v4l2_set_pix_format: 0 - 16 bpp YUY2, 4:2:2, packed (compressed : 0) (0x56595559) [1] [NTC] [VID] v4l2_set_pix_format Selected palette YUYV [1] [NTC] [VID] v4l2_do_set_pix_format: Testing palette YUYV (720x480) [1] [NTC] [VID] v4l2_do_set_pix_format: Using palette YUYV (720x480) bytesperlines 1440 sizeimage 691200 colorspace 00000001 [1] [NTC] [VID] vid_v4lx_start: Using V4L2 [1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items [1] [NTC] [EVT] event_new_video FPS 30 [1] [NTC] [ALL] motion_detected: Motion detected - starting event 1 [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084413-03.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084413-04.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084413-14.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084413-24.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084414-04.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084414-14.jpg [1] [NTC] [EVT] event_newfile: File of type 1 saved to: /tmp/motion/01-20140724084414-24.jpg ^C[1] [NTC] [ALL] motion_loop: End of event 1 [1] [NTC] [ALL] motion_loop: Thread exiting [1] [NTC] [VID] vid_close: Closing video device /dev/video1 [0] [NTC] [ALL] main: Threads finished [0] [NTC] [ALL] main: Motion terminating Note the "Unknown config option" lines. Most of those are exactly the options I need. |