osdir.com
mailing list archive

Subject: PyMedia - msg#00010

List: python.pygame

Date: Prev Next Index Thread: Prev Next Index
I am trying to use pymedia ( http://pymedia.sourceforge.net/ ) to play a
compressed (divx AVI) video file. I can get it to display video, but I
have a feeling I'm doing something wrong, because it's really slow. Has
anyone had any success playing compressed video in pygame?

My code is at http://toughtechs.com/projects/game/code/aviplayer.py

Thanks,
David




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

RE: Re: game design techniques

HI Josh, IMO, Game Programming Gems are great books to have on hand or just to read through. I have volumes 1-3 and was pretty happy with the info contained in them. I keep hearing volume 4 has some nice stuff in it but I haven't read it or looked through it yet. They are highly recommended books, but not really py related. I don't really have any link to resources for your other questions on hand but I know there are many out there (mostly c/c++ releated). But If I remember correctly there are quite a few pygame example games out there that cover what you're asking but I don't think many come with tuts, just code. Steven -----Original Message----- From: owner-pygame-users-eePT7DaMpNY@xxxxxxxxxxxxxxxx [mailto:owner-pygame-users-eePT7DaMpNY@xxxxxxxxxxxxxxxx] On Behalf Of Josh Close Sent: Sunday, September 05, 2004 5:29 PM To: PYGAME Subject: [pygame] Re: game design techniques Has anyone read the "game programming gems" book series? Would these be helpful? Any help would be appreciated! -Josh On Sun, 5 Sep 2004 01:23:37 -0500, Josh Close <narshe-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > I'm starting to do some game design for the first time. I can get > things to move around the screen, but I don't really know what I'm > doing. What are some of the game design standards? Probably for just > 2D games to start. > > How do you organize things? How do you get objects to move smoothly? > How do you get objects to move at different speeds? How do you get > objects to not go past, say, a wall? > > Are there any good websites or books that would have some standards > for this sort of thing? Like a tutuorial or something? I've looked at > all the pygame docs examples, and that doesn't do much right now. > > Thanks. > > -Josh >

Next Message by Date: click to view message preview

Re: PyMedia

David Konsumer wrote: I am trying to use pymedia ( http://pymedia.sourceforge.net/ ) to play a compressed (divx AVI) video file. I can get it to display video, but I have a feeling I'm doing something wrong, because it's really slow. Has anyone had any success playing compressed video in pygame? David, you may have luck with the new experimental movie decoder in the current pygame prerelease. It works well on linux, but will require libavcodec on windows to work properly. The decoder works well, but won't soon be supporting some of the regular pygame Movie features, like seeking. When you get it running it will be in the 'movieext' pygame module.

Previous Message by Thread: click to view message preview

game design techniques

I'm starting to do some game design for the first time. I can get things to move around the screen, but I don't really know what I'm doing. What are some of the game design standards? Probably for just 2D games to start. How do you organize things? How do you get objects to move smoothly? How do you get objects to move at different speeds? How do you get objects to not go past, say, a wall? Are there any good websites or books that would have some standards for this sort of thing? Like a tutuorial or something? I've looked at all the pygame docs examples, and that doesn't do much right now. Thanks. -Josh

Next Message by Thread: click to view message preview

Re: PyMedia

David Konsumer wrote: I am trying to use pymedia ( http://pymedia.sourceforge.net/ ) to play a compressed (divx AVI) video file. I can get it to display video, but I have a feeling I'm doing something wrong, because it's really slow. Has anyone had any success playing compressed video in pygame? David, you may have luck with the new experimental movie decoder in the current pygame prerelease. It works well on linux, but will require libavcodec on windows to work properly. The decoder works well, but won't soon be supporting some of the regular pygame Movie features, like seeking. When you get it running it will be in the 'movieext' pygame module.
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by