<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Well, I don't know if I was on 'video'
      group but I did the addition.  I checked the file you sent me and
      it works. However, for the moment, I have 3 questions:<br>
      <br>
      - If I don't activate the device in the right side of the patch,
      nor Blender nor VLC can get the image from /dev/video1 (VLC shows
      errors on console, Blender says nothing, but it makes black
      texture) Why is like that? S<span id="result_box"
        class="short_text" lang="en"><span class="hps">upposedly</span></span>,
      being pix_record there and activated, I should get from where I
      want...<br>
      <br>
      - Look at the attached image: why the video is vertically
      inverted? I don't know about GEM, but I didn't find any object
      that do that.<br>
      <br>
      - How the patch should be if I want to send the GEM window to
      loopback? I mean, not only the color and vertical inverted video,
      but the whole window...<br>
      <br>
      Thank you very much!<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      El 22/04/15 a las 11:14, Antoine Villeret escibió:<br>
    </div>
    <blockquote
cite="mid:CAGn5wNddgAt4bNrztXC+FAdHfdO6PwFSCjLOzqqprEsb9PFctw@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true" 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 moz-do-not-send="true"
              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 moz-do-not-send="true" href="mailto:Pd-list@lists.iem.at"
              target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
            UNSUBSCRIBE and account-management -> <a
              moz-do-not-send="true"
              href="http://lists.puredata.info/listinfo/pd-list"
              target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>