>> I'm having a hard time trying to understand how much time I can spend >> between frames to process the movie at nominal speed. > > frame.pts - last_frame.pts obviously Ok... But what if frame.pts<last_frame.pts? (seems to happen if the current frame is an I frame). What if frame.pts and last_frame.pts are 0? Nicolas