How to set video record resolution in Windows Phon

2019-05-24 12:29发布

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.

1条回答
Anthone
2楼-- · 2019-05-24 13:07

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 a SetCaptureResolutionAsync method. Of course, it will require a Windows Phone 8 device.

查看更多
登录 后发表回答