<br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><div class="gmail_quote">
---------- Forwarded message ----------<br>From: <b class="gmail_sendername">J bz</b> <span dir="ltr">&lt;<a href="mailto:jbeezez@gmail.com">jbeezez@gmail.com</a>&gt;</span><br>Date: 24 September 2010 20:56<br>Subject: Re: [PD] Fwd: GEM Neupert Tutorial &#39;10-av-more control&#39;. How do I play more than 1 video?<br>
To: Jack &lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt;<br><br><br>Hi Jack,<br><br>Aaah, thank you indeed.<br><br>I checked the original on a mac today, and it sort of worked, no crashing.<br><br>Will report back after more testing.<br>
<br>Not the first time you have waded in and lent a hand, much appreciated.<br><font color="#888888">
<br>Jb</font><div><div></div><div class="h5"><br><br><br><div style="display: inline;"></div><br>
<div class="gmail_quote">On 24 September 2010 12:08, Jack <span dir="ltr">&lt;<a href="mailto:jack@rybn.org" target="_blank">jack@rybn.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Try this patch and abstraction and use small soundfiles and movies to<br>
test.<br>
I don&#39;t know which video codec is better on Windows for your patch.<br>
<br>
Le jeudi 23 septembre 2010 à 22:36 +0100, J bz a écrit :<br>
<div>&gt; Hi Benjamin,<br>
&gt;<br>
&gt; Thanks for that, I will check it out.<br>
&gt;<br>
&gt; Jack,<br>
&gt;<br>
&gt; The machine I was testing with today was very souped-up and the [dsp]<br>
&gt; object never got over 25%.<br>
&gt;<br>
&gt; I don&#39;t know if this would make a difference but the avi&#39;s are<br>
&gt; slightly longer than the audio, if the audio is driving the sync is it<br>
&gt; possible that that could cause the crashes?  Also audio is 32bit<br>
&gt; floating point, if that could make a difference?<br>
&gt;<br>
&gt; Still somewhat unsure about the best way of using the abstraction, if<br>
&gt; as I thought, to use 3 files I need 3 gemheads, how can I use 1<br>
&gt; abstraction that contains a single gemhead?  That was the impulse to<br>
&gt; use three different files.  Then if I&#39;m using 3 different files, why<br>
&gt; do I need to use $0, apart from good coding practice??<br>
</div>You needn&#39;t $0 in your patch but it is a good practice if you want to<br>
send variables in local.<br>
In your subpatch you use &#39;$0-frame&#39; to send the number of frame of your<br>
movies. The problem is all your receive $0-frame will receive the value<br>
of the 3 movies.<br>
So i remove these objects (heve a look inside the subpatch).<br>
++<br>
<font color="#888888"><br>
Jack<br>
</font><div><div></div><div><br>
<br>
&gt;<br>
&gt; Guess I&#39;m thinking aloud here.<br>
&gt;<br>
&gt; With the first version that I made, all the files load fine and play,<br>
&gt; though there is now no sync now I stopped using [readanysf~].  S&#39;pose<br>
&gt; one of the joys of pd is that there are umpteen ways of skinning any<br>
&gt; particular feline, though I really don&#39;t have the time to be starting<br>
&gt; from scratch again with this.<br>
&gt;<br>
&gt; I&#39;m going to make the audio 16b and trim the avi&#39;s so they are the<br>
&gt; same length as the audio.<br>
&gt;<br>
&gt; Otherwise I&#39;m really unsure what&#39;s going on.... This whole codec thing<br>
&gt; is a bloody nightmare.<br>
&gt;<br>
&gt; Will try again tomorrow.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Jb<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 23 September 2010 17:51, benjamin 01xy &lt;<a href="mailto:benjah@free.fr" target="_blank">benjah@free.fr</a>&gt; wrote:<br>
&gt;         hello,<br>
&gt;<br>
&gt;         for audio, sfread2~ in moonlib worked well for me to scratch<br>
&gt;         audio/video synchro, I think it is cross plateform<br>
&gt;         <a href="https://wiki.puredata.info/en/sfread2%7E" target="_blank">https://wiki.puredata.info/en/sfread2~</a><br>
&gt;<br>
&gt;         ++Benjamin<br>
&gt;<br>
&gt;         J bz a écrit :<br>
&gt;<br>
&gt;<br>
&gt;                 Avi&#39;s are 10fps mjpeg recoded in avidemux.<br>
&gt;<br>
&gt;                 Audio 44.1 wav in audacity<br>
&gt;                 All files play fine on the windows computer on their<br>
&gt;                 own.  I do get audio and one video, which works great.<br>
&gt;<br>
&gt;                 They also play fine in my earlier patch when I was<br>
&gt;                 first experimenting with GEM and video.  I went the<br>
&gt;                 Neupert way because I wanted more control.<br>
&gt;<br>
&gt;                 Other problem is that my ancient laptop wont come<br>
&gt;                 anywhere near running the patch, which is why I&#39;m at a<br>
&gt;                 friends house.<br>
&gt;<br>
&gt;                 Aargh, this is bad, supposed to hand this in tomorrow.<br>
&gt;<br>
&gt;                 I have to go for a few hours but will be back later.<br>
&gt;                  Back at my friends in the morning but will be online<br>
&gt;                 again in a few hours.<br>
&gt;<br>
&gt;                 Attached is my original patch too.<br>
&gt;<br>
&gt;                 What I want is the ability to scrub audio and video<br>
&gt;                 but something that works.  Obviously.<br>
&gt;                 I was using [redanysf~] but the work needs to be seen<br>
&gt;                 on windows and mac and readanysf doesn&#39;t seem to work<br>
&gt;                 on windoze.<br>
&gt;<br>
&gt;                 I guess the most frustrating thing is that I have<br>
&gt;                 spent all afternoon wrestling with something that<br>
&gt;                 seems to be working on other computers. I added the<br>
&gt;                 [set( message as I have been trying anything I could<br>
&gt;                 think of.<br>
&gt;<br>
&gt;                 Thanks again,<br>
&gt;<br>
&gt;                 Jb<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</div></div></blockquote></div><br>
</div></div></div><br>