[英]How to increase the duration of Video recording in android?
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. 我使用MediaStore捕获视频,但是它最多只能录制8秒的视频,任何人都可以帮助我增加视频的持续时间。 I am using android 2.2.
我正在使用android 2.2。
See EXTRA_DURATION_LIMIT 见EXTRA_DURATION_LIMIT
Specify an EXTRA_DURATION_LIMIT parameter in the MediaStore.ACTION_VIDEO_CAPTURE
Intent. 在
MediaStore.ACTION_VIDEO_CAPTURE
意图中指定EXTRA_DURATION_LIMIT参数。
From StackOverflow - Max duration for capture video on android From StackOverflow-在Android上捕获视频的最大时长
intent.putExtra("android.intent.extra.durationLimit", 30000);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.