[osg-submissions] Refactored Quicktime-Plugin
Stephan Maximilian Huber
ratzfatz at digitalmind.de
Thu Apr 17 06:13:10 PDT 2008
Hi Robert,
Robert Osfield schrieb:
> I haven't dived in an reviewed the code yet, but would find it useful
> to get some clarification before I jump in.
>
> Have you tested these changes under Windows and OSX?
>
> Is the support for video streams still in place?
Sorry for the lack of extensive infos...
Live-video and movie support is still in place. (I did not touch these
parts of the plugin). I refactored only the reading and writing of
images, so that the reading from files and streams, writing to streams
and files use the same code-path. Less error-prone in my eyes. The
functionality to read from and write to streams is new. I abandonded
QTTexture because of it's clunky code, and because most of the code was
not used.
The new class QTImportExport.h/.cpp was part of my own code since two
months now and is working in OS X and Windows without a problem.
My tests on os x:
osgviewer --image
http://digitalmind.de/sites/digitalmind.de/files/IchUndIchUndIchSchnappschuss002.jpg
osgviewer cow.osg
osgmovie /Users/stephan/Desktop/madonna_4minutes.mov
osgmovie 0:0.live (for live-video)
all worked without a problem. I did even code a small example using
boost and asio serving the current rendered frame via http to test the
writing-to-stream-functionality.
I did some tests on windows, (reading images and playing movies) and
averything works as expected.
cheers,
Stephan
More information about the osg-submissions
mailing list