[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Question about playing mpeg video



On Mon, 2005-10-17 at 18:46 -0500, Garry M. Gaber wrote:
> How do I get video to play within the window of my application?

Create an offscreen surface the same size as the video. Then call
Movie.set_display() to your new surface. Now when you are drawing a
frame from your game, blit the offscreen surface to the display like any
other game object.