|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object processing.core.PImage processing.video.Movie
public class Movie
Field Summary | |
---|---|
quicktime.std.movies.Movie |
movie
The QuickTime for Java "Movie" object, made public in case anyone wants to play with it. |
Fields inherited from class processing.core.PImage |
---|
format, height, parent, pixels, width |
Constructor Summary | |
---|---|
Movie(PApplet parent,
java.lang.String filename)
|
|
Movie(PApplet parent,
java.lang.String filename,
int ifps)
|
Method Summary | |
---|---|
boolean |
available()
|
void |
dispose()
Call this to halt the movie from running, and stop its thread. |
float |
duration()
Get the full length of this movie (in seconds). |
void |
frameRate(int ifps)
Set how often new frames are to be read from the movie. |
void |
init(PApplet parent,
java.lang.String filename,
int fps)
|
void |
jump(float where)
Jump to a specific location (in seconds). |
void |
loop()
Begin playing the movie, with repeat. |
void |
noLoop()
Shut off the repeating loop. |
void |
pause()
Pause the movie at its current time. |
void |
play()
Begin playing the movie, with no repeat. |
void |
read()
|
void |
run()
|
void |
speed(float rate)
Set a multiplier for how fast/slow the movie should be run. |
void |
stop()
Stop the movie, and rewind. |
float |
time()
Return the current time in seconds. |
Methods inherited from class processing.core.PImage |
---|
blend, blend, blendColor, clone, copy, copy, filter, filter, get, get, get, getCache, getImage, init, isModified, loadPixels, mask, mask, removeCache, resize, save, set, set, setCache, setModified, setModified, updatePixels, updatePixels |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public quicktime.std.movies.Movie movie
Constructor Detail |
---|
public Movie(PApplet parent, java.lang.String filename)
public Movie(PApplet parent, java.lang.String filename, int ifps)
Method Detail |
---|
public void init(PApplet parent, java.lang.String filename, int fps)
public boolean available()
public void read()
public void play()
public void loop()
public void noLoop()
public void pause()
public void stop()
public void frameRate(int ifps)
public void speed(float rate)
public float time()
public void jump(float where)
public float duration()
public void run()
run
in interface java.lang.Runnable
public void dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |