[quote]Do you call QCamera::start() after QCamera::setCaptureMode?
If you do there should be a bug in the backend implementation.
[/quote]
Yes. I didn’t have error logging on earlier but the errors I get now are, in order of appearance:
Could not get/set settings from/on resource.
Could not get/set settings from/on resource.
Could not negotiate format
I also get this in the Camera example application when I click on the Video tab.
Edit: It's worth mentioning that trying to record video in Cheese just locks the application.
[quote]
Currently there are two gstreamer camera backends on linux:
the camerabin based one (you have to install gst-plugins-bad and gst-photography, this backend is used on N900), and the mediacapture backend which builds capture pipeline itself.
The advanced camera controls like QCameraExposureControl require gst-photography
and are available only in the camerabin case.
Could you try to install gst-photography and reconfigure/rebuild qtmobility?
But I don't expect QCameraExposureControl to be very useful in your case, since
v4l2src doesn't support the photography API for webcams yet.
Those controls are much more useful on mobile devices, where camera module/driver provides much more control.
[/quote]
Is gst-photography its own package or is it part of gst-plugins-bad? I couldn’t find the package, but I found some files in the MeeGo Multimedia git repo that seem to indicate that it’s part of gst-plugins-bad. I installed gst-plugins-bad, though I suspect the version isn’t recent enough (0.10.14ubuntu1.1). If I could successfully set up a Meego chroot with Qt Mobility and camera working, I’d be happy to work there but so far I haven’t managed to get my app working. An odd thing is that when I was working against Qt Mobility 1.0.0beta1, I could get some camera settings like Focus Mode, though only AutoFocus was available and the webcam in reality only has manual focus.
Thanks,
Fredrik