On 31/10/2007, at 11:31 AM, Stani's Python Editor wrote:

> I've tried it on Ubuntu and it works well. I have two questions:
> 1. The script above saves the frame based on how much time has passed.
> Is it also possible to access the frames of a movie one by one
> independent of time? So that I can access precisely frame[0], frame 
> [1],
> ..., frame[n] independent of the framerate?
>

Not in the current API.

> 2. For me the speed is the most important. What is generally  
> faster: the
> roundtrip through the videocard or pyglet.media.avbin.AVbinSource?

The roundtrip through the video card is unnecessary for your task, it  
is a side-effect of pyglet's optimisation for realtime playback.  If  
you can avoid it, you will get a performance increase.

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to