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: External usb webcam connected to laptop for a total of 2 usb webcams (tosiara) 2. Re: External usb webcam connected to laptop for a total of 2 usb webcams (Scott K) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Jan 2022 15:11:12 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] External usb webcam connected to laptop for a total of 2 usb webcams Message-ID: <CACHTdwQ-oMjTca47mjA=huaz4yo+ueahuo2hvbovrsfhdz0...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Easy peasy! video_device /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index0 On Mon, Jan 24, 2022 at 2:08 PM Scott K <skaplan...@gmail.com> wrote: > > Can you give m an example `videodevice` line I wanna use GENERIC_UVC > > $ ls /dev/v4l/by-id/* > /dev/v4l/by-id/usb-CN0Y3PX872487389C0E8A01_Laptop_Integrated_Webcam_HD-video-index0 > /dev/v4l/by-id/usb-CN0Y3PX872487389C0E8A01_Laptop_Integrated_Webcam_HD-video-index1 > /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index0 > /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index1 > > On Mon, Jan 24, 2022 at 2:34 AM tosiara <tosi...@gmail.com> wrote: >> >> Try one by one to see which one works :) >> However I recommend to use V4L name by id or path instead of >> /dev/video0, /dev/video1. Because those name may swap after reboot >> >> Try: >> >> ls /dev/v4l/by-id/* >> >> >> On Mon, Jan 24, 2022 at 1:39 AM Scott K <skaplan...@gmail.com> wrote: >> > >> > That's the built in usb webcam and the external usb webcam My question is >> > what values do I put in the camera config files camera1.conf and >> > camera2.conf for videodevice This is the results from v4l2-ctl >> > --list-devices: >> > >> > v4l2-ctl --list-devices >> > GENERAL - UVC : GENERAL - UVC (usb-0000:00:14.0-4): >> > /dev/video0 >> > /dev/video1 >> > /dev/media0 >> > >> > Laptop_Integrated_Webcam_HD: In (usb-0000:00:1a.0-1.4): >> > /dev/video2 >> > /dev/video3 >> > /dev/media1 >> > _______________________________________________ >> > 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 ------------------------------ Message: 2 Date: Mon, 24 Jan 2022 08:16:11 -0500 From: Scott K <skaplan...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] External usb webcam connected to laptop for a total of 2 usb webcams Message-ID: <can8u+xu+s++_pcqmaryg4julv8fqerhfkdwb8mjhe1nb-nr...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thanks On Mon, Jan 24, 2022, 8:13 AM tosiara <tosi...@gmail.com> wrote: > Easy peasy! > > video_device /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index0 > > On Mon, Jan 24, 2022 at 2:08 PM Scott K <skaplan...@gmail.com> wrote: > > > > Can you give m an example `videodevice` line I wanna use GENERIC_UVC > > > > $ ls /dev/v4l/by-id/* > > > /dev/v4l/by-id/usb-CN0Y3PX872487389C0E8A01_Laptop_Integrated_Webcam_HD-video-index0 > > > /dev/v4l/by-id/usb-CN0Y3PX872487389C0E8A01_Laptop_Integrated_Webcam_HD-video-index1 > > /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index0 > > /dev/v4l/by-id/usb-Generic_GENERAL_-_UVC-video-index1 > > > > On Mon, Jan 24, 2022 at 2:34 AM tosiara <tosi...@gmail.com> wrote: > >> > >> Try one by one to see which one works :) > >> However I recommend to use V4L name by id or path instead of > >> /dev/video0, /dev/video1. Because those name may swap after reboot > >> > >> Try: > >> > >> ls /dev/v4l/by-id/* > >> > >> > >> On Mon, Jan 24, 2022 at 1:39 AM Scott K <skaplan...@gmail.com> wrote: > >> > > >> > That's the built in usb webcam and the external usb webcam My > question is what values do I put in the camera config files camera1.conf > and camera2.conf for videodevice This is the results from v4l2-ctl > --list-devices: > >> > > >> > v4l2-ctl --list-devices > >> > GENERAL - UVC : GENERAL - UVC (usb-0000:00:14.0-4): > >> > /dev/video0 > >> > /dev/video1 > >> > /dev/media0 > >> > > >> > Laptop_Integrated_Webcam_HD: In (usb-0000:00:1a.0-1.4): > >> > /dev/video2 > >> > /dev/video3 > >> > /dev/media1 > >> > _______________________________________________ > >> > 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 187, Issue 10 ********************************************