Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: unable to open 2nd camera (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Wed, 16 Jan 2019 13:25:34 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] unable to open 2nd camera Message-ID: <CACHTdwTVjPvGLya8yfi=uzvazn8jvv4mnvrokd8gy9hrmm0...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" motion -c motion.conf -d 7 -n Reproduce the issue, press CTRL+C, save the output On Wed, Jan 16, 2019 at 1:05 PM John Tuxies <atuxn...@gmail.com> wrote: > > Could u tell me how do i do that please? > > On Wednesday, January 16, 2019, tosiara <tosi...@gmail.com> wrote: >> >> Can you upload full log with -d 7 command line param? >> >> On Wed, Jan 16, 2019 at 12:11 PM John Tuxies <atuxn...@gmail.com> wrote: >> > >> > i am using motion Version 4.0, >> > >> > On Wed, Jan 16, 2019 at 10:39 AM tosiara <tosi...@gmail.com> wrote: >> >> >> >> Which motion version? >> >> >> >> On Wed, Jan 16, 2019 at 10:12 AM John Tuxies <atuxn...@gmail.com> wrote: >> >> > >> >> > Hi all. I have 2 raspberry pi's and i have motion in both of them. One >> >> > has only the onboard camera and the other a usb camera (Microsoft >> >> > lifecam HD3000). It works fine for more than a year. i can see the >> >> > webpage of them in 8081 and have the stream. >> >> > Now i need to remove one of the raspberry pi's and have only one with 2 >> >> > cameras(onboard and usb). i have followed different tutorials and >> >> > created 2 files in /etc/motion/ folder and changed the motion.conf file >> >> > accordingly to include the 2 cameras. When i fire up the browser i can >> >> > see the stream in first camera (http://IP:8081) but i cannot see the >> >> > second(http:///IP:8082), as it states unable to open camera. Also when >> >> > i open the webcontrol page( http://IP:8080) i see 3 instances. The >> >> > first two are identical and it shows camera1 and the 3rd is the camera2. >> >> > Here are the config of motion.conf >> >> > daemon on >> >> > process_id_file /var/run/motion/motion.pid >> >> > setup_mode off >> >> > logfile /var/log/motion/motion.log >> >> > log_level 6 >> >> > log_type all >> >> > v4l2_palette 17 >> >> > input -1 >> >> > norm 0 >> >> > frequency 0 >> >> > power_line_frequency -1 >> >> > rotate 0 >> >> > width 640 >> >> > height 480 >> >> > framerate 80 >> >> > minimum_frame_time 0 >> >> > netcam_keepalive off >> >> > netcam_tolerant_check off >> >> > rtsp_uses_tcp on >> >> > auto_brightness off >> >> > brightness 0 >> >> > contrast 0 >> >> > saturation 0 >> >> > hue 0 >> >> > roundrobin_frames 1 >> >> > roundrobin_skip 1 >> >> > switchfilter off >> >> > threshold 2500 >> >> > threshold_tune off >> >> > noise_level 32 >> >> > noise_tune on >> >> > despeckle_filter EedDl >> >> > smart_mask_speed 0 >> >> > lightswitch 0 >> >> > minimum_motion_frames 1 >> >> > pre_capture 5 >> >> > post_capture 5 >> >> > event_gap 60 >> >> > max_movie_time 0 >> >> > emulate_motion off >> >> > output_pictures on >> >> > output_debug_pictures off >> >> > quality 75 >> >> > picture_type jpeg >> >> > ffmpeg_output_movies off >> >> > ffmpeg_output_debug_movies off >> >> > ffmpeg_timelapse 0 >> >> > ffmpeg_timelapse_mode daily >> >> > ffmpeg_bps 400000 >> >> > ffmpeg_variable_bitrate 0 >> >> > ffmpeg_video_codec mpeg4 >> >> > ffmpeg_duplicate_frames true >> >> > use_extpipe off >> >> > snapshot_interval 0 >> >> > locate_motion_mode off >> >> > locate_motion_style box >> >> > text_right %d-%m-%Y\n%T-%q >> >> > text_left rpi0w_CAMERA %t >> >> > text_changes off >> >> > text_event %Y%m%d%H%M%S >> >> > text_double on >> >> > target_dir /home/pi/webcam/log >> >> > snapshot_filename %v-%Y%m%d%H%M%S-snapshot >> >> > picture_filename %Y_%m_%d/%v-%d%m%Y_%H%M%S-%q >> >> > movie_filename %Y_%m_%d/%v-%d%m%Y%_H%M%S-%q >> >> > timelapse_filename %d%m%Y-timelapse >> >> > ipv6_enabled off >> >> > stream_quality 50 >> >> > stream_motion off >> >> > stream_maxrate 1 >> >> > stream_localhost off >> >> > stream_limit 50 >> >> > stream_auth_method 0 >> >> > webcontrol_port 8080 >> >> > webcontrol_localhost off >> >> > webcontrol_html_output on >> >> > track_type 0 >> >> > track_auto off >> >> > 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 >> >> > camera /etc/motion/camera1.conf >> >> > camera /etc/motion/camera2.conf >> >> > >> >> > >> >> > ################################# >> >> > here is the config of camera1.conf >> >> > >> >> > camera_id = 1 >> >> > videodevice /dev/video0 >> >> > input -1 >> >> > text_left CAMERA 1 >> >> > target_dir /home/pi/webcam/camera1 >> >> > picture_filename CAM1_%v-%Y%m%d%H%M%S-%q >> >> > stream_port 8081 >> >> > >> >> > ################################# >> >> > here is the config of camera2.conf >> >> > camera_id = 2 >> >> > videodevice /dev/video1 >> >> > input 1 >> >> > text_left CAMERA 2 >> >> > target_dir /home/pi/webcam/camera2 >> >> > picture_filename CAM2_%v-%Y%m%d%H%M%S-%q >> >> > stream_port 8082 >> >> > >> >> > >> >> > >> >> > I would appreciate any help available to make it work please. >> >> > _______________________________________________ >> >> > Motion-user mailing list >> >> > Motion-user@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/motion-user >> >> > https://motion-project.github.io/ >> >> > >> >> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> >> >> >> >> _______________________________________________ >> >> Motion-user mailing list >> >> Motion-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/motion-user >> >> https://motion-project.github.io/ >> >> >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> > >> > _______________________________________________ >> > Motion-user mailing list >> > Motion-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/motion-user >> > https://motion-project.github.io/ >> > >> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 151, Issue 26 ********************************************