Mercurial > jmeCapture
annotate src/com/aurellem/capture/video/IVideoRecorder.java @ 10:4c5fc53778c1
moved randelshofer stuff to rightfull place, enabled XuggleVideoRecorder
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 26 Oct 2011 09:38:27 -0700 |
parents | 5dfc9e768816 |
children |
rev | line source |
---|---|
rlm@9 | 1 package com.aurellem.capture.video; |
rlm@9 | 2 |
rlm@9 | 3 import java.awt.image.BufferedImage; |
rlm@9 | 4 |
rlm@9 | 5 public interface IVideoRecorder{ |
rlm@9 | 6 |
rlm@9 | 7 void record(BufferedImage image); |
rlm@9 | 8 |
rlm@9 | 9 void pause(); |
rlm@9 | 10 |
rlm@9 | 11 void start(); |
rlm@9 | 12 |
rlm@9 | 13 /** |
rlm@9 | 14 * closes the video file, writing appropriate headers, trailers, etc. |
rlm@9 | 15 * After this is called, no more recording can be done. |
rlm@9 | 16 */ |
rlm@9 | 17 void finish(); |
rlm@9 | 18 |
rlm@9 | 19 } |
rlm@9 | 20 |
rlm@9 | 21 |