|
2011-07-19
, 14:02
|
Posts: 25 |
Thanked: 5 times |
Joined on Jul 2010
|
#2
|
|
2011-11-29
, 15:56
|
Posts: 25 |
Thanked: 5 times |
Joined on Jul 2010
|
#3
|
|
2011-11-30
, 06:34
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#4
|
|
2012-01-02
, 13:01
|
Posts: 2 |
Thanked: 0 times |
Joined on Jan 2012
|
#5
|
I am working on the application exploring Augmented Reality features. I need to get the image/video from the external USB Web-camera (Logitech Webcam C300) that is placed on my head-mounted display.
I can connect Logitech Webcam C300 via h-e-n and show image from it using mplayer:
1) connect webcam to N900 USB port via adapter
2) run h-e-n and make standard actions to init USB webcam
3) mplayer tv:// -tv device=/dev/video2:width=176:height=144
But when I try to choose USB Webcam from my Qt-program, there are 2 cameras available only - "Main Camera" and "Front Camera".
Could you please help me - is it possible to make that QtMobility see the external camera (withiut recompiling QtMobility)?
If no - there must be the "linux way" to work with camera via /dev/video2. Could you please give me a code sample that reads video stream from /dev/video2.
I can connect Logitech Webcam C300 via h-e-n and show image from it using mplayer:
1) connect webcam to N900 USB port via adapter
2) run h-e-n and make standard actions to init USB webcam
3) mplayer tv:// -tv device=/dev/video2:width=176:height=144
But when I try to choose USB Webcam from my Qt-program, there are 2 cameras available only - "Main Camera" and "Front Camera".
Could you please help me - is it possible to make that QtMobility see the external camera (withiut recompiling QtMobility)?
If no - there must be the "linux way" to work with camera via /dev/video2. Could you please give me a code sample that reads video stream from /dev/video2.