[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] No video playback on Windows XP
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] No video playback on Windows XP
- From: Rene Dudfield <renesd@xxxxxxxxx>
- Date: Wed, 27 Jul 2005 08:51:52 +1000
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 26 Jul 2005 18:52:06 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws;        s=beta; d=gmail.com;        h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;        b=F6Glu0HPsURZNo81IEwsxsmY3okLZa2ej7DCyuSNHE1X+FvSXqZb+gPJ9+3vbsn6gamC5yb435aosJKYTM5RuJNwPHfx7hhGpTZLrA5xB187RCZjDGMySNnMQZ0GmUiYR1RnPRijGowwpNwhdG0HjgQVLpptPkwcT/8tWUzptFg=
- In-reply-to: <1363377050726140125118b74@mail.gmail.com>
- References: <1363377050726140125118b74@mail.gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello,
try using http://www.pymedia.org/ for playing back movies.
Cheer.
On 7/27/05, Andy Buecker <abuecker@xxxxxxxxx> wrote:
> I can't seem to get video playback on Windows XP.  I can hear the
> audio and I'm echoing the frame number fine, but I don't see any
> video.  Playback of the same code works fine on Linux.
> 
> I've tried using the 1.6 python 2.4 binary package and a version
> compiled from the 1.6 source as well.  No luck.  The 1.7 binary for
> windows doesn't seem to have the movie module with it.
> 
> Any hints would be greatly appreciated.
> 
> -A
> 
> 
> Code:
> 
> import pygame
> import sys
> from pygame.movie import *
> from pygame.surface import *
> 
> pygame.init()
> pygame.mixer.quit()
> m = Movie('C:\test.mpg')
> s = pygame.display.set_mode(m.get_size())
> pygame.display.set_caption('Test')
> m.set_display(s)
> m.play()
> 
> while 1:
>     if m.get_busy():
>           print "frame: " , m.get_frame()
>     for event in pygame.event.get():
>         if event.type == pygame.QUIT:
>             sys.exit()
> m = None
>