[PD] GEM :: movie duration & speed

james tittle tigital at mac.com
Tue Dec 20 19:41:32 CET 2005


On Dec 20, 2005, at 12:40 PM, emmanuel lefrant wrote:
> Wished result: 4'55'' = (4*60+55)'' = 295''
> Obtained results:
> 1/ wav = 7'22'' = (7*60+22)'' = 442'' at 30 fps = 8850 frames  
> (thanks to the
> 2nd outlet of [pix_movie])
> 2/ wav = 3'05'' = (3*60)'' = 180'' at 12 fps = 3540 frames
>
> It seems pd reads the video at app. 20fps. Can we enter a fps as an  
> argument
> somewhere so that the video is read in pd at the right speed? Do  
> you think
> it could be because of the CPU usage?

...20fps is the default fps of the [gemwin]:  you can change this by  
sending a [frame $1< to [gemwin] with the desired framerate...also,  
are you playing back the movie via [auto 1<?  If so, then it will  
playback locked to the frame rate of the window...alternatively you  
could just use a [metro] to bang a [counter] and get variable  
framerates for the movie, without affecting other things...this is  
actually how I use gem:  I always like to run [gemwin] at 60fps,  
which gives smooth animations, but I also like decoupling the movie  
playback from the window fps...

james




More information about the Pd-list mailing list