Well, what I want to do is to play a video file one frame at a time and convert that frame into a PBitmap which is then forwarded to the AGS engine and it draws the bitmap onto the screen. This is supposed to be a plugin.

One problem with all this is that it might not be fast enough to play the video in real time.