mpeg problem with pygame

AnsNum ansnum at laposte.net
Wed Aug 27 08:19:18 EDT 2003


hello,
when I start this program, the movie doesn't play smoothly, anybody has an
idea ?
(I use windowsXP)

import pygame
from pygame.display import flip
from pygame.locals import *

pygame.init()
screen = pygame.display.set_mode((640,480))
pygame.mixer.quit()
movie = pygame.movie.Movie("d://pygame//video3.mpeg")
movie.set_display(screen, (0,0))
movie.play()
movie.set_volume(1)
flip()
while 1:
    if not movie.get_busy():
        break

--
Henri






More information about the Python-list mailing list