Hi,
i’ve been using Logitech Orbit MP (046d:08cc) and Microsoft VX-6000 (045e:00f4) The first is recognized and i am able to capture video with ucview. The VX-6000 uses a microdia driver and cheese can capture video from it. So both are working fine.
The problem is that i just cant get video from within OF (yes, i have the patches to ofxUCUtils.h and cpp).
For the VX-6000 i get:
enumerate: 8000000
Total count method 1: 10
Total count method 2: 0
Unicap : Using device /dev/video0
Unicap : Using module v4l2
choosing device 0: Microdia USB Video Camera (usb-0000:00:13.5-6)
Unicap : Available formats for this device:
Unicap : 0: YU12 ( YU12 ), min size: 160x120, max size:640x480, default size: 640x480
Unicap : 1: BGR3 ( BGR3 ), min size: 160x120, max size:640x480, default size: 640x480
Unicap : Selected format: BGR3 ( BGR3 ), with size 640x480
Converting to RGB24
0.000000
0.000000
0.000000
1.132076
1.132076
1.132076
2.640490
2.640490
3.847028
3.847028
4.954864
4.954864
4.954864
5.741428
5.741428
5.741428
5.741428
5.741428
8.870990
8.870990
8.870990
8.870990
11.462152
11.462152
11.462152
11.462152
13.416710
13.416710
<--- growing number --->
And for the Logitech Orbit MP i get:
enumerate: 8000000
enumerate: 8000001
found
enumerate: 8000002
found
enumerate: 8000003
found
enumerate: 8000004
found
enumerate: 8000005
found
enumerate: 8000006
found
enumerate: 8000007
found
enumerate: 8000008
found
enumerate: 8000009
found
enumerate: 800000a
found
enumerate: 800000b
found
enumerate: 800000c
found
enumerate: 800000d
found
enumerate: 800000e
found
Total count method 1: 18
v4l2ctrl.name: Brightness
v4l2ctrl.name: Contrast
v4l2ctrl.name: Saturation
v4l2ctrl.name: Gain
v4l2ctrl.name: Backlight Compensation
v4l2ctrl.name: Power Line Frequency
v4l2ctrl.name: Sharpness
v4l2ctrl.name: Exposure, Auto
v4l2ctrl.name: Exposure (Absolute)
v4l2ctrl.name: White Balance Temperature, Auto
v4l2ctrl.name: White Balance Temperature
v4l2ctrl.name: Exposure, Auto Priority
Total count method 2: 12
Unicap : Using device /dev/video1
Unicap : Using module v4l2
choosing device 0: UVC Camera (046d:08cc) (0000:00:13.5)
Unicap : Available formats for this device:
Unicap : 0: MJPEG ( MJPG ), min size: 160x120, max size:960x720, default size: 640x480
Unicap : 1: YUV 4:2:2 (YUYV) ( YUYV ), min size: 160x120, max size:1280x960, default size: 640x480
Unicap : Selected format: YUV 4:2:2 (YUYV) ( YUYV ), with size 640x480
Converting to RGB24
0.000000
0.000000
0.000000
1.276596
1.276596
2.000000
2.000000
2.000000
2.000000
2.000000
5.616793
5.616793
6.617613
6.617613
6.881778
6.881778
6.881778
7.515186
7.515186
7.698246
7.698246
7.698246
7.698246
7.698246
16.019320
15.909922
15.909922
15.909922
15.909922
21.591679
In both cases i get only pure black frames.
I post the problem for both cameras because i’m thinking the problems are related to colorspace translation. BTW What are those floats? FPS??