On 7/31/06, Raymond <[EMAIL PROTECTED]> wrote:
I actually forgot to explicitly mention that I will work on receiving
image streams from a network, so not from file. So my question was not so
much how to use the pbo, but how to handle image streams from a socket. I
have found the osgAVI plugin which does the locking of threads, etc. I
think I will take this as a start, and put my socket code in there to
receive our image stream.

Is this osgAVI plugin a good (best?) place to start, or should I take
another plugin as example?

The AVI plugin hasn't been to submitted for inclusion with OSG so I
haven't reviewed it so can't comment on how well useful it will be for
the tasks.  Its likely to be more useful that the xine-lib plugin
though since at least it compiles under Windows :)

If you are reading from multiple sources then you'll want to make sure
that whatever plugin you end up with creates a new ImageStream and
associated thread for each new file, this way you can keep opening
more video streams without problem.  The QuickTime and xine-lib
plugins work  this way so are able to open multiple videos at once.

FYI, the osgmovie example can take multiple move files on the command
line, and will run all at once.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to