Hi Stephan, hi Robert,
I built successfully with your patch, and run the example just fine :D
I only get a few warning about uninitialized variable from VisualStudio,
but nothing dangerous I'd say.
Here they are anyway:
d:\sourcecode\osg_ot_svn\openscenegraph-2.8.0-rc5\src\osgplugins\quicktime\qtimportexport.cpp(105)
: warning C4701: potentially uninitialized local variable 'sourceStep' used
d:\sourcecode\osg_ot_svn\openscenegraph-2.8.0-rc5\src\osgplugins\quicktime\qtimportexport.cpp(102)
: warning C4701: potentially uninitialized local variable 'roffset' used
d:\sourcecode\osg_ot_svn\openscenegraph-2.8.0-rc5\src\osgplugins\quicktime\qtimportexport.cpp(103)
: warning C4701: potentially uninitialized local variable 'goffset' used
d:\sourcecode\osg_ot_svn\openscenegraph-2.8.0-rc5\src\osgplugins\quicktime\qtimportexport.cpp(104)
: warning C4701: potentially uninitialized local variable 'boffset' used
Thank you your efforts,
have a nice weekend!
cheers_ricky
P.S. can anyone provide an example with a real-live-stream, something
got from a webcam or something similar?
On 12/02/2009 16.44, Stephan Maximilian Huber wrote:
Hi Riccardo, hi Robert,
Riccardo Corsi schrieb:
Stephan, I'm sorry about skipping the live-stream part, but I did just a
check the calls to the previously used functions to see where they were
used, so I missed the other initialization method... can you handle that
part yourself?
Yes, I'll try to wrap my head around the live-stream-stuff.
This submission is intended for 2.8.x. / 2.9.x, no need to hurry :)
I tried to get streaming video working with osg and the
quicktime-plugin. I found a submission on osg-users with some changes to
the plugin but rejected it, because the old API was used.
Here's a different solution, using stuff from the 7.1 SDK to open movies
from URLS and files. This approach is more unified, than the old stuff.
It works great for Mac OS X, Riccardo, can you try my patch on Windows
when you find some time?
Attached you'll find an update to the quicktime-plugin
- cleaned up QTUtils, removied now obsolete functions
- open movies from URLs, so streaming video is possible with osg
(currently only via http)
test-case:
osgmovie -e qt --interactive
http://digitalmind.de/sites/digitalmind.de/files/livefeedbackSchnappschuss001.mp4
cheers,
Stephan
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org