<div dir="ltr"><div><div><div><div>Hello list,<br><br></div>I&#39;m working on a small project wich is almost finished, <br><br>I try to make it the less cpu expensive possible because it runs on a shitty computer wich was made for this project, it&#39;s a homemade one piece computer&amp;sceen, made with lcd display and desktop computer and a homemade woodboxe, <br>

<br>this would be the 2nd or 3rd version of this &quot;project&quot;, this is an old one with many tv s <a href="http://vimeo.com/51389641">http://vimeo.com/51389641</a><br><br></div>1 / the idea is to record 20 frames from webcam everytime somebody click a button,<br>

</div>2 / save them as a sequence of 20 frames on disk,<br></div>3 / then display randomly each sequence looping for let say 4 seconds<br><div><div><div><br><br></div><div>So what I do in record mode is feed a pix_buffer write with a pix_video,<br>

</div><div>the with the pix_buffer write feed a pix_write wich record something like seqxxx_$1.jpg ($1, from 0 to 19)<br><br></div><div>this solutions after different test with other , came out as the best one for a correct framerate<br>

</div><div><br></div><div>and in random display mode I feed avery 4 seconds the pix_buffer directly with a looping $1 from 0 to 19 message &quot;file seqxxx_$1.jpg $1&quot;.<br><br></div><div>I hope you get !<br><br></div>

<div>So my problem would be that I use a pix_buffer for all my actions almost, and that it open files and don&#39;t close connections, in 0.42 I found that it&#39;s a known problem, and I read that 0.43 had this sys_close() ability, so I switched to 0.43 but I don&#39;t know use this function, how can I close all opened files ?<br>

<br></div><div>thanks you !<br></div></div></div></div>