开发者

Android: Get Supported Video Sizes

Hopefully this is an easy question to answer. How can I get a list of s开发者_运维技巧upported video capture sizes in Android? Also, how can I get a list of supported video capture frame rates? I'm looking for the equivalent to Camera.getParameters().getSupportedPictureSizes(), only for video...

I need a solution that will work with API Level 7, thanks.


For information on supported video size use the API (Camera.Parameter)-

public List<Camera.Size> getSupportedVideoSizes ()

For the FPS I am not really sure but changing the preview fps in the Camera.Parameter might change the FPS of capture as well.. (If it does then you can use the getSupportedPreviewFpsRange() to find out the supported frame rates..)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜