由网友(给虚情ヽ盛装打扮)分享简介:我用的是MediaStore捕获视频,但它会录制视频高达只有8秒,任何人都可以帮助我提高视频的持续时间。我使用的Android 2.2。I use the MediaStore to capture the video, but it will record the video upto 8 seconds on...
我用的是MediaStore捕获视频,但它会录制视频高达只有8秒,任何人都可以帮助我提高视频的持续时间。我使用的Android 2.2。
I use the MediaStore to capture the video, but it will record the video upto 8 seconds only ,can anyone help me to increase the duration of video. I am using android 2.2.
推荐答案
见的 EXTRA_DURATION_LIMIT
在指定的 MediaStore.ACTION_VIDEO_CAPTURE
意向的EXTRA_DURATION_LIMIT参数。
Specify an EXTRA_DURATION_LIMIT parameter in the MediaStore.ACTION_VIDEO_CAPTURE
Intent.
从StackOverflow - 最大持续时间捕捉视频的Android
intent.putExtra(android.intent.extra.durationLimit,30000);
相关推荐
最新文章