0

So (I havent tried yet) but it somehow seems that video for linux 2 will work... But I wonder is it possible to do such thing with for pure qt libs?

Rella
  • 62,177
  • 103
  • 350
  • 621

1 Answers1

1

Install Qt Mobility QtMultiMediaKit extension (libqtm-multimedia-dev package) and then use QCamera in conjunction with QCameraImageCapture to capture frames. To activate the front-facing secondary camera, construct your camera like this:

QCamera *camera = new QCamera(QCamera::availableDevices()[1]);
laalto
  • 144,748
  • 64
  • 275
  • 293
  • As I see such lib would work under windows and linux and mac http://doc.qt.nokia.com/qtmobility-1.1.0-beta/index.html so could you please post your correct answer here http://stackoverflow.com/questions/4637594/how-to-get-a-list-video-capture-devices-names-web-cameras-using-qt-crossplatfo – Rella Jan 14 '11 at 17:09