如何在 Windows Phone 8 中设置视频录制分辨率. [英] How to set video record resolution in Windows Phone 8.
问题描述
我正在尝试使用 Windows Phone 8 上的自定义应用程序捕获视频.
I am trying to capture video using a custom app on windows phone 8.
我遵循 链接在这里.
我对如何为捕获的视频设置分辨率一无所知.目前默认以640x480的分辨率录制.
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.
推荐答案
您正在使用 VideoCaptureDevice
类,它是用于录制视频的 Windows Phone 7.5 API.该 API 根据设计限制为 640*480.
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.
如果您想更好地控制录制的视频,您应该使用新的 Windows Phone 8 API:AudioVideoCaptureDevice
有一个 SetCaptureResolutionAsync
方法.当然,它需要 Windows Phone 8 设备.
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.
这篇关于如何在 Windows Phone 8 中设置视频录制分辨率.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!