[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2 Webcams mit motion klappt nicht



Moin!

Ich versuche motion beizupulen 2 Logitech Quickcam Pro 4000 darzustellen.

System ist Lenny, beide Kameras hängen an einem USB 2.0 Hub:

-----------------------------------------------------------------
user@rechner:~$ lsusb
Bus 001 Device 005: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 004: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 003: ID 1058:0704 Western Digital Technologies, Inc.
Passport External HDD
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

user@rechner:~$ lsmod | grep usbcore
usbcore  139504  6 snd_usb_audio,pwc,snd_usb_lib,usb_storage,ehci_hcd
-----------------------------------------------------------------

und werden vom Treiber 'pwc' erkannt:

-----------------------------------------------------------------
user@rechner:~$ dmesg | grep pwc
[    9.240000] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
[    9.240000] pwc: Registered as /dev/video0.
[    9.560000] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
[    9.560000] pwc: Registered as /dev/video1.
-----------------------------------------------------------------

Jede Kamera für sich funktioniert perfekt, beide zusammen dagegen nicht.

motion.conf, thread1.conf und thread2.conf existieren, es sollen 2
Webcam-Server gestartet werden (port 8081 und 8082).

Sobald ich motion starte, scheint alles gut zu gehen, aber es gibt nur
Bilder einer Cam und es wird nur ein Server (8081) gestartet:

-----------------------------------------------------------------
user@rechner:~$ tail /var/log/user.log
Feb 25 21:26:48 rechner motion: [0] Processing thread 0 - config file
/etc/motion/motion.conf
Feb 25 21:26:48 rechner motion: [0] Processing config file thread1.conf
Feb 25 21:26:48 rechner motion: [0] Processing config file thread2.conf
Feb 25 21:26:48 rechner motion: [0] Motion 3.2.9 Started
Feb 25 21:26:48 rechner motion: [0] Created process id file
/var/run/motion.pid. Process ID is 2315
Feb 25 21:26:48 rechner motion: [0] Motion running as daemon process
Feb 25 21:26:48 rechner motion: [0] ffmpeg LIBAVCODEC_BUILD 3355136
LIBAVFORMAT_BUILD 3409664
Feb 25 21:26:48 rechner motion: [0] Thread 1 is from thread1.conf
Feb 25 21:26:48 rechner motion: [1] Thread 1 started
Feb 25 21:26:48 rechner motion: [0] Thread 2 is from thread2.conf
Feb 25 21:26:48 rechner motion: [0] motion-httpd/3.2.9 running, accepting
connections
Feb 25 21:26:48 rechner motion: [0] motion-httpd: waiting for data on port
TCP 8080
Feb 25 21:26:48 rechner motion: [2] Thread 2 started
Feb 25 21:26:48 rechner motion: [1] cap.driver: "pwc"
Feb 25 21:26:48 rechner motion: [1] cap.card: "Logitech QuickCam Pro 4000"
Feb 25 21:26:48 rechner motion: [1] cap.bus_info: "usb-orion-ehci.0-1.4"
Feb 25 21:26:48 rechner motion: [1] cap.capabilities=0x05000001
Feb 25 21:26:48 rechner motion: [1] - VIDEO_CAPTURE
Feb 25 21:26:48 rechner motion: [1] - READWRITE
Feb 25 21:26:48 rechner motion: [1] - STREAMING
Feb 25 21:26:48 rechner motion: [1] Supported palettes:
Feb 25 21:26:48 rechner motion: [1] 0: PWC2 (Raw Philips Webcam)
Feb 25 21:26:48 rechner motion: [1] 1: YU12 (4:2:0, planar, Y-Cb-Cr)
Feb 25 21:26:48 rechner motion: [1] Test palette YU12 (640x480)
Feb 25 21:26:48 rechner motion: [1] Using palette YU12 (640x480)
bytesperlines 960 sizeimage 460800 colorspace 00000000
Feb 25 21:26:48 rechner motion: [1] found control 0x00980900,
"Brightness", range 0,128
Feb 25 21:26:48 rechner motion: [1] #011"Brightness", default 64, current 63
Feb 25 21:26:48 rechner motion: [1] found control 0x00980901, "Contrast",
range 0,64
Feb 25 21:26:48 rechner motion: [1] #011"Contrast", default 0, current 32
Feb 25 21:26:48 rechner motion: [1] found control 0x00980902,
"Saturation", range -100,100
Feb 25 21:26:48 rechner motion: [1] #011"Saturation", default 0, current 247
Feb 25 21:26:48 rechner motion: [1] found control 0x0098090e, "Red Gain",
range 0,256
Feb 25 21:26:48 rechner motion: [1] #011"Red Gain", default 0, current 128
Feb 25 21:26:48 rechner motion: [1] found control 0x0098090f, "Blue Gain",
range 0,256
Feb 25 21:26:48 rechner motion: [1] #011"Blue Gain", default 0, current 128
Feb 25 21:26:48 rechner motion: [1] found control 0x00980910, "Gamma",
range 0,32
Feb 25 21:26:48 rechner motion: [1] #011"Gamma", default 0, current 16
Feb 25 21:26:48 rechner motion: [1] found control 0x00980911, "Shutter
Speed (Exposure)", range 0,256
Feb 25 21:26:48 rechner motion: [1] #011"Shutter Speed (Exposure)",
default 200, current 248
Feb 25 21:26:48 rechner motion: [1] found control 0x00980912, "Auto Gain
Enabled", range 0,1
Feb 25 21:26:48 rechner motion: [1] #011"Auto Gain Enabled", default 1,
current 1
Feb 25 21:26:48 rechner motion: [1] found control 0x00980913, "Gain
Level", range 0,256
Feb 25 21:26:48 rechner motion: [1] #011"Gain Level", default 0, current -95
Feb 25 21:26:48 rechner motion: [1] found control 0x08000000, "Save User
Settings", range 0,0
Feb 25 21:26:48 rechner motion: [1] #011"Save User Settings", default 0,
current 0
Feb 25 21:26:48 rechner motion: [1] found control 0x08000001, "Restore
User Settings", range 0,0
Feb 25 21:26:48 rechner motion: [1] #011"Restore User Settings", default
0, current 0
Feb 25 21:26:48 rechner motion: [1] mmap information:
Feb 25 21:26:48 rechner motion: [1] frames=2
Feb 25 21:26:48 rechner motion: [1] 0 length=462848
Feb 25 21:26:48 rechner motion: [1] 1 length=462848
Feb 25 21:26:48 rechner motion: [2] cap.driver: "pwc"
Feb 25 21:26:48 rechner motion: [2] cap.card: "Logitech QuickCam Pro 4000"
Feb 25 21:26:48 rechner motion: [2] cap.bus_info: "usb-orion-ehci.0-1.2"
Feb 25 21:26:48 rechner motion: [2] cap.capabilities=0x05000001
Feb 25 21:26:48 rechner motion: [2] - VIDEO_CAPTURE
Feb 25 21:26:48 rechner motion: [2] - READWRITE
Feb 25 21:26:48 rechner motion: [2] - STREAMING
Feb 25 21:26:48 rechner motion: [2] Supported palettes:
Feb 25 21:26:48 rechner motion: [2] 0: PWC2 (Raw Philips Webcam)
Feb 25 21:26:48 rechner motion: [2] 1: YU12 (4:2:0, planar, Y-Cb-Cr)
Feb 25 21:26:48 rechner motion: [2] Test palette YU12 (640x480)
Feb 25 21:26:49 rechner motion: [2] Using palette YU12 (640x480)
bytesperlines 960 sizeimage 460800 colorspace 00000000
Feb 25 21:26:49 rechner motion: [2] found control 0x00980900,
"Brightness", range 0,128
Feb 25 21:26:49 rechner motion: [2] #011"Brightness", default 64, current 63
Feb 25 21:26:49 rechner motion: [2] found control 0x00980901, "Contrast",
range 0,64
Feb 25 21:26:49 rechner motion: [2] #011"Contrast", default 0, current 63
Feb 25 21:26:49 rechner motion: [2] found control 0x00980902,
"Saturation", range -100,100
Feb 25 21:26:49 rechner motion: [2] #011"Saturation", default 0, current 246
Feb 25 21:26:49 rechner motion: [2] found control 0x0098090e, "Red Gain",
range 0,256
Feb 25 21:26:49 rechner motion: [2] #011"Red Gain", default 0, current 45
Feb 25 21:26:49 rechner motion: [2] found control 0x0098090f, "Blue Gain",
range 0,256
Feb 25 21:26:49 rechner motion: [2] #011"Blue Gain", default 0, current 16
Feb 25 21:26:49 rechner motion: [2] found control 0x00980910, "Gamma",
range 0,32
Feb 25 21:26:49 rechner motion: [2] #011"Gamma", default 0, current 24
Feb 25 21:26:49 rechner motion: [2] found control 0x00980911, "Shutter
Speed (Exposure)", range 0,256
Feb 25 21:26:49 rechner motion: [2] #011"Shutter Speed (Exposure)",
default 200, current 0
Feb 25 21:26:49 rechner motion: [2] found control 0x00980912, "Auto Gain
Enabled", range 0,1
Feb 25 21:26:49 rechner motion: [2] #011"Auto Gain Enabled", default 1,
current 1
Feb 25 21:26:49 rechner motion: [2] found control 0x00980913, "Gain
Level", range 0,256
Feb 25 21:26:49 rechner motion: [2] #011"Gain Level", default 0, current -82
Feb 25 21:26:49 rechner motion: [2] found control 0x08000000, "Save User
Settings", range 0,0
Feb 25 21:26:49 rechner motion: [2] #011"Save User Settings", default 0,
current 0
Feb 25 21:26:49 rechner motion: [2] found control 0x08000001, "Restore
User Settings", range 0,0
Feb 25 21:26:49 rechner motion: [2] #011"Restore User Settings", default
0, current 0
Feb 25 21:26:49 rechner motion: [2] mmap information:
Feb 25 21:26:49 rechner motion: [2] frames=2
Feb 25 21:26:49 rechner motion: [2] 0 length=462848
Feb 25 21:26:49 rechner motion: [2] 1 length=462848
Feb 25 21:26:49 rechner motion: [1] Started stream webcam server in port 8081
-----------------------------------------------------------------

Ich habe keine Ahnung, was da letztendlich schief geht...

Könnt Ihr mir weiter helfen?

Gruß
Frank


Reply to: