difficulties writing long term intervall recordung to disk
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) |
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.