Preload frame from video
in
Core Library Questions
•
1 year ago
Hello guys,
I've got a problem with a video library.
I make some program use processing 2.0b3, where I have to draw the first frame of the video file without start playing.
But I get this result here:
- import processing.video.*;
- Movie movie;
- void setup()
- {
- frameRate(30);
- size(400, 400);
- movie = new Movie(this, "movie.mp4");
- }
- void draw() {
- image(movie,30,30);
- }
- void movieEvent(Movie m)
- {
- m.read();
- }
How can I solve this problem? Help please :)
I use Windows 7 64bit
1