The Movie object represents an opened MPEG file. You control playback similar to a Sound object.
Movie objects have a target display Surface. The movie is rendered to this Surface in a background thread. If the Surface is the display surface, and the system supports it, the movie will render into a Hardware YUV overlay plane. If you don't set a display Surface, it will default to the display Surface.
Movies are played back in background threads, so there is very little management needed on the user end. Just load the Movie, set the destination, and play()
Movie.new( filename )
Loads an MPEG stream from file filename
Back to index