FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1041 : Movie Loop example w/ Java2D
Last modified: 2010-06-05 03:59
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P4
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Daniel Shiffman
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-11-22 22:54
Intermittent error happens with playing a movie, only noticed it in Java2D.
Using the loop example, got an error (NullPointer I think?) with:
image(myMovie, mouseX-myMovie.width/2, mouseY-myMovie.height/2);
if I use a boolean in movieEvent to determine that a frame is ready,
everything works a-ok.
void movieEvent(Movie myMovie) {
myMovie.read();
started = true;
}
if (started) {
image(myMovie, mouseX-myMovie.width/2, mouseY-myMovie.height/2);
}
Additional Comment
#1 From fry 2010-06-05 03:59
closing this bug, because we'll be replacing the current video library with
another sometime later this summer. as such, i won't be doing any more bug
fixes on the current video library. in the meantime, we recommend using
gsvideo, opencv, or one of the other video libraries that are available.