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

Re: [pygame] Movie module information



The way the camera module is currently written, it would involve a lot
to go straight from camera to movie.  The raw MMAPed camera data is
copied directly into a Pygame Surface.  I think the use case of
camera->movie may be better left to gstreamer and it's python
bindings.

Nirav

On Sun, Apr 26, 2009 at 5:43 PM, Tyler Laing <trinioler@xxxxxxxxx> wrote:
> Could be possible, but it depends on the library involved in the camera
> module. I'll definitely keep that in mind as well.
>
> -Tyler
>
> On Sun, Apr 26, 2009 at 2:36 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>>
>> Yes, that is it. The old movie module had a loop option on its play
>> method. It was for infinite looping. Unfortunately the smpeg documentation
>> was misinterpreted to mean that a positive value meant to loop that many
>> times. It didn't. So the loop option was totally removed from pygame.movie.
>>
>> Another idea from reading a posting on the camera module, maybe the two
>> modules can cooperate, in that camera input could be plugged directly into
>> movie output, bypassing any execution of Python code.
>>
>> Lenard
>>
>>
>> Tyler Laing wrote:
>>>
>>> Thats awesome, thank you Lenard.
>>>
>>> By loop, you mean you load up a movie file, and it loops however many
>>> times you want, or pass in -1 for infinite times, interruptable at any
>>> point?
>>>
>>> -Tyler
>>>
>>> On Sun, Apr 26, 2009 at 2:22 PM, Lenard Lindstrom <len-l@xxxxxxxxx
>>> <mailto:len-l@xxxxxxxxx>> wrote:
>>>
>>>    Tyler Laing wrote:
>>>
>>>        Hello all,
>>>
>>>        One of the first steps I need to take for the GSoC project is
>>>        to get user stories so I can build acceptance tests.
>>>
>>>        I want to hear what you guys(the users) want out of an updated
>>>        movie module. What do you want to be able to do, and how?
>>>
>>>        I'm also interested in hearing what people liked and didn't
>>>        like about the current movie module.
>>>
>>>        -Tyler
>>>
>>>        --        Visit my blog at http://oddco.ca/zeroth/zblog
>>>
>>>
>>>    Hi Tyler,
>>>
>>>    Well, there is this game framework, Pyzzle, just sitting on
>>>    SourceForge, http://sourceforge.net/projects/pyzzle/ . It is for
>>>    developing Riven like adventure games. It was working until a fix
>>>    to the movie module broke it. It would be nice to see that project
>>>    resurrected with a new movie module. So I guess this is a request
>>>    for a working loop option for movie playback.
>>>
>>>    Lenard
>>>
>>>    P.S.
>>>
>>>    I am working on getting the ffmpeg libraries ready for Windows. I
>>>    have built them using the proper C runtime for Python 2.5
>>>    (cross-compiled from linux). Once I can collect together the
>>>    necessary headers and import libraries I will bundle them up and
>>>    make them available. But they will have limited capability for
>>>    now. I have only succeeded with an mpg to avi conversion so far.
>>>    After this I will try customizing msys_build_deps.py for ffmpeg.
>>>
>>>    L.L.
>>>
>>>
>>>
>>>
>>> --
>>> Visit my blog at http://oddco.ca/zeroth/zblog
>>
>
>
>
> --
> Visit my blog at http://oddco.ca/zeroth/zblog
>