On Fri, Jun 19, 2009 at 7:59 PM, Luke Paireepinart
<rabidpoobear@xxxxxxxxx> wrote:
Tyler Laing wrote:
Hello all,
I would like to announce the alpha release of the new movie module. The details can be found here, http://www.oddco.ca/zeroth/zblog/2009/06/19/movie-module-progress-week-5/
but in short here is what the movie module can do now:
* Play videos, complete with audio
* Pause, and stop
* Looping for discrete or infinite numbers of times
* Resize the window on the fly
* Direct all the video output to a pygame surface, which can be
moved around, blitted, flipped upside down, blitted on top of or
under another surface, etc.
* Has several backends with basic functionality. Right now the vlc
backend works, but it has not undergone serious testing yet. The
ffmpeg-wrapper backend has been what I've spent most of the last
five weeks on.If the ffmpeg-wrapper backend fails, then it'll
use the vlc backend, and if that fails, it'll use the dummy
backend, just so your game or application would continue to work.
Hey Tyler,
one thing I would like to do for an application I'm developing in Pygame is to play a short movie clip (like say 20 seconds) as well as looping parts of it and swapping between multiple short clips.
For example, say the user has a full screen of black. if they click in the top-left quadrant, one video will play fullscreen until they release their mouse. then they click in the bottom-right, and a different video will play full-screen until they release their mouse.
So it would be many short clips all playing in a non-predetermined order.
Is this something I could use your module for, potentially? if I preloaded the movies, maybe? can you do arbitrary seeks and loops of only particular sections of the video?
Thanks,
-Luke