Motion - Support Question 2007x 11x 20x 085735

One camera fails on 2 camera system after first couple snapshots

Question

Great software! 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.

Environment

Motion version: 3.2.9
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: ubuntu gutsy

-- AndrewCook - 20 Nov 2007

Answer

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.

-- KennethLavrsen - 21 Nov 2007
Topic revision: r3 - 22 Nov 2007, AndrewCook
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.