<div dir="ltr">Hi, <br><br><div>the Iohannes' instructions are still relevant but there are few things you might pay attention to :</div><div>- be sure you belong to "video" group, if you got an error like "[pix_record] : can't open /dev/video1" this could be the issue (if /dev/video1 exists of course)</div><div>- set and start the capture *before* setting the device capture. The v4l2device is undefined (nor a capture or a tuner device) until you send the first frame to it.</div><div><br></div><div>here is attached a sample patch that works with current Gem from git.</div><div><br></div><div>best </div><div><br></div><div>antoine</div><br><div class="gmail_quote">Le mer. 22 avr. 2015 à 15:06, Mario Mey <<a href="mailto:mariomey@gmail.com">mariomey@gmail.com</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, there. I'm reviving a mail from 2011... here it is the last of the thread:<br>
<a href="http://lists.puredata.info/pipermail/pd-list/2011-02/086741.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2011-02/086741.html</a><br>
<br>
I was looking for help to use Gem with v4l2loopback.<br>
These mails are the only ones where I found the way to do<br>
it (no other place in internet).<br>
<br>
After installing v4l2loopback kernel module, I did what IOhannes said:<br>
<br>
------------<br>
you should be able to use [pix_record] with v4l2loopback.<br>
just do:<br>
- - create [pix_record]<br>
- - check at the console whether it prints something like "[pix_record]:<br>
backend #1='V4L2'" (this will only happen the first time you create a<br>
[pix_record] object for hygienic reasons)<br>
- - if so, continue<br>
- - set the codec to "v4l2" and the output filename to /dev/video1 (or<br>
whatever your loopback-device is).<br>
something like [codec v4l2, filename /dev/video1, record 1( should do<br>
the trick.<br>
<br>
f<br>
gmasdr<br>
IOhannes<br>
-----------<br>
<br>
Now, there is /dev/video1 (also, /dev/video0 from Webcam). But, when<br>
I try to open that device with VLC, I got this error:<br>
<br>
[0x7fed08000e28] v4l2 demux error: not a video capture device<br>
[0x7fed08000e28] v4l2 demux error: not a radio tuner device<br>
[0x7fed08000e08] v4l2 access error: not a video capture device<br>
[0x7fed18003898] main input error: open of `v4l2:///dev/video1' failed<br>
<br>
I tried to open with Blender, videoOnTexture, but the texture<br>
is black. There's no error messages.<br>
<br>
What am I doing wrong?<br>
<br>
I have Pd-extended 0.44.0-extended-20130808, Ubuntu 14.04.<br>
I don't know how to know Gem version.<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div></div>