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