Mercurial > jmeCapture
view src/com/aurellem/capture/video/VideoRecorder.java @ 59:5afa49c5a7d3
adding wiki readme goodness
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Dec 2011 22:14:21 -0600 |
parents | 3dc1f15e1e13 |
children |
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 write10 */11 void record(BufferedImage image);13 /**14 * Stop recording temporarily. The recording can be started again15 * 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 }