I ran the pix_multiblob example on the same 640x480 clip on CoreDuo, G5 and Xeon CPUs at 2 Ghz and it destroys all of those processors. I guess it was designed to work on really low resolutions since none of the current CPUs can handle full sized standard def video as the code is written.
<br><br>If the code could be written without the numerous function calls and int to float to int conversions in the processing loop it would be much faster.<br><br><div><span class="gmail_quote">On 5/14/07, <b class="gmail_sendername">
<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a></b> <<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tried to use the Gem from the latest pd extended autobuilds and I have also compiled my own from<br>CVS with the same results. If you can point me in the right direction on how to get this going I would<br>apreciate it. BTW I dont know any C or C+ but I am willing to give it a go.
<br>Thanks,<br>Alain<br>><br>> From: "chris clepper" <<a href="mailto:cgclepper@gmail.com">cgclepper@gmail.com</a>><br>> Date: 2007/05/14 Mon AM 10:56:03 EDT<br>> To: "<a href="mailto:nosehair911@bellsouth.net">
nosehair911@bellsouth.net</a>" <<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a>><br>> CC: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>> Subject: Re: [PD] pix_multiblob cpu usage
<br>><br>> pix_multiblob is not the most efficient code but it should run at that low<br>> resolution. Where did you get the GEM binary? It could be built without<br>> optimization.<br>><br>> On 5/11/07,
<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a> <<a href="mailto:nosehair911@bellsouth.net">nosehair911@bellsouth.net</a>> wrote:<br>> ><br>> > I made a 400x300 motion JPEG-a movie 15 fps with 5 solid blue circles
<br>> > moving on a black background<br>> > to test pix_mutiblob. I open it up with pix_film, flip it with pix_flip<br>> > and send it to pix_multiblob. I suddenly<br>> > notices PD getting very, very slow. When I look at the cpu usage in
<br>> > activity monitor (if you can believe<br>> > activity monitor) I get 100-104% cpu usage. I cant do anything else in PD<br>> > because PD gets so slow. I<br>> > am using a dual 2Ghz G5 with ATI Radeon 9800 XT and 3GB of internal
<br>> > memory. Is this normal? What<br>> > can I do to lower cpu usage? What else can I use within Gem to get the<br>> > same results? I eventually want<br>> > to be able to track 20-30 objects but It looks like it would be imposible
<br>> > at this rate.<br>> > Thanks,<br>> > Alain<br>> ><br>> ><br>> > _______________________________________________<br>> > <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list
<br>> > UNSUBSCRIBE and account-management -><br>> > <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>> ><br>><br>><br><br></blockquote></div>
<br>