Cropping live webcam video

I have an HD webcam feed that I need to crop to a window of just 960px wide x 1080px high. There is a crop() method for ofImage but nothing similar for video I can see. In order to crop (without distorting) video do I need to use the Videograbber class in combination with getPixels or is there an easier solution?


grabber.getTexture().drawSubsection(0,0,960,1080,cropped_x, cropped_y, cropped_width, cropped_height);

should do the trick without using getPixels() that sends pixels back to the CPU…