Printable Version of this PageHome PageRecent ChangesSearchSign In
Tea Party

Adding people to Alice movies

You can capture a directory of JPEG frames from an Alice movie using the new MovieCapture.bat in Media Computation as shown in:
Capture an Alice movie as a series of JPEG images in a directory or if you are using Alice 2.2 you can also capture frames directly from Alice 2.2

Step 1: Export the video frames to a directory
In Alice 2.2 click on File and then on "Export Video"
exportVideo2.jpg
Alice will ask where you want to save the current world and then save the current world in that directory.
saveAs2.jpg
It will display the export video window. Click "Record" to start recording the frames and "Stop Recording" when you want to stop.
The video frames will be saved in a directory called "frames" in the same location that you saved the world.
record.jpg

Then you can use chromakey and copy a person onto the Alice frames.

You can create a Quicktime movie using the class MoviePlayer. Just click on the "Write Quicktime" or "Write AVI"
buttons. It will write the movie in the same directory as the frames.

If you run out of memory while processing movies increase the allowed amount in DrJava by clicking on Edit then Preferences. Click on Miscellaneous and enter -Xmx512m -Xms128m to set the max to 512 MB and the starting memory to 128MB.

Or if you are using the jdk use
java -Xmx512m -Xms128m ClassName

Here is an example movie:
TheBeachMovie.avi


frame0055.jpg

record.jpg

Last modified 7 March 2009 at 8:51 am by ericson