view src/com/aurellem/capture/video/VideoRecorder.java @ 43:2f129118e2d6

removed old files and moved natives unpacking to the AudioRenderer
author Robert McIntyre <rlm@mit.edu>
date Wed, 30 Nov 2011 06:32:36 -0700
parents 784a3f4e6202
children 3dc1f15e1e13
line wrap: on
line source
1 package com.aurellem.capture.video;
3 import java.awt.image.BufferedImage;
5 public interface VideoRecorder{
7 /**
8 * Write this image to video, disk, etc.
9 * @param image the image to write
10 */
11 void record(BufferedImage image);
13 /**
14 * stop recording temporarally. The recording can be started again
15 * with start()
16 */
17 void pause();
19 /**
20 * start the recording.
21 */
22 void start();
24 /**
25 * closes the video file, writing appropriate headers, trailers, etc.
26 * After this is called, no more recording can be done.
27 */
28 void finish();
29 }