Contact Header Research Inside the Lab News Publications Contact
Covert Systems Biology Lab

FlashVideoCapture

Overview

This package provides a solution for converting flash animations to video. The package includes 1) a flex class for controlling the timeline of an animation and which supports a external interface to 2) a windows application written in C# for assembling screen shots of flash animations into video. The package is open source, and released under the MIT license.

Requirements for Windows Application

  1. .NET Framework 3.5 sp1 or higher
  2. Windows Installer 3.1 or higher
  3. ffmpeg

Installation of Windows Application

  1. Download, extract FlashVideoCapture archive
  2. Double click on FlashVideoCapture.application
  3. Install ffmpeg to c:\Program Files\ffmpeg\
  4. Add c:\Program Files\ffmpeg\bin to windows path

Incorporation of FlashVideoCapture External Interface into Flex Application

  1. 1. Incorporate time line manager (edu.stanford.covertlab.manager.TimeLineManager) into flex project
    1. Add instance of time line manager to flex project
    2. Bind animation to time property of time line manager - This will be linearly tweened across the length of the animation from 0 to timeMax/frameRate seconds
    3. Set timeMax, frameRate properties of time line manager
    4. Set time line manager to enabled
    5. When the time line manager becomes enabled it communicates with FlashVideoCapture through the flash player's external interface. Flex sends FlashVideoCapture the duration of the animation, the frame rate, and the bounds of the animation.
    6. When FlashVideoCapture receives communication from flash it enables the record button and sets the crop properties according to the bounds of the animation communicated by flex.
    7. When the user presses record, FlashVideoCapture captures the part of the screen within the animation bounds.
  2. (Optional) Incorporate time line control (edu.stanford.covertlab.controls.TimeLineControl) into flex project - Provides play/pause and stop buttons, navigation bar, and time labels

Documents

Third Party Software Used in This Release