[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PyMedia



From: "David Konsumer"
Sent: Monday, September 06, 2004 7:48 AM
Subject: [pygame] PyMedia


> 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

David,
You can post it to pymedia-users@lists.sourceforge.net list and we'll try to
help.
From my first look you should not use _any_ kind of frame transformations as
it will slowdown your playback. Just using the pygame with Overlay object
will help you get better playback rate. Please refer README file for exact
location and see vplayer.py in examples.
Dmitry/