We are about to switch to a new forum software. Until then we have removed the registration on this forum.
import processing.video.*;
Movie movie;
void setup() {
size(320,240);
movie = new Movie(this, "cat.mov");
movie.loop();
}
void draw() {
if ( movie.available())
movie.read();
image(movie,0,0);
}
The file "cat.mov" is in the right position and program run but sketch don't display nothing. :(
Answers
Your window is small and your video might be large. Perhaps you are only seeing the top left corner of your video?
Try:
@TfGuy44 Thanks for your answer, I tried your solution but how you see to the image nothing has changed
@GoToLoop I've tried your solution but sketch doesn't run; maybe is because the OS is Ubuntu ..
The sketch don't run. But, @GoToLoop I've installed only processing on my pc, maybe I've not installed any libreries yet?
Probably I should install gstreamer?
Well, worth a try... But don't forget to test other Processing versions. Who knows? :-/
@GoToLoop sorry but I've accidentally delet your replay. I've tried other version but the problem persists. However I've install some package and now work! :)>-
When a post is marked as an "answer", it goes to the top of the page. It's not deleted!
It'd be nice if you tell us which package(s) got your issue fixed! ~O)
I've installed : gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse
gstreamer0.10-ffmpeg
But gstream0.10-ffmepg is not available for ubuntu 14.04 so I found this:
However I'm not sure which package have fixed my issue :-S