[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] problem - playing a movie in pygame
- To: pygame-users@xxxxxxxx
- Subject: [pygame] problem - playing a movie in pygame
- From: "Pedro Vieira" <pesvieira@xxxxxxxxx>
- Date: Wed, 3 Sep 2008 15:02:27 -0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 03 Sep 2008 14:02:32 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=rv5nmlXKWu9uuwyE5coRE+EGQBEIgdHrpnlcB9OdarQ=; b=dQ1PJTKjtWt4dGUBiP6CHrg1MwWI6fM1zEz8xIR7B1r78QL0UJKFT8724DL2n5inXq B9/akiiOevUOug3HG1qthfgWXBtIx3q/CPjFtE1ppT2tLIY/hhV6fhnbwTm41uxY4ar+ YQAf2uPywr6DeXER8AsoonZo2/4Ud8mLmk8aw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iaDdCtpTohaWVezbt9RQk45LOHNOW5/iB4XjkZdywgLyOxEH9h29DUHLZgqc3DPsYG bYnb93Kcv5AhpRueJnlMgHgTCdhLpq8n2RG8vOfXt929puVIOFUTo6zFgPzjsKoF2Wr1 W99Qkj3kkzo4zgtCknTZoiufYWkhjyETNJzbo=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi.
I'm wanting to play a movie when I start my game, but I'm having a problem at playing a video in pygame. I already used pygame.movie and pymedia to do that, but they didn't work.
The pygame.movie only supports MPEG1 encode, and the video is being displayed with low quality.
Using pymedia the problem is when I use the player.py module. The video and audio aren't in sync. I tried to limit the FPS for that the images don't be displayed too quickly, but I didn't find how to do this in pymedia.
Anybody knows how to solve this problem? Is there any another libary to play a movie in python?
Thanks.