Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QCamera reports no support for QCamera::CaptureVideo mode

$
0
0
I am trying to work with Qt 5.0.1 using a ViewFinder and to capture video from a webcam similar to that of the Camera multimedia example. Both in my application AND in the Camera example, the Camera device returns FALSE to camera->IsCaptureModeSupported(QCamera::CaptureVideo); I have tried a few different webcams including the built-in one on my Asus laptop. I have MANY encoding codecs installed but they also come back from: qDebug() << “Supported video codecs:” << recorder->supportedVideoCodecs(); and qDebug() << “No. of supported video codecs:” << recorder->supportedVideoCodecs().count(); Showing Zero available codecs. The documentation is not at all clear as to what this means, is it a codec problem that prevents the capture mode from being supported or the other way around? There is also no documentation on what PlugIns (if any) are needed to support capture of video on Windows or Linux platforms. I suspect there are some to support using video codecs but its not clear and I have tried to build the WMV plugin and AVFoundation but both fail to build with unfound Interface errors. Detailed suggestions and information would be greatly appreciated.

Viewing all articles
Browse latest Browse all 18427

Trending Articles