Hi I am using osgmovie like Colin has described to visualise a live stream from a webcam (and it works very good) - but I can only see a resolution of 320x240; is there a limitation to this resolution ? - is there any way to realise a higher resolution ?
Using Windows XP and OSG 2.3.6 Thanks Dieter Unclassified Mail -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Colin Dunlop Sent: Tuesday, 08 April, 2008 17:07 To: OpenSceneGraph Users Subject: Re: [osg-users] Quicktime plugin livestreaming documentation/examples Hi Adrian, I've not documented anything on the wiki yet but below is how the result was achieved on Windows XP. See my previous post for any more detail. The demo/example is really just a quad with your live feed playing - so a I've just tweaked osgmovie here to force load the plug-in from a ".live" association and then interpret the file basename to get a device and input ID - ugly but working... 0. If you have NO QuickTime driver for your device then install <http://www.abstractplane.com/products/vdig.jsp> Use the latest version and do the manual install from the zip. You will jave to live with the demo mode or fork out some $$$. If your capture device has a QuickTime driver then you do not need this VDIG for Windows thing eg BlackMagic Intensity Pro. 1. Modify the osgmovie.cpp and make sure that the .live extension is associated with the osgdb_qt plugin: osgDB::Registry::instance()->addFileExtensionAlias("live","qt"); 2. run osgmovie --devices If you have any live feed devices associated with a QuickTime driver then this will spit out some command line options and associations. It will also spit out any pseudo Windows VDIG wrapped Direct Show devices in the same way eg: ... 4:1.live Blackmagic HDTV 720 Intensity HDTV 720p 59.94 ... 1:4.live Hauppauge WinTV 418 Video Capture (4&E384A6E&0&48F0) S-Video 3 UYVY @ 720x480 ... 3. run osgmovie and pass it a "pseudo" file name that will be translated by the plug-in to point at an input device eg $ osgmovie x:y.live This will force load the osgdb_qt plug-in, and then attempt to decode the x:y.live where x and y are the input and channel of your input - eg 5:0.live I plan to submit to Robert an osgvideo example which wraps some of this up a bit better. Cheers, Colin. Adrian Egli OpenSceneGraph (3D) wrote: > Hi > any demo / example ? > > regards > 2008/4/3, Mike Greene <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: > > Colin, > > Success! Using the later version of VDIG that you referenced, I was > able to get a live stream to work with osgmovie. > I'm using a KOCOM camera running video through a Canopus ADVC 110 A/D > video convertor into a firewire cable. > This is on Windows XP, OSG 2.3.5, Visual Studio 2005 debug, Quicktime > SDK 7.3. > > > Mike Greene > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > <mailto:osg-users@lists.openscenegraph.org> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > -- > ******************************************** > Adrian Egli > > > ------------------------------------------------------------------------ > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org