August 19, 201114 yr Newbies 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
August 22, 201114 yr Unfortunately no. The screen capture feature no longer works -- for some unknown reason -- and has been removed from the plug-in.
August 24, 201114 yr 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
Create an account or sign in to comment