On 7/23/07, <b class="gmail_sendername">Derek Holzer</b> &lt;<a href="mailto:derek@umatic.nl">derek@umatic.nl</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
A couple questions:<br><br>First: I assume that reading images from [pix_buffer] is less CPU<br>intensive than decoding a video file with [pix_film]. Is that true?</blockquote><div><br>Yes.&nbsp; Reading and writing a pix_buffer is at most a memory copy operation.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Second (and assuming the first statement is true): is there a way to<br>dump a whole video into [pix_buffer] without doing it frame-by-frame?
</blockquote><div><br>On OSX you can load a compressed video file into RAM using the &#39;ram&#39; message.&nbsp; This will use less memory than pix_buffer but still use CPU for decoding the video.&nbsp; <br></div><br></div><br>