I am trying to capture video using a custom app on windows phone 8.
I am following the guidelines as per the link here.
I am clueless on how to set the resolutoin for the captured video. Currently it is being recorded at a resolution of 640x480 by default.
You are using the
VideoCaptureDevice
class which is the Windows Phone 7.5 API for recording video. That API by design is limited to 640*480.If you want more control over the recorded video, you should use the new Windows Phone 8 API:
AudioVideoCaptureDevice
which has aSetCaptureResolutionAsync
method. Of course, it will require a Windows Phone 8 device.