GrabberWindow allows you to select document windows from any running application and grab the contents, redirecting them to a virtual loopback camera driver.
You may use it in conjunction with GrabberRaster or by itself with CamCamX or other video switcher applications.