level 2
浅浅的执念HY
楼主
import processing.video.*;
Movie myMovie;
void setup() {
size(500, 500);
myMovie = new Movie(this, "totoro.mov");
myMovie.loop();
}
void draw() {
tint(255, 20);
image(myMovie, 0, 0);
}
// Called every time a new frame is available to read
void movieEvent(Movie m) {
m.read();
}
视频已经放进相应的data文件夹
以下是那个错误提醒,小白表示不懂 求助各位大神
(java.exe:10364): GStreamer-CRITICAL **:
Trying to dispose element Movie Player, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
2016年12月02日 02点12分
1
Movie myMovie;
void setup() {
size(500, 500);
myMovie = new Movie(this, "totoro.mov");
myMovie.loop();
}
void draw() {
tint(255, 20);
image(myMovie, 0, 0);
}
// Called every time a new frame is available to read
void movieEvent(Movie m) {
m.read();
}
视频已经放进相应的data文件夹
以下是那个错误提醒,小白表示不懂 求助各位大神
(java.exe:10364): GStreamer-CRITICAL **:
Trying to dispose element Movie Player, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.