Only 1 camera works at a time
I was running motion with 2 analog cameras connected to a standard 4 video in + audio to usb adapter.
(Bus 002 Device 002: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device)
Thing is, I had to reinstall the OS and lost the config files. The cameras are constantly monitored through the web interface.
Problem: Only one camera works at a given time. If I disable thread1, camera 2 works, If I disable thread2, camera 1 works.
If I try both at the same time, camera2 works but camera1 gives a broken signal (attached)
diff thread_1.conf thread_2.conf
> input 0
< input 1
> webcam_port 8081
< webcam_port 8082
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql
| Server OS:
|| Debian Linux 3.12-1-amd64
- 26 Feb 2014
I'm not sure how that capute card works , probably you may to play with round robin config options. Seems that somehow switching input is too fast for your card.
- 28 Feb 2014
I had this exact problem and spent a few days trying to figure it out. I have the same setup: a 4-channel usb video capture device with 2 cameras. The problem was that my main motion.conf was set to 640x480. My video device was set to NTSC (720x480). When the first thread connects to the device, it adjusted the resolution to 720x480. But the second thread still uses 640x480. Setting my main config to 720x480 solved the problem.