[GEM-dev] gem framerate acuracy

cyrille henry cyrille.henry at la-kitchen.fr
Tue May 15 17:37:22 CEST 2007



chris clepper a écrit :
> How many movies?  At some point the hard drive will become a limiting
> factor.  You will particualrly see skips when movies load and hit the loop
> point at the end of the clip.
> 
> Playing any movie back at 10 times the normal speed will not be very 
> smooth.
> 
> You can try to load the movies into RAM with the 'ram' message on OSX or
> make a RAM disk and copy movies in there if you have the memory.

this improve playback.
but unfortunatly, i have only 4Go of Ram, and 5Go of movie (+ 1Go of sound that are already in the ram)
so everything will not fit.

as i use 10 diferents movies (read 1 after the other), is it possible to move a movie in ram with a low priority thread?
(sending the ram message does stop everything for few secs)

thanks
cyrille

> 
> On 5/15/07, cyrille henry <cyrille.henry at la-kitchen.fr> wrote:
>>
>> hello,
>>
>> im still working on the project using many videos,
>> i've got problem with frame rate acuracy.
>>
>> i test with only 1 movie, so the CPU are very low.
>> i'm using apple intermediate codec.
>> gem fps is set to 50, video speed is varing from about 1 to 10
>>
>> the problem is that visually, the video does not play very smooth.
>>
>> while testing time between frame with :
>>
>> gemhead
>> |
>> t b b
>> |   \
>> realtime
>> |
>> print
>>
>> i've got average number 20ms (so the fps is 50), but i can have lot's of
>> diferences from 1 frame to one other.
>> i can have 1 frame at 35ms, and the other at 5ms etc
>> so the result is not very good.
>>
>> changing codec / size of the movie does not really change results
>>
>> i really don't know what i could do to improve performances.
>>
>> does anyone have an idea?
>>
>> thanks
>> Cyrille
>>
>>
>> _______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
>>
> 




More information about the GEM-dev mailing list