"takes C out of game development", a library for developing games in Python (a wrapper around SDL)- people have mostly done 2d arcade (which is great!) but there is 3d support too, used also in scientific applications (visual stimuli research)
besides neat things for 2d graphics and handling control devices etc., has also rudimentary video (mpg1 playback) support which we have used for making interactive installations with video, and might use for other purposes too (see VideoEngine about that)
support for other codecs is being worked on (using libavcoded), which was great news! PythonVideo is about some related work.
an additional feature is needed: drawing graphics on the video.
mplayer does it with sdl via draw_alpha() in osd.c called from e.g. vo_sdl.c . MeBox dev suggests that mplayer could be used to replace pygame for graphics-on-video
some discussion about that plan:
< antont> (..) not being able to blit on overlays in sdl?
< ShredWheat> you can't with straight sdl. but someone has got to have done it. at minimum a
simple Surface to YUV12 converter
< antont> yep. well that's why i started looking into mplayer sdl vo, FreeJ etc.
< ShredWheat> but i'd like something that handled the blitting too.
< ShredWheat> ok. once we have some code i'll add a Movie.overlay(surf, position)
(..)
< antont> so the idea is to display the video using the overlay, not having to convert it to rgb,
but blitting from a normal rgb surface to it?
< ShredWheat> yeah, blit the rgb surface onto the overlay before it goes to the screen
PygameToExe --antont, Tue, 19 Apr 2005 12:22:47 +0300 reply