comparison src/com/aurellem/capture/video/XuggleVideoRecorder.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 8a6b1684f536
comparison
equal deleted inserted replaced
9:5dfc9e768816 10:4c5fc53778c1
1 package com.aurellem.capture.video; 1 package com.aurellem.capture.video;
2
3 import java.awt.image.BufferedImage;
4 import java.io.File;
5 import java.io.IOException;
6 import java.util.concurrent.TimeUnit;
7
8 import com.xuggle.mediatool.IMediaWriter;
9 import com.xuggle.mediatool.ToolFactory;
10 import com.xuggle.xuggler.IRational;
2 11
3 12
4 /** 13 /**
5 * Handles writing video files using Xuggle. 14 * Handles writing video files using Xuggle.
6 * 15 *
7 * 16 *
8 * @author Robert McIntyre 17 * @author Robert McIntyre
9 * 18 *
10 */ 19 */
11 /* 20
12 public class XuggleVideoRecorder extends AbstractVideoRecorder{ 21 public class XuggleVideoRecorder extends AbstractVideoRecorder{
13
14 22
15 IMediaWriter writer; 23 IMediaWriter writer;
16 BufferedImage frame; 24 BufferedImage frame;
17 int videoChannel = 0; 25 int videoChannel = 0;
18 long currentTimeStamp = 0; 26 long currentTimeStamp = 0;
48 writer.close(); 56 writer.close();
49 } 57 }
50 58
51 } 59 }
52 60
53 */ 61