Newbies ddeguz Posted August 19, 2011 Newbies Posted August 19, 2011 Hello. I have a client that needs to capture people holding movie slates for a few seconds. Can Scriptmaster's videoframe capture function be modified to capture rolling video, not just a single frame? Thanks for your help. David
epeeler Posted August 22, 2011 Posted August 22, 2011 Unfortunately no. The screen capture feature no longer works -- for some unknown reason -- and has been removed from the plug-in.
john renfrew Posted August 24, 2011 Posted August 24, 2011 This works for stills You need http://lti-civil.org import java.awt.image.BufferedImage import com.lti.civil.* import com.lti.civil.awt.AWTImageConverter import com.sun.image.codec.jpeg.* factory = DefaultCaptureSystemFactorySingleton.instance() system = factory.createCaptureSystem() system.init() info = system.getCaptureDeviceInfoList().get(0) captureStream = system.openCaptureDeviceStream(info.getDeviceID()) count = 0 capturedImage = null captureStream.setObserver({ sender, image -> count++ if (count > 1) { capturedImage = image } //end if } as CaptureObserver) captureStream.setVideoFormat(captureStream.enumVideoFormats().get(0)) captureStream.start() while(! capturedImage) { Thread.sleep(100) } //end while captureStream.stop() captureStream.dispose() system.dispose() bimg = AWTImageConverter.toBufferedImage(capturedImage) return bimg This article is really helpful,recent, and is quite in depth for video capture http://ditra.cs.umu....FCapturing.html
Recommended Posts
This topic is 4908 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now