Would someone (Christian?) be able to comment on and/or correct the sequence of events for initializing and using the QTGrabber class to display live video in the following situations:
A. On application launch: Call q.InitGrabber Call q.InitSound Call q.InitVideo Call q.InitFrameBuffer(cvsMovie.Width, cvsMovie.Height) Call q.SetVideoChannelSize(0, 0, cvsMovie.Width, cvsMovie.Height) // Call q.SetVideoSize(0, 0, cvsMovie.Width, cvsMovie.Height) 'Is this needed? Leaving it out doesn't seem to make a difference? Call q.Prepare Call q.StartPreview B. Window Resized event: Call q.InitFrameBuffer(cvsMovie.Width, cvsMovie.Height) Call q.SetVideoChannelSize(0, 0, cvsMovie.Width, cvsMovie.Height) // Call q.SetVideoSize(0, 0, cvsMovie.Width, cvsMovie.Height) 'Again, currently this is commented out... C. Switching video sources (menu handler): Call q.Stop q.VideoDevice = strSelectedDevice q.VideoDeviceInput = intSelectedInput Call q.InitFrameBuffer(cvsMovie.Width, cvsMovie.Height) Call q.SetVideoChannelSize(0, 0, cvsMovie.Width, cvsMovie.Height) // Call q.SetVideoSize(0, 0, cvsMovie.Width, cvsMovie.Height) 'Again, currently this is commented out... Call q.Prepare Call q.StartPreview It *could* be that this is all correct, but it's not obvious from just looking at the VideoGrabbing sample app, and I'm occasionally seeing some weird hangups in the IDE and in the compiled app. Thanks. _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
