source: osm/applications/editors/josm/plugins/videomapping/test/videotest.java@ 30761

Last change on this file since 30761 was 28924, checked in by donvip, 12 years ago

[josm_videomapping] potential fix for #josm8190, update to vlcj 2.1.0 / jna 3.4.0, code cleanup

File size: 704 bytes
Line 
1
2import java.io.File;
3import java.text.SimpleDateFormat;
4
5import org.openstreetmap.josm.plugins.videomapping.video.VideoEngine;
6import org.openstreetmap.josm.plugins.videomapping.video.VideoPlayer;
7
8//simple app to test videoplayer alone
9public class videotest {
10 public static void main(String[] args) {
11 VideoEngine.setupPlayer();
12 VideoPlayer testplayer= new VideoPlayer(new SimpleDateFormat("hh:mm:ss"));
13 testplayer.setJumpLength(1000);
14 testplayer.setLoopLength(3000);
15 testplayer.addVideo(new File("C:\\TEMP\\test.mpg"),"1");
16 testplayer.addVideo(new File("C:\\TEMP\\aoe-drachen_dvdscr.avi"),"2");
17 testplayer.enableSingleVideoMode(true);
18 }
19}
Note: See TracBrowser for help on using the repository browser.