On Sat, Oct 13, 2012 at 2:36 AM, nunof <[email protected]> wrote: > Hello, > > I'm a newbie, but I could not find an answer on this. Is it possible to > capture video (/dev/video0 on Linux) with pyglet 1.2 alpha and avbin10? > > AVbin decodes compressed audio/video from a file, and that's it. If you end up with a compressed video file on your disk somewhere in your capturing process, then AVbin may be useful, otherwise it won't be involved at all.
I don't know the definitive answer as far as pyglet is concerned (someone please speak up if there's some video capturing functionality that I'm not aware of!). I do know that people have created videos by first using pyglet to render a scene, and then capturing each frame as they draw it with pyglet and (do something with the frames to make it into a video) -- but if you're trying to capture video directly from a web cam, this _probably_ is the wrong place to start. Even if it is possible, you'd probably end up having to write most of the code yourself. ~ Nathan -- 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.
