Mercurial > jmeCapture
comparison src/com/aurellem/capture/Capture.java @ 71:2c50a0c99715
remove xuggle, since I will never use it.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 10 Mar 2014 18:54:35 -0400 |
parents | 302d5e9ad120 |
children | dd97f65f940c |
comparison
equal
deleted
inserted
replaced
68:302d5e9ad120 | 71:2c50a0c99715 |
---|---|
7 import com.aurellem.capture.audio.MultiListener; | 7 import com.aurellem.capture.audio.MultiListener; |
8 import com.aurellem.capture.audio.WaveFileWriter; | 8 import com.aurellem.capture.audio.WaveFileWriter; |
9 import com.aurellem.capture.video.AVIVideoRecorder; | 9 import com.aurellem.capture.video.AVIVideoRecorder; |
10 import com.aurellem.capture.video.AbstractVideoRecorder; | 10 import com.aurellem.capture.video.AbstractVideoRecorder; |
11 import com.aurellem.capture.video.FileVideoRecorder; | 11 import com.aurellem.capture.video.FileVideoRecorder; |
12 import com.aurellem.capture.video.XuggleVideoRecorder; | 12 //import com.aurellem.capture.video.XuggleVideoRecorder; |
13 import com.jme3.app.Application; | 13 import com.jme3.app.Application; |
14 import com.jme3.audio.AudioRenderer; | 14 import com.jme3.audio.AudioRenderer; |
15 import com.jme3.renderer.ViewPort; | 15 import com.jme3.renderer.ViewPort; |
16 import com.jme3.scene.Spatial; | 16 import com.jme3.scene.Spatial; |
17 import com.jme3.system.AppSettings; | 17 import com.jme3.system.AppSettings; |
91 if (file.getCanonicalPath().endsWith(".avi")){ | 91 if (file.getCanonicalPath().endsWith(".avi")){ |
92 videoRecorder = new AVIVideoRecorder(file);} | 92 videoRecorder = new AVIVideoRecorder(file);} |
93 else if (file.isDirectory()){ | 93 else if (file.isDirectory()){ |
94 videoRecorder = new FileVideoRecorder(file);} | 94 videoRecorder = new FileVideoRecorder(file);} |
95 else { | 95 else { |
96 videoRecorder = new XuggleVideoRecorder(file); | 96 //videoRecorder = new XuggleVideoRecorder(file); |
97 } | 97 } |
98 | 98 |
99 Callable<Object> thunk = new Callable<Object>(){ | 99 Callable<Object> thunk = new Callable<Object>(){ |
100 public Object call(){ | 100 public Object call(){ |
101 | 101 |