Hi Colin thanks for your answer - but I have no success with a higher resolution.
When I use the 0:3.live which matches a resolution of 640x480, I only see a white rectangle though the width and height of the image is 640 x 480 (in debugger). No other locking application is running. I can use 320x240 or smaller resolutions like 160x120. When I start the application with 0:3.live (640x480) the webcam is turned off in osgDB::readImageFile(...) and I can't see the output of fps_counter in QuicktimeLiveImageStream.cpp and no error message - with 320x240 I see the output of the fps_counter. Did you see osgmovie with a higher resolution (live stream) on windows ? Any other hints? Thanks Dieter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Colin Dunlop Sent: Wednesday, 18 June, 2008 23:09 To: OpenSceneGraph Users Subject: Re: [osg-users] Quicktimeplugin livestreaming documentation/examples Hi Dieter, you sometimes have to change the resolution of your webcam via it's own preference settings. Then you can use this new resolution via the corresponding x:y.live that matches the --devices output equal to your new resolution. Basically it's the same for the capture cards and you can't (via OSG right now) alter some of the card/webcam settings programatically. Hope this makes sense. Also make sure that you close any webcam apps/previews/setting priot to running osgmovie as you will likely get locked out as there seems to be some OS thing going on restricting one app to the hardware at any one time wrt the AbstractPlane DirectShow/QT wrapper. Cheers, Colin. Dieter Pfeffer wrote: > 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 >> [email protected] >> <mailto:[email protected]> >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> >> >> -- >> ******************************************** >> Adrian Egli >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

