How can I get the best performance out of my CPU?

    Jul 27 2013 | 1:12 pm
    I cannot for the life of me figure out how to keep the integrity of my video/image files while simultaneously getting the best performance out of my CPU. I have attached the program I'm working on. Currently, I am strictly concerned with the video portion of the program. I am using a object to bang through images as if they were frames of a movie. I'm using 'loadram' to read the images from memory as opposed to disk, but I'm using a high resolution because I do not want grainy images. Is there a way keep resolution without killing the CPU? Thanks for all the help!

    • Jul 31 2013 | 4:30 pm
      If anyone is having the same problem I think I found a cure. Using Jpeg files that are 720 X 480 resolution on a Macbook Pro (2.53 Ghz Intel, 4GB memory), I have achieved 8% - 11% CPU usage on my activity monitor by using Have a look at the patch I've attached. See if you get the same results.
    • Aug 01 2013 | 9:16 am
      There's something you can try to optimize your patch.
      First of all, you should try using a single [qmetro] object, using [send] and [receive] to route the bangs, and [speedlim] to change speed where you need.
      I also noticed you (correctly) use uyvy as colormode. The highest quality method (according to what you read here: to send uyvy video to GPU is using the "cc.uyvy2rgba.jxs" shader, adding "@dest_dim 2 1" in (see below)
      Also, I'm wondering if using the photo-jpeg codec for your videos in combination with the "frame" message to would be more efficient than loading a different files for every should have a try.
      Or you can try using, which seems to give better performance than, even with non-HAP videos (don't know about stability and reliability, though).
      And, last but not least, have you checked the classic Vade's optimization hints?
    • Aug 06 2013 | 3:22 pm
      Wow, great tips! I successfully routed my videos to the video card GPU. I'm now down to a little over 10% CPU processing while running two quicktime videos. Thanks so much for your help!