# HG changeset patch # User Robert McIntyre # Date 1322938120 21600 # Node ID 74b53dfe369e6046c5f2d30bc33464213a958f85 # Parent fc71e797f4fa0a65cd17c3da49b6ecd4b4585ad5 stressing similiarity between audio and video capture diff -r fc71e797f4fa -r 74b53dfe369e src/com/aurellem/capture/examples/HelloVideoRecording.java --- a/src/com/aurellem/capture/examples/HelloVideoRecording.java Sat Dec 03 12:47:05 2011 -0600 +++ b/src/com/aurellem/capture/examples/HelloVideoRecording.java Sat Dec 03 12:48:40 2011 -0600 @@ -5,18 +5,18 @@ import jme3test.helloworld.HelloLoop; +import com.aurellem.capture.Capture; import com.aurellem.capture.IsoTimer; -import com.aurellem.capture.Capture; -import com.jme3.app.SimpleApplication; +import com.jme3.app.Application; public class HelloVideoRecording { - public static void main(String[] ignore) throws IOException { - SimpleApplication app = new HelloLoop(); - File video = File.createTempFile("helloVideo", ".avi"); - app.setTimer(new IsoTimer(60)); - Capture.captureVideo(app, video); - app.start(); - System.out.println(video.getCanonicalPath()); - } + public static void main(String[] ignore) throws IOException { + Application app = new HelloLoop(); + File video = File.createTempFile("JME-simple-video", ".avi"); + app.setTimer(new IsoTimer(60)); + Capture.captureVideo(app, video); + app.start(); + System.out.println(video.getCanonicalPath()); + } }