【求助】processing 运用了video函数,但是无法显示视频。。
processing吧
全部回复
仅看楼主
level 2
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
level 2
附上 有道翻译[委屈]
(java.exe:8356):GStreamer-CRITICAL * *:
试图处理元素的电影播放器,但它是在准备而不是零状态。
您需要显式地设置元素之前零状态
放弃最后的参考,让他们清理。
refcounting引起的这个问题也可能是错误的
应用程序或某个元素
2016年12月02日 03点12分 2
你好,我也有这个问题,请问你解决了么?
2017年01月18日 08点01分
1