<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
ok I got the modules to load by reloading the kernel image<br>
<blockquote>sudo apt-get install --reinstall linux-image-`uname -r`<br>
sudo depmod -a<br>
</blockquote>
now Yves solution works with pdp_v4l. <br>
<br>
although modprobe v4l2loopback seems to work, Iohannes's incantation to
launch the pipeline returns: WARNING: erroneous pipeline: no element
"v4l2loopback"<br>
<br>
also /dev/video3 becomes available when I modprobe v4l2loopback but
nothing can seem to access it --- invalid argument errors.<br>
<br>
Assuming I can configure webcamstudio to autostart with the
configuration I need tho, I should be all set at this point.<br>
<br>
Thanks for help!<br>
<br>
-John<br>
<br>
On 08/30/2010 11:59 PM, John Harrison wrote:
<blockquote cite="mid:4C7C8C1C.8090206@alum.mit.edu" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
bleh I'm failing to get either v4l2loopback or webcamstudio modules to
actually load.<br>
  <br>
I'm running ubuntu Lucid 10.04 with 2.6.32-24-generic kernel<br>
  <br>
v4l2loopback svn builds and
installs ok<br>
  <br>
however, modprobe v4l2loopback returns in dmesg:<br>
  <br>
  <blockquote>[&nbsp;&nbsp; 46.328926] v4l2loopback: disagrees about version of
symbol video_unregister_device<br>
[&nbsp;&nbsp; 46.328929] v4l2loopback: Unknown symbol video_unregister_device<br>
[&nbsp;&nbsp; 46.328996] v4l2loopback: disagrees about version of symbol
video_device_alloc<br>
[&nbsp;&nbsp; 46.328998] v4l2loopback: Unknown symbol video_device_alloc<br>
[&nbsp;&nbsp; 46.329091] v4l2loopback: disagrees about version of symbol
video_register_device<br>
[&nbsp;&nbsp; 46.329093] v4l2loopback: Unknown symbol video_register_device<br>
[&nbsp;&nbsp; 46.329178] v4l2loopback: disagrees about version of symbol
video_device_release<br>
[&nbsp;&nbsp; 46.329179] v4l2loopback: Unknown symbol video_device_release<br>
    <br>
  </blockquote>
similarly, modprobe webcamstudio returns in dmesg:<br>
  <br>
  <blockquote>[&nbsp;&nbsp; 39.281212] webcamstudio: disagrees about version of
symbol video_devdata<br>
[&nbsp;&nbsp; 39.281215] webcamstudio: Unknown symbol video_devdata<br>
[&nbsp;&nbsp; 39.281309] webcamstudio: disagrees about version of symbol
video_unregister_device<br>
[&nbsp;&nbsp; 39.281311] webcamstudio: Unknown symbol video_unregister_device<br>
[&nbsp;&nbsp; 39.281376] webcamstudio: disagrees about version of symbol
video_device_alloc<br>
[&nbsp;&nbsp; 39.281377] webcamstudio: Unknown symbol video_device_alloc<br>
[&nbsp;&nbsp; 39.281446] webcamstudio: disagrees about version of symbol
video_register_device<br>
[&nbsp;&nbsp; 39.281448] webcamstudio: Unknown symbol video_register_device<br>
[&nbsp;&nbsp; 39.281551] webcamstudio: disagrees about version of symbol
video_device_release<br>
[&nbsp;&nbsp; 39.281553] webcamstudio: Unknown symbol video_device_release<br>
  </blockquote>
a reboot doesn't help.<br>
  <br>
-John<br>
  <br>
On 08/30/2010 11:40 AM, <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:ydegoyon@gmail.com">ydegoyon@gmail.com</a>
wrote:
  <blockquote cite="mid:4C7BDEEB.7020303@gmail.com" type="cite">ola, <br>
    <br>
pdp_capture was working once with an old version of ImageMagick <br>
but anyway it was too slow, <br>
so now its compilation is made optional, <br>
it is a bit abandonware.. <br>
    <br>
use webcamstudio instead ( <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://www.ws4gl.org/">http://www.ws4gl.org/</a>
), <br>
it does the same as gstreamer that Iohannes recommends, <br>
but with an interface... <br>
it will output the screenshots to a vloopback device .. <br>
    <br>
about the disposition on the screen, no eye deer .. <br>
    <br>
ahoj! <br>
sevy <br>
    <br>
John Harrison wrote: <br>
    <blockquote type="cite">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. <br>
      <br>
On Mon, Aug 30, 2010 at 10:44 AM, IOhannes m zmoelnig
&lt;<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a> <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:zmoelnig@iem.at">&lt;mailto:zmoelnig@iem.at&gt;</a>&gt;
wrote: <br>
      <br>
&nbsp;&nbsp;&nbsp; On 2010-08-30 17:04, John Harrison wrote: <br>
&nbsp;&nbsp;&nbsp; &gt; I'd like to take a patch from a pd window and mix it live with
a <br>
&nbsp;&nbsp;&nbsp; Gem or pdp <br>
&nbsp;&nbsp;&nbsp; &gt; window. pdp_capture would have been the ticket, but I can't
get <br>
&nbsp;&nbsp;&nbsp; it to <br>
&nbsp;&nbsp;&nbsp; &gt; compile and looking at the archives of this list, it doesn't <br>
&nbsp;&nbsp;&nbsp; seem like <br>
&nbsp;&nbsp;&nbsp; &gt; others have had luck with it either. Any other ideas for me? <br>
&nbsp;&nbsp;&nbsp; &gt; <br>
      <br>
&nbsp;&nbsp;&nbsp; a bit complicated, but you can do that by doing screenshots with <br>
&nbsp;&nbsp;&nbsp; gstreamer, send it to a videoloopback device and read that (with
pdp, <br>
&nbsp;&nbsp;&nbsp; Gem, GridFlow or whatelse) <br>
      <br>
&nbsp;&nbsp;&nbsp; - get v4l2loopback (<a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://code.google.com/p/v4l2loopback/">http://code.google.com/p/v4l2loopback/</a>)


      <br>
&nbsp;&nbsp;&nbsp;&nbsp; compile, install, load the module <br>
&nbsp;&nbsp;&nbsp; - get gst-v4l2loopback
(<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://github.com/umlaeute/gst-v4l2loopback">http://github.com/umlaeute/gst-v4l2loopback</a>)


      <br>
&nbsp;&nbsp;&nbsp;&nbsp; compile (need gst-plugin-base-dev), install <br>
      <br>
&nbsp;&nbsp;&nbsp; run the gstreamer-pipeline, e.g. <br>
&nbsp;&nbsp;&nbsp; $ gst-launch ximagesrc use-damage=false startx=0 starty=0 endx=640 <br>
&nbsp;&nbsp;&nbsp; endy=480 ! queue ! ffmpegcolorspace ! v4l2loopback <br>
      <br>
&nbsp;&nbsp;&nbsp; access the video using [pix_video], [pdp_v4l2] [#camera] or cat <br>
      <br>
      <br>
&nbsp;&nbsp;&nbsp; running here. <br>
&nbsp;&nbsp;&nbsp; this of course only grabs a portion of the screen, rather than a <br>
&nbsp;&nbsp;&nbsp; window <br>
&nbsp;&nbsp;&nbsp; and track that... <br>
      <br>
&nbsp;&nbsp;&nbsp; fgmadfs <br>
&nbsp;&nbsp;&nbsp; IOhannes <br>
      <br>
      <br>
      <br>
_______________________________________________ <br>
      <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Pd-list@iem.at">Pd-list@iem.at</a>
mailing list <br>
UNSUBSCRIBE and account-management -&gt;&nbsp; <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
      <br>
&nbsp;&nbsp; </blockquote>
  </blockquote>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
John Harrison
<a class="moz-txt-link-freetext" href="http://alumni.media.mit.edu/~harrison">http://alumni.media.mit.edu/~harrison</a></div>
</body>
</html>