Only 2GB video file is recorded

Bug #1611349 reported by PAVUK on 2016-08-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
camera-app (Ubuntu)
Undecided
Unassigned

Bug Description

When video is being recorded maximum file size is 2GB. After reaching 2GB file size camera is pretending it is recording but no data is written to the file.
For 720p video about 1:20 is recorded and recording goes for about 2 hours.

There is also other potential issue (which I could not verify) that recording will crash after FAT32 4 GB file size limit is reached.

TenLeftFingers (tenleftfingers) wrote :

I'm going to try to reproduce this. To clarify, can you say that the 2GB limit was *not* caused by disk / partition getting full?

In the terminal you can run:
df -h

and it will tell you what percentage full each partition is. I believe when I had an issue where the camera was warning me about space, it was the /userdata partition that was 100% full. Moving stuff to the SD card rectified it.

So again, in summary, can you say that the 2GB limit was not caused by the disk or one of the partitions getting full?

PAVUK (marek-antozi) wrote :

It was not caused by partition getting full nor filesystem limit.

Changed in camera-app (Ubuntu):
status: New → Confirmed

Confirmed. Tested on a bq e4.5 running OTA12. Left camera running.

Currently at 45m45s and the output file is:-

-rw-r--r-- 1 phablet phablet 2145943552 Sep 1 12:25 video20160901_114114524.mp4

-rw-r--r-- 1 phablet phablet 2.0G Sep 1 12:25 video20160901_114114524.mp4

However, in my case I am writing to an sd card, so thought it might be a 2GB limit on the partition.

Testing this, I ran:-

$ dd if=/dev/zero of=/media/phablet/4332-3D21/testfile bs=1M count=3000

-rw-r--r-- 1 phablet phablet 3.0G Sep 1 12:42 testfile

Which proves that the filesystem can cope with a >2GB file. Also, partition isn't full:-

Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk1p1 30G 18G 12G 62% /media/phablet/4332-3D21

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers