ofVideoPlayer::idleMovie() lagging!

Hi all,
I’ve been writting an application that sometimes has to play a video. It seems simple, but I’m having a problem that I can’t solve!

I initialize my movie with:

  
  
movie.loadMovie( "screensaver/screensaver.mov" );  
movie.play();  
  

After that, I just use movie.update() or movie.idleMovie() in my update() loop and movie.draw(0, 0, w, h) in my draw() loop.
But the video gets laggy!!!
I’ve tried to print the frames and time, and it seems that I miss between 3 and 5 frames in each update!!!

I tried to move the movie.update() function into the draw() loop, but the result is similar…

I have done a lot of tests, but I can’t figure it out.

Anyone can give me any clue?

Thanks,
Téo

Two questions: how big is the movie? Can you post your drawing code?

This thread and addon might be helpful depending on what’s causing your slowdown: http://forum.openframeworks.cc/t/threaded-video-player/1335/11