Hi,
I am having some troubles with QMediaRecorder and QCamera. I am trying to start video capturing but simulator or Nokia C7 phone does not find any video codecs. supportedVideoCodecs() gives empty list in both devices. If i am trying to record audio supportedAudioCodecs() gives pcm in simulator and pcm and amr in phone. Also when I try isCaptureModeSupported(QCamera::CaptureVideo) it gives false value on simulator and phone. I am using Ubuntu 10.10 and Qt SDK 1.1 Beta
Some piece of my code:
also in .pro file i have setCode:QByteArray cameraDevice = QCamera::availableDevices()[0]; camera = new QCamera(cameraDevice); camera->setCaptureMode(QCamera::CaptureVideo); recorder = new QMediaRecorder(camera); camera->load(); viewfinder = new QCameraViewfinder(this); camera->setViewfinder(viewfinder); camera->start(); ... recorder->record();
sincerely,Code:CONFIG += mobility MOBILITY += multimedia symbian { TARGET.CAPABILITY += ReadDeviceData WriteDeviceData AllFiles UserEnvironment }
Arto



