Forums > Jitter

Frame Number Output

May 18, 2009 | 8:17 pm

Hi

Is it possible to get an output of the current frame number of the quicktime movie playing? This is probably a really simple thing but I can’t seem to figure it out.

Thanks


May 19, 2009 | 8:37 pm

for now, getting the frame requires some math. you must send the gettime message, and divide that by timescale divided by FPS. this patch shows how to do this stuff (and some other tricks).

follow the logic carefully.

– Pasted Max Patch, click to expand. –

May 22, 2009 | 7:12 am

Nice patch, that helped me understand some things.

One thought–is there a reason why there couldn’t be a "getframe" message? Does it have to do with how jitter handles the movies? Even if it only worked in "editmode frames" that would be fine, if it lost some time resolution or whatever. Seems like one should be able to query the current frame directly, or at least get a best approximation.


April 21, 2012 | 8:13 am

really nice patch and that bring me lot of help
and im trying to [route] more qt.movie info


Viewing 4 posts - 1 through 4 (of 4 total)