One camera fails on 2 camera system after first couple snapshots
I have a 2 camera setup,
thread1 controls an old handheld video camera connected to a pc via a Hauppage-TV card input
thread2 a USB logitech quickcam express
the video camera is streaming and uploading ftp pics every 15mins
and the usb camera ftping snapshots every 5mins
the system works OK if I open a terminal and run-motion from the terminal
however, my automated system is to have motion start on boot-up, as one of the selected sessions to run
when this happens the video camera streams OKand ftp pictures on time
BUT the usb camera takes 1 or 2 snapshots then fails to run for the rest of the session (ftp upload script is still working)
strange that it works OK when run in a terminal, but not when run as a startup session
so problem is only with the USB camera and only when run as a startup session
SORTED !!!! many thanks for the reply, I have put a sleep 300 in the start motion script and works perfectly now, looks like it was some USB conflict
Paste in your error messages, config settings, terminal window output etc in this text field.
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
|| ubuntu gutsy
- 20 Nov 2007
My best guess is that Motion starts before the USB camera is fully installed by the udev system or whatever.
Maybe you need to put in a delay so Motion starts after you are sure all devices and their drivers are stable.
- 21 Nov 2007