Android. What is the maximum mediarecorder loading?
Android. What is the maximum file size that is set for setMaxFileSize regarding Androids mediarecorder? I know this is somewhere between 4147483650 and 5147483650. Why is there a limit in the first place?
I write to the SDCARD detecting the size of the card space before we launch.
"ERROR / AuthorDriver (31): setParameter (max-filesize = 7270309850) failed with a result of -5" "ERROR / AuthorDriver (31): Ln 903 handleSetParameters (" max-filesize = 7270309850 ") error" "ERROR / AndroidRuntime ( 409): java.lang.RuntimeException: setMaxFileSize failed. "
a source to share
I've tried GS5, Hauwei Y550, Note 3 and they all fail to record files longer than 4096MB (even with their official camera app). This limits 1080p video to 35 minutes and 4K video to less than 20 minutes. The reason is that Shane-Kirk (excluding 32-bit).
I have opened an enhancement issue in the Android source code with all the details, if you are interested please consider sticking a main role to it, the more likely they will make a patch for AuthorDriver.cpp.
a source to share