|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.meta.video.JMFLoader
public class JMFLoader
Helper class for working with JMF media.
Constructor Summary | |
---|---|
JMFLoader(javax.media.Processor processor)
Construct with a specific Processor. |
Method Summary | |
---|---|
void |
controllerUpdate(javax.media.ControllerEvent event)
|
javax.media.control.TrackControl |
getAudioTrack(java.io.File mediaResource)
Get a TrackControl for an audio track. |
javax.media.control.TrackControl |
getVideoTrackControl(java.io.File mediaResource)
Get a TrackControl for an video track. |
boolean |
waitForState(int state)
Block until the processor has transitioned to the given state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMFLoader(javax.media.Processor processor)
processor
- the processorMethod Detail |
---|
public void controllerUpdate(javax.media.ControllerEvent event)
controllerUpdate
in interface javax.media.ControllerListener
public boolean waitForState(int state)
state
- the state to wait for
public javax.media.control.TrackControl getVideoTrackControl(java.io.File mediaResource)
mediaResource
- the media resource
public javax.media.control.TrackControl getAudioTrack(java.io.File mediaResource)
mediaResource
- the media resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |