PDA

View Full Version : Can smartphones shoot long videos?



azangru
July 31st, 2012, 05:20 PM
Digital camerals are usually capable of recording videos, sometemis even in full HD, but are seriously limited in the allowed length of the recorded videos since 1) they use FAT32 file systems with the 4GB size limit per file, and 2) the ability to record videos 30 minutes long or longer officialy turns a digital camera into a digital camcorder, which attracts higher taxes and requires the manufacturer to pay for certain codec licences.

So does anybody know how it is with the smartphones? From what I've googled, Android smartphones use ext4, so the file size limitation is irrelevant. Can these phones record videos longer that 30 minutes or does this restriction apply to them as well?

ssam
July 31st, 2012, 05:27 PM
my nokia n900 (running maemo) claims to be able to record for 99 minutes.

azangru
July 31st, 2012, 05:53 PM
my nokia n900 (running maemo) claims to be able to record for 99 minutes.

Wow, I have Nokia n900 too. Never checked its tech specs on video though.

But n900's internal storage is formatted in Fat32. Will Android phones with ext4 do better?

ssam
July 31st, 2012, 06:24 PM
i left it recording for 50 minutes, which made a 1.3 GB file. it got quite warm and used a lot of battery.

if you are up for a bit of tinkering i am sure you can reformat the file system on an n900 to ext4 ( http://talk.maemo.org/showthread.php?t=71653 ). You could also stream from the webcam directly to a file using gstreamer ( http://talk.maemo.org/showthread.php?t=46046 ), which would let you control the format and compression, and probably get you past the 99 minute limit.

oldsoundguy
August 1st, 2012, 02:59 AM
fat 32 is dos or Windows based .. ext4 is Linux based (Android is Linux based) .. they are non compatible.

azangru
August 2nd, 2012, 01:57 AM
if you are up for a bit of tinkering i am sure you can reformat the file system on an n900 to ext4 ( http://talk.maemo.org/showthread.php?t=71653 ). You could also stream from the webcam directly to a file using gstreamer ( http://talk.maemo.org/showthread.php?t=46046 ), which would let you control the format and compression, and probably get you past the 99 minute limit.

I turned on the camera on my n900 and switched to the video mode. Then I cycled through different video quality options. There are three: high, medium and low. I am not sure what each other means, but I would expect that the low quality video will take less space. However, with all three quality settings the maximum length of the video recording remained the same - 99 minutes and 59 seconds.

So I believe in Nokia case it's the software that sets the time limit, not the file size.

Lymphocyte
August 2nd, 2012, 02:31 AM
beware not all android devices use ext4, my kindle fire has its storage formatted fat32 (blame amazon)

alexfish
August 2nd, 2012, 04:06 AM
http://news.bbc.co.uk/media/images/40005000/jpg/_40005936_pedroso.jpg

ssam
August 2nd, 2012, 03:38 PM
I turned on the camera on my n900 and switched to the video mode. Then I cycled through different video quality options. There are three: high, medium and low. I am not sure what each other means, but I would expect that the low quality video will take less space. However, with all three quality settings the maximum length of the video recording remained the same - 99 minutes and 59 seconds.

So I believe in Nokia case it's the software that sets the time limit, not the file size.

i suspect that its just the camera app limiting it. did you try with the gstreamer command?

something like

gst-launch v4l2camsrc device=/dev/video0 ! avimux ! filesink location=/media/mmc1/test.avi

(you may need to apt-get install gstreamer-tools). you can put a huge number of interesting things in gstreamer pipeline. try searching for gst-launch at http://talk.maemo.org/