A more urgent problem: Although the CPU usage stays under 100 (peak is around 84 with three videos overlapping), there is a substantial amount of lag. If I turn off video processing, a command that should be executed after 30 seconds via the cue list is executed punctually. If I turn it on, the command is 11 seconds late.<br>
<br>I can attach the patch if you like, but I probably will not be able to send the video clips as one attachment.<br><br>Best regards,<br>Stephan<br><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 8:19 PM, Stephan Elliot Perez <span dir="ltr">&lt;<a href="mailto:dreamoftheshoreofanotherworld@gmail.com" target="_blank">dreamoftheshoreofanotherworld@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is a shader, and how do I use it?<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 7:25 PM, Cyrille Henry <span dir="ltr">&lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Le 27/02/2013 19:17, Stephan Elliot Perez a écrit :<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, it works now. For some reason, turning &quot;auto&quot; on and off (with pix_film) causes the video to lag temporarily, but I do not have this problem if I use line-objects to go through the frames. The cpu-usage goes above 100 if I have more than two videos playing at once, but I suppose I don&#39;t need more than two for this project...<br>


<br>
Also, what can I do if I want an additive blend instead of a normal cross-blend?<br>
</blockquote>
<br></div>
i would use a shader for this.<br>
it offer great flexibility, even if it&#39;s a bit harder to begin with.<br>
but that&#39;s the way openGL wants you to do now.<br>
cheers<br>
c<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
<br>
On Tue, Feb 26, 2013 at 10:16 PM, Cyrille Henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;&gt; wrote:<br>
<br>
    hello,<br>
    Gem is mostly design to work on the GPU, and not on the CPU.<br>
    GPU have hundreds of core, they are faster than CPU for image manipulations.<br>
<br>
    pix_add come from the 20th century and should now be avoid since it use cpu not gpu ;-)<br>
<br>
    in order to make a fade transition between 2 videos, you can use transparency on one video.<br>
    add a [alpha] object after Gemhead, and send number between 0 and 1 in the last inlet of the colorRGB object to make the video appear / disapear.<br>
<br>
    cheers<br>
    c<br>
<br>
<br>
    Le 26/02/2013 21:33, Stephan Elliot Perez a écrit :<br>
<br>
        Hello,<br>
                 So, looking at the help file for [pd~], it seems to be primarily for audio. How can I use multiple cores to work purely with GEM?<br>
                  I am trying to have a simple transition between video clips, but if I have two instances of pix_film and then connect them to pix_add, the CPU-ussage skyrockets well above 100... is there a more efficient object for blending two video clips?<br>


<br>
        Best regards,<br>
        Stephan<br>
<br></div><div>
        On Sun, Feb 3, 2013 at 10:54 PM, Thomas Mayer &lt;<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a> &lt;mailto:<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a>&gt; &lt;mailto:<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a> &lt;mailto:<a href="mailto:thomas@residuum.org" target="_blank">thomas@residuum.org</a>&gt;&gt;&gt; wrote:<br>


<br>
             Hi,<br>
<br>
             On 03.02.2013 22:48, Stephan Elliot Perez wrote:<br>
              &gt; I am talking about PD&#39;s CPU meter. I don&#39;t have the impression that PD<br>
              &gt; takes full advantage of 2 quad-core processors. When processing audio,<br>
              &gt; anything over 100 in PD&#39;s meter will lead to glitched audio. I am just<br>
              &gt; wondering if it will be much more when I load other videos and transition<br>
              &gt; between them.<br>
<br>
             Pd will only use one core, and one core for the GUI. There are ways to<br>
             distribute the load over several cores, e.g. [pd~] or use several<br>
             instances of Pd that communicate with each others:<br>
<br></div>
        <a href="http://www.mail-archive.com/__pd-list@iem.at/msg33319.html" target="_blank">http://www.mail-archive.com/__<u></u>pd-list@iem.at/msg33319.html</a> &lt;<a href="http://www.mail-archive.com/pd-list@iem.at/msg33319.html" target="_blank">http://www.mail-archive.com/<u></u>pd-list@iem.at/msg33319.html</a>&gt;<div>

<br>
<br>
             Hth,<br>
             Thomas<br>
             --<br>
             &quot;Spielen Sie Strip Schnipp-Schnapp?&quot; (Adam Weishaupt to Johann<br>
             Wolfgang von Goethe in: Robert Shea &amp; Robert A. Wilson, The Golden<br>
             Apple)<br>
        <a href="http://www.residuum.org/" target="_blank">http://www.residuum.org/</a><br>
<br></div>
             ______________________________<u></u>___________________<br>
        <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt;&gt; mailing list<br>


<br>
             UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;<br>


<br>
<br>
<br>
<br>
        ______________________________<u></u>___________________<div><br>
        <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; mailing list<br></div>
        UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/__listinfo/pd-list" target="_blank">http://lists.puredata.info/__<u></u>listinfo/pd-list</a> &lt;<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a>&gt;<br>


<br>
<br>
</blockquote>
</blockquote></div><br>
</div></div></blockquote></div><br>