 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
MediaLocator
ml = new MediaLocator ( "file://c:/sample.mpg" ) ;
|
|
try{
|
|
processor = Manager.createProcessor( ml
);
|
|
} catch (NoProcessorException npe ){System.out.println( npe );
|
|
} catch (IOException ioe) { System.out.println( ioe);
|
|
}
|
|
|
boolean result = waitForState(processor,
Processor.Configured);
|
config();
|
|
|
result = waitForState(processor,
Controller.Realized);
|
|
displayGUI();
|
|
|
processor.start();
|
|