Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Video capture, not just frame

Featured Replies

  • 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

Unfortunately no. The screen capture feature no longer works -- for some unknown reason -- and has been removed from the plug-in.

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.