[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] pygame/pyopengl and mpeg



urmas eero wrote:
> Is possible to play mpeg movies with pygame on opengl surface ?

hmm, i don't expect you can display mpeg movies directly on an opengl
display. your only hope would be to output the mpeg movie to an offscreen
surface, then convert the surface to a texture.

for realtime playback, that likely won't be fast enough for 30fps video. if
the movie is short enough, you could prerender each frame of the movie into
a texture, but beware users without much texture memory.

unfortunately this type of thing really requires some sort of platform
dependant movie decoding, and i don't believe SDL has any support for this.
i guess the "try it and see" approach will be best. do share any results
you can get.




____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org