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 (John Tuxies)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Jan 2019 15:47:26 +0200
From: John Tuxies <atuxn...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] unable to open 2nd camera
Message-ID:
        <CACoLBwVat56yn=909_+f_RuxLcwGyqD4gy_RYuEt_Ok11S=y...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

i have seen the problem. it needed -1 in the motion.conf not 1 that i had.
Thanks a lot for your help



On Wed, Jan 16, 2019 at 2:08 PM tosiara <tosi...@gmail.com> wrote:

> Has /var/log/motion/motion.log been created?
>
> On Wed, Jan 16, 2019 at 2:05 PM John Tuxies <atuxn...@gmail.com> wrote:
> >
> > Here is the output
> > pi@rpimqtt:~ $ sudo motion -c motion.conf -d 7 -n
> > [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file
> motion.conf
> > [0:motion] [NTC] [ALL] config_camera: Processing camera config file
> /etc/motion/camera1.conf
> > [0:motion] [NTC] [ALL] config_camera: Processing camera config file
> /etc/motion/camera2.conf
> > [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started
> > [0:motion] [NTC] [ALL] motion_startup: Logging to file
> (/var/log/motion/motion.log)
> > ^C*** buffer overflow detected ***: motion terminated
> > Aborted
> > pi@rpimqtt:~ $
> >
> >
> > On Wed, Jan 16, 2019 at 1:27 PM tosiara <tosi...@gmail.com> wrote:
> >>
> >> 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
> >>
> >>
> >> _______________________________________________
> >> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

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 28
********************************************

Reply via email to