I attempted to record a long video with my Nexus 5, only to discover that the video stopped capturing partway through. I searched for a possible explanation, but nothing I found seems to match this particular case:
- It doesn't appear to be a file size limitation, because the recording stopped at 3891MB (4,081,007,519 bytes), a ways off from 4GB.1
- It doesn't appear to be a storage capacity limitation, as I had ~10 GB of free storage before the recording began
- It doesn't appear to be a time-based limitation, as the recording stopped at 31:50, not a "rounded" number like 30:00 or 60:00
- It doesn't appear to be a battery limitation, as I had ~47% battery after the recording had finished
- I am not inclined to suspect a heat limitation, as I don't remember the phone feeling particularly warm when I picked it up -- although that wasn't until a couple minutes later
1 Additionally, the Nexus 5 stores to internal memory rather than an SD card, and I understand that the filesystem is ext4, which supports files well over 4GB
For what other reason would video stop recording? And how could I prevent this issue from occurring in the future?
This question and this question suggest installing a separate camera app; that will be the next thing I try. However, both of those questions solve a slightly different problem and do not offer an explanation as to why my video stopped recording.
For more information: I am running OS version 4.4.3 and I am using the default camera app. When I returned to the phone, the screen was still on, the app was still running, and I was able to record more video. The video saved properly and does not appear to be corrupt. I am fairly certain that the screen was not touched during the recording process. I was recording in 1080p from the back-facing camera.