Frame Number Output

May 18, 2009 at 8:17pm

Frame Number Output

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

#43977
May 19, 2009 at 8:37pm

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. –
#157967
May 22, 2009 at 7:12am

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.

#157968
Apr 21, 2012 at 8:13am

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

#157969

You must be logged in to reply to this topic.