[PD] Fwd: GEM Neupert Tutorial '10-av-more control'. How do I play more than 1 video?

J bz jbeezez at gmail.com
Mon Oct 4 12:14:26 CEST 2010


Hi Fernando,

Apologies for the late response.

I (re)encoded the films in Avidemux on my Puredyne machine using the mjpeg
codec.  There is a Windows version of Avidemux too.

I switched to borrowed Windows and Mac machines for testing as my Puredyne
lappy wont drive the patch.  Too processing intensive.  I had more problems
on the Windows 7 machine but that may well have something to do with running
32b pd on a 64b machine, not sure, and didn't have enough time to test
thoroughly.

There seems to be so many possible variables with OS's, graphics cards, etc.
etc. that each use of video within pd has its own particular set of
problems.  As my films are quite static I reduced the frame rate and
quality, which seemed to help.  As someone just starting to work this way it
does seem to have some tricky issues.  I'm fairly determined to keep my work
in pd so I expect to pick up more tips and tricks as the work progresses.

Best of luck with your patch and I hope the recoding may do the trick.

All good wishes,

Jb



On 2 October 2010 18:42, Fernando Krum <ferkrum at gmail.com> wrote:

> Hi there J bz,
>
>  have just seen your thread over here and i´m sort of having a similar
> problem,
> i´m trying to play 2 videos simultaneously on a Windows machine.
> But whenever i try to make it fullscreen it will decrease framerate and
> apparently
> uses a lot o cpu processing... i think a have problems with encoders on my
> windows
> machine.
> which encoder are you using ??
>
> thanx a lot,
>
> Fernando.
>
>
> Fernando Krum
> twitter.com/ferkrum
>
>
> On Fri, Sep 24, 2010 at 4:57 PM, J bz <jbeezez at gmail.com> wrote:
>
>>
>>
>> ---------- Forwarded message ----------
>> From: J bz <jbeezez at gmail.com>
>> Date: 24 September 2010 20:56
>> Subject: Re: [PD] Fwd: GEM Neupert Tutorial '10-av-more control'. How do I
>> play more than 1 video?
>> To: Jack <jack at rybn.org>
>>
>>
>> Hi Jack,
>>
>> Aaah, thank you indeed.
>>
>> I checked the original on a mac today, and it sort of worked, no crashing.
>>
>> Will report back after more testing.
>>
>> Not the first time you have waded in and lent a hand, much appreciated.
>>
>> Jb
>>
>>
>>
>>
>> On 24 September 2010 12:08, Jack <jack at rybn.org> wrote:
>>
>>> Try this patch and abstraction and use small soundfiles and movies to
>>> test.
>>> I don't know which video codec is better on Windows for your patch.
>>>
>>> Le jeudi 23 septembre 2010 à 22:36 +0100, J bz a écrit :
>>> > Hi Benjamin,
>>> >
>>> > Thanks for that, I will check it out.
>>> >
>>> > Jack,
>>> >
>>> > The machine I was testing with today was very souped-up and the [dsp]
>>> > object never got over 25%.
>>> >
>>> > I don't know if this would make a difference but the avi's are
>>> > slightly longer than the audio, if the audio is driving the sync is it
>>> > possible that that could cause the crashes?  Also audio is 32bit
>>> > floating point, if that could make a difference?
>>> >
>>> > Still somewhat unsure about the best way of using the abstraction, if
>>> > as I thought, to use 3 files I need 3 gemheads, how can I use 1
>>> > abstraction that contains a single gemhead?  That was the impulse to
>>> > use three different files.  Then if I'm using 3 different files, why
>>> > do I need to use $0, apart from good coding practice??
>>> You needn't $0 in your patch but it is a good practice if you want to
>>> send variables in local.
>>> In your subpatch you use '$0-frame' to send the number of frame of your
>>> movies. The problem is all your receive $0-frame will receive the value
>>> of the 3 movies.
>>> So i remove these objects (heve a look inside the subpatch).
>>> ++
>>>
>>> Jack
>>>
>>>
>>> >
>>> > Guess I'm thinking aloud here.
>>> >
>>> > With the first version that I made, all the files load fine and play,
>>> > though there is now no sync now I stopped using [readanysf~].  S'pose
>>> > one of the joys of pd is that there are umpteen ways of skinning any
>>> > particular feline, though I really don't have the time to be starting
>>> > from scratch again with this.
>>> >
>>> > I'm going to make the audio 16b and trim the avi's so they are the
>>> > same length as the audio.
>>> >
>>> > Otherwise I'm really unsure what's going on.... This whole codec thing
>>> > is a bloody nightmare.
>>> >
>>> > Will try again tomorrow.
>>> >
>>> > Cheers,
>>> >
>>> > Jb
>>> >
>>> >
>>> >
>>> > On 23 September 2010 17:51, benjamin 01xy <benjah at free.fr> wrote:
>>> >         hello,
>>> >
>>> >         for audio, sfread2~ in moonlib worked well for me to scratch
>>> >         audio/video synchro, I think it is cross plateform
>>> >         https://wiki.puredata.info/en/sfread2~<https://wiki.puredata.info/en/sfread2%7E>
>>> >
>>> >         ++Benjamin
>>> >
>>> >         J bz a écrit :
>>> >
>>> >
>>> >                 Avi's are 10fps mjpeg recoded in avidemux.
>>> >
>>> >                 Audio 44.1 wav in audacity
>>> >                 All files play fine on the windows computer on their
>>> >                 own.  I do get audio and one video, which works great.
>>> >
>>> >                 They also play fine in my earlier patch when I was
>>> >                 first experimenting with GEM and video.  I went the
>>> >                 Neupert way because I wanted more control.
>>> >
>>> >                 Other problem is that my ancient laptop wont come
>>> >                 anywhere near running the patch, which is why I'm at a
>>> >                 friends house.
>>> >
>>> >                 Aargh, this is bad, supposed to hand this in tomorrow.
>>> >
>>> >                 I have to go for a few hours but will be back later.
>>> >                  Back at my friends in the morning but will be online
>>> >                 again in a few hours.
>>> >
>>> >                 Attached is my original patch too.
>>> >
>>> >                 What I want is the ability to scrub audio and video
>>> >                 but something that works.  Obviously.
>>> >                 I was using [redanysf~] but the work needs to be seen
>>> >                 on windows and mac and readanysf doesn't seem to work
>>> >                 on windoze.
>>> >
>>> >                 I guess the most frustrating thing is that I have
>>> >                 spent all afternoon wrestling with something that
>>> >                 seems to be working on other computers. I added the
>>> >                 [set( message as I have been trying anything I could
>>> >                 think of.
>>> >
>>> >                 Thanks again,
>>> >
>>> >                 Jb
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > Pd-list at iem.at mailing list
>>> > UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101004/fa079c52/attachment.htm>


More information about the Pd-list mailing list