difficulties writing long term intervall recordung to disk

Bug #571423 reported by Tilman Bischoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ucview
New
Undecided
Arne Caspari

Bug Description

I wanted to set up a surveilancejob that captures 1 picture per second to disk. The whole job was intended to grab for 48 hours.
Al setups i have tried failed to do the job.
In detail:
1st setup: storing as jpeg failed after some hundred pictures as ucview freezed. this happened several times
2nd setup: png failed too was to slow to encode and write, so wrote only every 3-4seconds a png fle
4th setup: bmp woked but has frozen too after several hundred images
5th setup: trying to use ogg videofiles. This worked but stopped when filesize od the ogg exceded the 2 GB barrier (after about 6 hours)

Hardware: acer aspire one netbook, 1GB Ram, Atom 1,6GHz, Webcam: logitech quickcam pro 9000
Capture Size 800*600 pix
Ubuntu Karmic Koala 9.10 netbookremix.

Do you have any idea how to get the jpg or bmp save option fixed?

Thanks in advance

Changed in ucview:
assignee: nobody → Arne Caspari (arne-datafloater)
Revision history for this message
Arne Caspari (arne-datafloater) wrote :

While this is a valid bug that needs to be investigated, I would say that UCView is probably not the best way for your setting. IMHO, a small python script ( using python-unicap ) would be better suited for this job.

With UCView, even if it would run through the 48 hours, you would most likely run into issues when there are lots of files in a single directory ( file access will get very slow in this case ). If you know a little bit of Python, you can easily write a script that saves an image file each second, limiting the number of files in each directory to about 1000 or so. There are examples in the unicap source repository that should give a good starting point.

Revision history for this message
Tilman Bischoff (tilman-bischoff) wrote :

Thank you,

I will try to get it set up with help by a colleague.
Do you see any chance to overcome the 2GB limit for the ogg videofile just by programming a file split every 2 GB so that ucview writes automatically a numbered sequence of ogg files?

regards Tilman

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.