is there a way to do these screenshots such that they don't actually show up on a screen visible to the user i.e I don't have to show the raw Pd patch to the user, only the mix? This is a 2-headed machine (one machine --- I'll use 2 if I absolutely have to) and the plan is to show a Gem or pdp window fullscreen on one head and a pdp window fullscreen on the other. This leaves me not sure where to put the Pd patch for the screenshots.
On Mon, Aug 30, 2010 at 10:44 AM, IOhannes m zmoelnig zmoelnig@iem.atwrote:
On 2010-08-30 17:04, John Harrison wrote:
I'd like to take a patch from a pd window and mix it live with a Gem or
pdp
window. pdp_capture would have been the ticket, but I can't get it to compile and looking at the archives of this list, it doesn't seem like others have had luck with it either. Any other ideas for me?
a bit complicated, but you can do that by doing screenshots with gstreamer, send it to a videoloopback device and read that (with pdp, Gem, GridFlow or whatelse)
- get v4l2loopback (http://code.google.com/p/v4l2loopback/)
compile, install, load the module
- get gst-v4l2loopback (http://github.com/umlaeute/gst-v4l2loopback)
compile (need gst-plugin-base-dev), install
run the gstreamer-pipeline, e.g. $ gst-launch ximagesrc use-damage=false startx=0 starty=0 endx=640 endy=480 ! queue ! ffmpegcolorspace ! v4l2loopback
access the video using [pix_video], [pdp_v4l2] [#camera] or cat
running here. this of course only grabs a portion of the screen, rather than a window and track that...
fgmadfs IOhannes