So, I added the  -nomidi -noaudio and -nrt commands as instructed by Mr. Clepper. This seems to help stop lag in Pure Data itself (so cues are executed punctually) when using HD-files.<br>       However, I then converted my files to 1920 x 1080 at 100% using the prores 422 (HQ) codec. The CPU load still climbs to into the 80s and 90s (even over 100 once) with two videos and into the 120s-160s with three.<br>
       Oddly, with the Intermediary Codec, the load is sometimes much lower (in the 50s for two files) but sharply climbs at other moments (higher than with the pro-res codecs).<br>       <br>-Stephan<br><br><br><div class="gmail_quote">
On Sun, Mar 3, 2013 at 10:10 AM, Peter Venus <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">Hello!<br>
i did not know, that you wanted  to playback HD-material.<br>
with HD material, i notice problems as well, also with the mjpeg codec.<br>
<br>
anyone having experience with fullHD and other codecs?<br>
<br>
under OSX i found, that apples ProRes 422 codec works best for that matter. The only thing being, that its comes with final cut.<br>
right now, i am running a show, where i use mjpeg in 720p resolution with no problems for simultaneous playback of 3 videos.<br>
<br>
cheers, peter<br>
<br>
Am 01.03.13 21:39, schrieb Stephan Elliot Perez:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
So, I reduced the resolution of the files from 1920 x 1080 to 800 x 450<br>
with the Apple Photo -Jpeg codec and now I have no lag.<br>
<br>
The loss in quality is of course noticable, but tolerable...<br>
<br>
Thanks again for you help,<br>
Stephan<br>
<br>
On Thu, Feb 28, 2013 at 9:13 AM, &lt;<a href="mailto:news@petervenus.de" target="_blank">news@petervenus.de</a>&gt; wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Hello!<br>
<br>
what video codec are you using?<br>
in my experience, a big issue when playing back video with gem,<br>
comes from the codecs and container, resulting in extreme differences in<br>
cpu-load.<br>
i found, that mov-container work way better than avi-container, even though<br>
the same codec is used and packed in the container.<br>
try  converting your videos to a motion-jpeg codec packed in a<br>
quicktime-mov.<br>
you could use mpeg-streamclip [1] for that purpose on win /mac machines or<br>
ffmpeg on linux.<br>
<br>
[1] <a href="http://www.squared5.com/" target="_blank">http://www.squared5.com/</a>  free tool for video conversion<br>
<br>
regards, peter<br>
<br></div>
  *Gesendet:* Mittwoch, 27. Februar 2013 um 23:55 Uhr<br>
*Von:* &quot;Stephan Elliot Perez&quot; &lt;<a href="mailto:dreamoftheshoreofanotherworld@gmail.com" target="_blank">dreamoftheshoreofanotherworld<u></u>@gmail.com</a>&gt;<br>
*An:* &quot;Cyrille Henry&quot; &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;<br>
*Cc:* <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
*Betreff:* Re: [PD] file format for GEM<div><div><br>
  A more urgent problem: Although the CPU usage stays under 100 (peak is<br>
around 84 with three videos overlapping), there is a substantial amount of<br>
lag. If I turn off video processing, a command that should be executed<br>
after 30 seconds via the cue list is executed punctually. If I turn it on,<br>
the command is 11 seconds late.<br>
<br>
I can attach the patch if you like, but I probably will not be able to<br>
send the video clips as one attachment.<br>
<br>
Best regards,<br>
Stephan<br>
<br>
<br>
On Wed, Feb 27, 2013 at 8:19 PM, Stephan Elliot Perez &lt;<br>
<a href="mailto:dreamoftheshoreofanotherworld@gmail.com" target="_blank">dreamoftheshoreofanotherworld@<u></u>gmail.com</a>&gt; wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
What is a shader, and how do I use it?<br>
<br>
<br>
On Wed, Feb 27, 2013 at 7:25 PM, Cyrille Henry &lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt; wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<br>
<br>
Le 27/02/2013 19:17, Stephan Elliot Perez a écrit :<br>
<br>
  Thanks, it works now. For some reason, turning &quot;auto&quot; on and off (with<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
pix_film) causes the video to lag temporarily, but I do not have this<br>
problem if I use line-objects to go through the frames. The cpu-usage goes<br>
above 100 if I have more than two videos playing at once, but I suppose I<br>
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<br>
cross-blend?<br>
<br>
</blockquote>
<br>
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>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<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:<br>
<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<br>
manipulations.<br>
<br>
     pix_add come from the 20th century and should now be avoid since it<br>
use cpu not gpu ;-)<br>
<br>
     in order to make a fade transition between 2 videos, you can use<br>
transparency on one video.<br>
     add a [alpha] object after Gemhead, and send number between 0 and 1<br>
in the last inlet of the colorRGB object to make the video appear /<br>
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<br>
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<br>
clips, but if I have two instances of pix_film and then connect them to<br>
pix_add, the CPU-ussage skyrockets well above 100... is there a more<br>
efficient object for blending two video clips?<br>
<br>
         Best regards,<br>
         Stephan<br>
<br>
         On Sun, Feb 3, 2013 at 10:54 PM, Thomas Mayer &lt;<br>
<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:<br>
<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<br>
impression that PD<br>
               &gt; takes full advantage of 2 quad-core processors. When<br>
processing audio,<br>
               &gt; anything over 100 in PD&#39;s meter will lead to glitched<br>
audio. I am just<br>
               &gt; wondering if it will be much more when I load other<br>
videos and transition<br>
               &gt; between them.<br>
<br>
              Pd will only use one core, and one core for the GUI. There<br>
are ways to<br>
              distribute the load over several cores, e.g. [pd~] or use<br>
several<br>
              instances of Pd that communicate with each others:<br>
<br></div></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><u></u>&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;<u></u>&lt;<br>


<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">h<u></u>ttp://www.mail-archive.com/pd-<u></u>list@iem.at/msg33319.html</a>&gt;<div>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
<br>
              Hth,<br>
              Thomas<br>
              --<br>
              &quot;Spielen Sie Strip Schnipp-Schnapp?&quot; (Adam Weishaupt to<br>
Johann<br>
              Wolfgang von Goethe in: Robert Shea &amp; Robert A. Wilson,<br>
The Golden<br>
              Apple)<br>
         <a href="http://www.residuum.org/" target="_blank">http://www.residuum.org/</a><br>
<br></div>
              ______________________________<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; &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&lt;mailto:<br>


<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;<br>
</div><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://<u></u>lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt;&lt;<br>


<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.<u></u>puredata.info/listinfo/pd-list</a><u></u>&gt;<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
<br>
<br>
<br>
         ______________________________<u></u>**___________________<div><br>
<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>
         UNSUBSCRIBE and account-management -&gt;<br>
</div><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://<u></u>lists.puredata.info/__<u></u>listinfo/pd-list</a>&gt;&lt;<br>


<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.<u></u>puredata.info/listinfo/pd-list</a><u></u>&gt;<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
<br>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote></div><br>