Hi Peter,<br>        I am using the apple intermediary codec in .mov format. Someone here on the list recommended it. I was unable to convert to motion- or photo-jpeg. The conversion would be almost done and then interrupted by an error message.<br>
<br>-Stephan<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 9:13 AM,  <span dir="ltr">&lt;<a href="mailto:news@petervenus.de" target="_blank">news@petervenus.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:Verdana;font-size:12.0px"><div>Hello!<br></div><div><br></div><div>what video codec are you using?<br></div><div>in my experience, a big issue when playing back video with gem,<br></div><div>comes from the codecs and container, resulting in extreme differences in cpu-load.<br>
</div><div>i found, that mov-container work way better than avi-container, even though<br></div><div>the same codec is used and packed in the container.<br></div><div>try  converting your videos to a motion-jpeg codec packed in a quicktime-mov.<br>
</div><div>you could use mpeg-streamclip [1] for that purpose on win /mac machines or ffmpeg on linux.<br></div><div><br></div><div>[1] <a href="http://www.squared5.com/" target="_blank">http://www.squared5.com/</a>  free tool for video conversion<br>
</div><div><br></div><div>regards, peter <br>
<br></div><div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
    <div style="margin:0 0 10px 0">
        <b>Gesendet:</b> Mittwoch, 27. Februar 2013 um 23:55 Uhr<br>
        <b>Von:</b> &quot;Stephan Elliot Perez&quot; &lt;<a href="mailto:dreamoftheshoreofanotherworld@gmail.com" target="_blank">dreamoftheshoreofanotherworld@gmail.com</a>&gt;<br>
        <b>An:</b> &quot;Cyrille Henry&quot; &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;<br>
        <b>Cc:</b> <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
        <b>Betreff:</b> Re: [PD] file format for GEM
    </div><div><div class="h5">
    <div name="quoted-content">
        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>&lt;<a href="http://dreamoftheshoreofanotherworld@gmail.com" target="_blank">dreamoftheshoreofanotherworld@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">What is a shader, and how do I use it?<div><div><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 7:25 PM, Cyrille Henry <span>&lt;<a href="http://ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex"><br>
<br>
Le 27/02/2013 19:17, Stephan Elliot Perez a écrit :<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
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 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex"><div>
<br>
<br>
On Tue, Feb 26, 2013 at 10:16 PM, Cyrille Henry &lt;<a href="http://ch@chnry.net" target="_blank">ch@chnry.net</a> &lt;mailto:<a href="http://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="http://thomas@residuum.org" target="_blank">thomas@residuum.org</a> &lt;mailto:<a href="http://thomas@residuum.org" target="_blank">thomas@residuum.org</a>&gt; &lt;mailto:<a href="http://thomas@residuum.org" target="_blank">thomas@residuum.org</a> &lt;mailto:<a href="http://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="http://Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="http://Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; &lt;mailto:<a href="http://Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="http://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="http://Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> &lt;mailto:<a href="http://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>

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