Android的 - 什么是mediarecorder的最大MAXFILESIZE? [英] Android - What is mediarecorder's maximum maxfilesize?
问题描述
的Android - 什么是setMaxFileSize可以在相对于机器人mediarecorder被设置为最大文件大小?我知道这是什么地方4147483650和5147483650.之间为什么会出现在首位?
限制我上记录到SD卡,检测该卡的空间的大小,我们运行之前
ERROR / AuthorDriver(31):的setParameter(MAX-文件大小= 7270309850)失败,结果-5
ERROR / AuthorDriver(31):LN 903 handleSetParameters(最大文件大小= 7270309850)错误
ERROR / AndroidRuntime(409):了java.lang.RuntimeException:setMaxFileSize失败了。
为什么会出现在第一个限制
地点?
块引用>SD卡使用MSDOS( FAT16 )文件系统,其中有一个文件大小限制。这不是一个Android限制,但是SD卡在一般的限制。
Android - What is the maximum file size that setMaxFileSize can be set to in respect to Androids mediarecorder? I know it's somewhere between 4147483650 and 5147483650. Why is there a limit in the first place?
I'm recording on to a SDCARD, detecting the size of the cards space before we run.
"ERROR/AuthorDriver(31): setParameter(max-filesize = 7270309850) failed with result -5" "ERROR/AuthorDriver(31): Ln 903 handleSetParameters("max-filesize=7270309850") error" "ERROR/AndroidRuntime(409): java.lang.RuntimeException: setMaxFileSize failed."
解决方案Why is there a limit in the first place?
SD cards use the msdos (FAT16) filesystem, which has a file size limit. This is not an Android limitation, but a limitation of SD cards in general.
这篇关于Android的 - 什么是mediarecorder的最大MAXFILESIZE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!