I've been trying to overcome the limitation for which one cannot record video more than 176x144 in size, with the integrated camera app.
Windows mobile 2005 comes with intrinsic support for camera-enabled devices, and there are some samples in the respective SDKs that exploit these functionalities.
In the smartphone sdk, there's CeCamera that uses the integrated capture dialog to record video.
I can configure the size, and actually managed to record a 352x288 video, but the problem is that it does with very slow framerate, and the output video looks rugged, with strange vertical lines.
Also compression takes a lot.
In the pocketpc sdk, there's CameraCapture that uses a different approach: it uses DirectShow to read from the camera, simply opennig the device "CAM1:" on the phone.
After a little adaptation to the smartphone platform, i tested it on my SP5m.
This way, the capturing framerate is very high, almost 30fps I can say, but there weren't integrated options (in the program) to set the capturing size and the output was a 176x144 ASF file.
Compression takes forever, however.
Ther question is as follows:
The source device ins a DirectShow filter. CameraCapture, in its initialization code, sets its property "VCapName" to the value "CAM1:".
I couldn't find documentation regarding to these properties ANYWHERE...
There must be some properties dealing with capture size, or capture framerate, for example VCapSize or VCapFPS...
Does someone know??
The question evem is more broader as this is a DirectShow matter, and not of strict Smartphone programming...
Many thanks!!
enrico
Windows mobile 2005 comes with intrinsic support for camera-enabled devices, and there are some samples in the respective SDKs that exploit these functionalities.
In the smartphone sdk, there's CeCamera that uses the integrated capture dialog to record video.
I can configure the size, and actually managed to record a 352x288 video, but the problem is that it does with very slow framerate, and the output video looks rugged, with strange vertical lines.
Also compression takes a lot.
In the pocketpc sdk, there's CameraCapture that uses a different approach: it uses DirectShow to read from the camera, simply opennig the device "CAM1:" on the phone.
After a little adaptation to the smartphone platform, i tested it on my SP5m.
This way, the capturing framerate is very high, almost 30fps I can say, but there weren't integrated options (in the program) to set the capturing size and the output was a 176x144 ASF file.
Compression takes forever, however.
Ther question is as follows:
The source device ins a DirectShow filter. CameraCapture, in its initialization code, sets its property "VCapName" to the value "CAM1:".
I couldn't find documentation regarding to these properties ANYWHERE...
There must be some properties dealing with capture size, or capture framerate, for example VCapSize or VCapFPS...
Does someone know??
The question evem is more broader as this is a DirectShow matter, and not of strict Smartphone programming...
Many thanks!!
enrico







Sign In
Create Account


Back to top











