Stepping through a movie one frame at a time.
in
Core Library Questions
•
3 years ago
Hi,
Can anyone tell me how it is possible to sync the draw() routine with the movieEvent so that I can call the draw routine for each frame of the video.
What currently seems to happen is the movie plays in "real-time" and I'm getting ever 20th frame or so. What I want to do is be able to "single step" through t movie so I can process each frame and only move onto the next frame when I have finished processing the current one.
If someone could point me to a simple example of reading a movie a frame at a time, carrying out some simple operation and writing out a frame to a new movie and repeating till all frames in the input movie have been processed I would be most greatful.
Kind Regards
Kevin.
1