[Prev][Next][Index][Thread]

Movies...



On Sun, 28 Jan 1996, Thomas Davis wrote:

> Paul Loomer asks:
> > Any ideas from the crowd?  Either in modifying the algorithm or
> > something about disk i/o to handle this.
> 
> Cache all of the frames in memory, and then write them out when done?  ie
> create a linked list of frames, with time stamps, and allow one to edit
> them/display them/write them out.  This is how the movie program under
> Windows appears to work..

Not exactly. I accidentally left my Qcam running time lapse and went to
bed last night (I move around a bit in my sleep...) and when I awoke, 200
MB had been chewed up by temp files from QuickMovie. I also noticed that
it writes to disk every n seconds, as if writing a frame.

With enough swap space, you could just buffer it all, then write it out
later, couldn't you? Or does anyone know a way to get around the kernel
buffering and do a direct write? Maybe we should ask God^H^H^HLinus...

Later,
-B

Brandon High    http://www.ccnet.com/~bjhigh    Down with Big Brother!
bjhigh@ccnet.com      bjhigh@ucdavis.edu      armitage@ece.ucdavis.edu
--
The memory management on the PowerPC can be used to frighten small children.


References: